aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2003-10-10 19:31:18 +0000
committerDave Brolley <brolley@redhat.com>2003-10-10 19:31:18 +0000
commit79ff22bb11f71d8c928c6f97faedb31018660d63 (patch)
tree91294eeb9557a327ea795972d6b72a244cf7c551
parent5ca353c3d997c41c5150b277c08a6644b3eb2798 (diff)
downloadgdb-79ff22bb11f71d8c928c6f97faedb31018660d63.zip
gdb-79ff22bb11f71d8c928c6f97faedb31018660d63.tar.gz
gdb-79ff22bb11f71d8c928c6f97faedb31018660d63.tar.bz2
2003-10-10 Dave Brolley <brolley@redhat.com>
* gas/frv/allinsn.s: Use preoperly aligned registers. * gas/frv/allinsn.d: Update expected results.
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/frv/allinsn.d48
-rw-r--r--gas/testsuite/gas/frv/allinsn.s48
3 files changed, 53 insertions, 48 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 2493349..1fde74d 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-10 Dave Brolley <brolley@redhat.com>
+
+ * gas/frv/allinsn.s: Use preoperly aligned registers.
+ * gas/frv/allinsn.d: Update expected results.
+
2003-10-08 Chris Demetriou <cgd@broadcom.com>
* lib/gas-defs.exp (gas_run): Always log the command being run.
diff --git a/gas/testsuite/gas/frv/allinsn.d b/gas/testsuite/gas/frv/allinsn.d
index b6f168d..5ff96af 100644
--- a/gas/testsuite/gas/frv/allinsn.d
+++ b/gas/testsuite/gas/frv/allinsn.d
@@ -37,10 +37,10 @@ Disassembly of section .text:
24: 82 04 13 c1 nudiv sp,sp,sp
00000028 <smul>:
- 28: 82 00 12 01 smul sp,sp,sp
+ 28: 84 00 22 02 smul fp,fp,fp
0000002c <umul>:
- 2c: 82 00 12 81 umul sp,sp,sp
+ 2c: 84 00 22 82 umul fp,fp,fp
00000030 <sll>:
30: 82 04 12 01 sll sp,sp,sp
@@ -76,7 +76,7 @@ Disassembly of section .text:
58: 83 68 00 c1 cnot sp,sp,cc0,0x0
0000005c <csmul>:
- 5c: 83 60 10 81 csmul sp,sp,sp,cc0,0x0
+ 5c: 85 60 20 82 csmul fp,fp,fp,cc0,0x0
00000060 <csdiv>:
60: 83 60 10 c1 csdiv sp,sp,sp,cc0,0x0
@@ -118,10 +118,10 @@ Disassembly of section .text:
90: 82 04 13 41 sracc sp,sp,sp,icc0
00000094 <smulcc>:
- 94: 82 00 12 41 smulcc sp,sp,sp,icc0
+ 94: 84 00 22 42 smulcc fp,fp,fp,icc0
00000098 <umulcc>:
- 98: 82 00 12 c1 umulcc sp,sp,sp,icc0
+ 98: 84 00 22 c2 umulcc fp,fp,fp,icc0
0000009c <caddcc>:
9c: 83 64 10 01 caddcc sp,sp,sp,cc0,0x0
@@ -130,7 +130,7 @@ Disassembly of section .text:
a0: 83 64 10 41 csubcc sp,sp,sp,cc0,0x0
000000a4 <csmulcc>:
- a4: 83 64 10 81 csmulcc sp,sp,sp,cc0,0x0
+ a4: 85 64 20 82 csmulcc fp,fp,fp,cc0,0x0
000000a8 <candcc>:
a8: 83 6c 10 01 candcc sp,sp,sp,cc0,0x0
@@ -190,10 +190,10 @@ Disassembly of section .text:
f0: 82 bc 10 00 nudivi sp,0,sp
000000f4 <smuli>:
- f4: 82 60 10 00 smuli sp,0,sp
+ f4: 84 60 20 00 smuli fp,0,fp
000000f8 <umuli>:
- f8: 82 68 10 00 umuli sp,0,sp
+ f8: 84 68 20 00 umuli fp,0,fp
000000fc <slli>:
fc: 82 a0 10 00 slli sp,0,sp
@@ -223,10 +223,10 @@ Disassembly of section .text:
11c: 82 94 10 00 xoricc sp,0,sp,icc0
00000120 <smulicc>:
- 120: 82 64 10 00 smulicc sp,0,sp,icc0
+ 120: 84 64 20 00 smulicc fp,0,fp,icc0
00000124 <umulicc>:
- 124: 82 6c 10 00 umulicc sp,0,sp,icc0
+ 124: 84 6c 20 00 umulicc fp,0,fp,icc0
00000128 <sllicc>:
128: 82 a4 10 00 sllicc sp,0,sp,icc0
@@ -310,7 +310,7 @@ Disassembly of section .text:
190: 80 08 1a 81 nldf @\(sp,sp\),fr0
00000194 <ldd>:
- 194: 82 08 11 41 ldd @\(sp,sp\),sp
+ 194: 84 08 11 41 ldd @\(sp,sp\),fp
00000198 <lddf>:
198: 80 08 12 c1 lddf @\(sp,sp\),fr0
@@ -319,7 +319,7 @@ Disassembly of section .text:
19c: 80 08 13 81 lddc @\(sp,sp\),cpr0
000001a0 <nldd>:
- 1a0: 82 08 19 41 nldd @\(sp,sp\),sp
+ 1a0: 84 08 19 41 nldd @\(sp,sp\),fp
000001a4 <nlddf>:
1a4: 80 08 1a c1 nlddf @\(sp,sp\),fr0
@@ -391,10 +391,10 @@ Disassembly of section .text:
1fc: 80 08 1e 81 nldfu @\(sp,sp\),fr0
00000200 <lddu>:
- 200: 82 08 15 41 lddu @\(sp,sp\),sp
+ 200: 84 08 15 41 lddu @\(sp,sp\),fp
00000204 <nlddu>:
- 204: 82 08 1d 41 nlddu @\(sp,sp\),sp
+ 204: 84 08 1d 41 nlddu @\(sp,sp\),fp
00000208 <lddfu>:
208: 80 08 16 c1 lddfu @\(sp,sp\),fr0
@@ -469,13 +469,13 @@ Disassembly of section .text:
264: 81 28 10 00 nldfi @\(sp,0\),fr0
00000268 <lddi>:
- 268: 82 cc 10 00 lddi @\(sp,0\),sp
+ 268: 84 cc 10 00 lddi @\(sp,0\),fp
0000026c <lddfi>:
26c: 80 ec 10 00 lddfi @\(sp,0\),fr0
00000270 <nlddi>:
- 270: 83 14 10 00 nlddi @\(sp,0\),sp
+ 270: 85 14 10 00 nlddi @\(sp,0\),fp
00000274 <nlddfi>:
274: 81 2c 10 00 nlddfi @\(sp,0\),fr0
@@ -532,7 +532,7 @@ Disassembly of section .text:
2b8: 80 0c 1a 81 rstf fr0,@\(sp,sp\)
000002bc <std>:
- 2bc: 82 0c 10 c1 std sp,@\(sp,sp\)
+ 2bc: 84 0c 10 c1 std fp,@\(sp,sp\)
000002c0 <stdf>:
2c0: 80 0c 12 c1 stdf fr0,@\(sp,sp\)
@@ -541,7 +541,7 @@ Disassembly of section .text:
2c4: 80 0c 19 81 stdc cpr0,@\(sp,sp\)
000002c8 <rstd>:
- 2c8: 82 0c 18 c1 rstd sp,@\(sp,sp\)
+ 2c8: 84 0c 18 c1 rstd fp,@\(sp,sp\)
000002cc <rstdf>:
2cc: 80 0c 1a c1 rstdf fr0,@\(sp,sp\)
@@ -583,7 +583,7 @@ Disassembly of section .text:
2fc: 80 0c 1b 41 stcu cpr0,@\(sp,sp\)
00000300 <stdu>:
- 300: 82 0c 14 c1 stdu sp,@\(sp,sp\)
+ 300: 84 0c 14 c1 stdu fp,@\(sp,sp\)
00000304 <stdfu>:
304: 80 0c 16 c1 stdfu fr0,@\(sp,sp\)
@@ -625,7 +625,7 @@ Disassembly of section .text:
334: 81 80 10 81 cldf @\(sp,sp\),fr0,cc0,0x0
00000338 <cldd>:
- 338: 83 7c 10 41 cldd @\(sp,sp\),sp,cc0,0x0
+ 338: 85 7c 10 41 cldd @\(sp,sp\),fp,cc0,0x0
0000033c <clddf>:
33c: 81 80 10 c1 clddf @\(sp,sp\),fr0,cc0,0x0
@@ -658,7 +658,7 @@ Disassembly of section .text:
360: 81 8c 10 81 cldfu @\(sp,sp\),fr0,cc0,0x0
00000364 <clddu>:
- 364: 83 88 10 41 clddu @\(sp,sp\),sp,cc0,0x0
+ 364: 85 88 10 41 clddu @\(sp,sp\),fp,cc0,0x0
00000368 <clddfu>:
368: 81 8c 10 c1 clddfu @\(sp,sp\),fr0,cc0,0x0
@@ -685,7 +685,7 @@ Disassembly of section .text:
384: 81 98 10 81 cstf fr0,@\(sp,sp\),cc0,0x0
00000388 <cstd>:
- 388: 83 90 10 c1 cstd sp,@\(sp,sp\),cc0,0x0
+ 388: 85 90 10 c1 cstd fp,@\(sp,sp\),cc0,0x0
0000038c <cstdf>:
38c: 81 98 10 c1 cstdf fr0,@\(sp,sp\),cc0,0x0
@@ -712,7 +712,7 @@ Disassembly of section .text:
3a8: 81 a0 10 81 cstfu fr0,@\(sp,sp\),cc0,0x0
000003ac <cstdu>:
- 3ac: 83 9c 10 c1 cstdu sp,@\(sp,sp\),cc0,0x0
+ 3ac: 85 9c 10 c1 cstdu fp,@\(sp,sp\),cc0,0x0
000003b0 <cstdfu>:
3b0: 81 a0 10 c1 cstdfu fr0,@\(sp,sp\),cc0,0x0
@@ -736,7 +736,7 @@ Disassembly of section .text:
3c8: 81 54 10 00 stfi fr0,@\(sp,0\)
000003cc <stdi>:
- 3cc: 83 4c 10 00 stdi sp,@\(sp,0\)
+ 3cc: 85 4c 10 00 stdi fp,@\(sp,0\)
000003d0 <stdfi>:
3d0: 81 58 10 00 stdfi fr0,@\(sp,0\)
diff --git a/gas/testsuite/gas/frv/allinsn.s b/gas/testsuite/gas/frv/allinsn.s
index 3cb65d9..66aed2b 100644
--- a/gas/testsuite/gas/frv/allinsn.s
+++ b/gas/testsuite/gas/frv/allinsn.s
@@ -45,11 +45,11 @@ nudiv:
.text
.global smul
smul:
- smul sp,sp,sp
+ smul fp,fp,fp
.text
.global umul
umul:
- umul sp,sp,sp
+ umul fp,fp,fp
.text
.global sll
sll:
@@ -97,7 +97,7 @@ cnot:
.text
.global csmul
csmul:
- csmul sp,sp,sp,cc0,0
+ csmul fp,fp,fp,cc0,0
.text
.global csdiv
csdiv:
@@ -153,11 +153,11 @@ sracc:
.text
.global smulcc
smulcc:
- smulcc sp,sp,sp,icc0
+ smulcc fp,fp,fp,icc0
.text
.global umulcc
umulcc:
- umulcc sp,sp,sp,icc0
+ umulcc fp,fp,fp,icc0
.text
.global caddcc
caddcc:
@@ -169,7 +169,7 @@ csubcc:
.text
.global csmulcc
csmulcc:
- csmulcc sp,sp,sp,cc0,0
+ csmulcc fp,fp,fp,cc0,0
.text
.global candcc
candcc:
@@ -249,11 +249,11 @@ nudivi:
.text
.global smuli
smuli:
- smuli sp,0,sp
+ smuli fp,0,fp
.text
.global umuli
umuli:
- umuli sp,0,sp
+ umuli fp,0,fp
.text
.global slli
slli:
@@ -293,11 +293,11 @@ xoricc:
.text
.global smulicc
smulicc:
- smulicc sp,0,sp,icc0
+ smulicc fp,0,fp,icc0
.text
.global umulicc
umulicc:
- umulicc sp,0,sp,icc0
+ umulicc fp,0,fp,icc0
.text
.global sllicc
sllicc:
@@ -409,7 +409,7 @@ nldf:
.text
.global ldd
ldd:
- ldd @(sp,sp),sp
+ ldd @(sp,sp),fp
.text
.global lddf
lddf:
@@ -421,7 +421,7 @@ lddc:
.text
.global nldd
nldd:
- nldd @(sp,sp),sp
+ nldd @(sp,sp),fp
.text
.global nlddf
nlddf:
@@ -517,11 +517,11 @@ nldfu:
.text
.global lddu
lddu:
- lddu @(sp,sp),sp
+ lddu @(sp,sp),fp
.text
.global nlddu
nlddu:
- nlddu @(sp,sp),sp
+ nlddu @(sp,sp),fp
.text
.global lddfu
lddfu:
@@ -621,7 +621,7 @@ nldfi:
.text
.global lddi
lddi:
- lddi @(sp,0),sp
+ lddi @(sp,0),fp
.text
.global lddfi
lddfi:
@@ -629,7 +629,7 @@ lddfi:
.text
.global nlddi
nlddi:
- nlddi @(sp,0),sp
+ nlddi @(sp,0),fp
.text
.global nlddfi
nlddfi:
@@ -705,7 +705,7 @@ rstf:
.text
.global std
std:
- std sp,@(sp,sp)
+ std fp,@(sp,sp)
.text
.global stdf
stdf:
@@ -717,7 +717,7 @@ stdc:
.text
.global rstd
rstd:
- rstd sp,@(sp,sp)
+ rstd fp,@(sp,sp)
.text
.global rstdf
rstdf:
@@ -773,7 +773,7 @@ stcu:
.text
.global stdu
stdu:
- stdu sp,@(sp,sp)
+ stdu fp,@(sp,sp)
.text
.global stdfu
stdfu:
@@ -829,7 +829,7 @@ cldf:
.text
.global cldd
cldd:
- cldd @(sp,sp),sp,cc0,0
+ cldd @(sp,sp),fp,cc0,0
.text
.global clddf
clddf:
@@ -873,7 +873,7 @@ cldfu:
.text
.global clddu
clddu:
- clddu @(sp,sp),sp,cc0,0
+ clddu @(sp,sp),fp,cc0,0
.text
.global clddfu
clddfu:
@@ -909,7 +909,7 @@ cstf:
.text
.global cstd
cstd:
- cstd sp,@(sp,sp),cc0,0
+ cstd fp,@(sp,sp),cc0,0
.text
.global cstdf
cstdf:
@@ -945,7 +945,7 @@ cstfu:
.text
.global cstdu
cstdu:
- cstdu sp,@(sp,sp),cc0,0
+ cstdu fp,@(sp,sp),cc0,0
.text
.global cstdfu
cstdfu:
@@ -977,7 +977,7 @@ stfi:
.text
.global stdi
stdi:
- stdi sp,@(sp,0)
+ stdi fp,@(sp,0)
.text
.global stdfi
stdfi: