aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2011-10-06 09:22:58 +0000
committerJan Beulich <jbeulich@novell.com>2011-10-06 09:22:58 +0000
commit989993d80a97a66f24c22a34ae9f28d9cd7387ca (patch)
tree2728542978c1fe8ba53cb52467168081593fd354 /gas/testsuite
parent07c7ed6d7740dab37ec36a4a736bb2c550c99e86 (diff)
downloadgdb-989993d80a97a66f24c22a34ae9f28d9cd7387ca.zip
gdb-989993d80a97a66f24c22a34ae9f28d9cd7387ca.tar.gz
gdb-989993d80a97a66f24c22a34ae9f28d9cd7387ca.tar.bz2
gas/testsuite/
2011-09-28 Jan Beulich <jbeulich@suse.com> * gas/ppc/476.s: Fix lswi first operand. * gas/ppc/476.d: Adjust expected output. * gas/ppc/a2.s: Fix lswi first operand. * gas/ppc/a2.d: Adjust expected output. * gas/ppc/power6.s: Fix lfdpx first operand. * gas/ppc/power6.d: Adjust expected output. opcodes/ 2011-09-28 Jan Beulich <jbeulich@suse.com> * ppc-opc.c (insert_nbi, insert_rbx, FRAp, FRBp, FRSp, FRTp, NBI, RAX, RBX): New. (insert_bo, insert_boe): Reject bcctr with bit 2 in bo unset. (powerpc_opcodes): Use RAX for second and RBXC for third operand of lswx. Use NBI for third operand of lswi. Use FRTp for first operand of lfdp and lfdpx. Use FRSp for first operand of stfdp and stfdpx, and mark them as invalid on POWER7. Use FRTp, FRAp, and FRBp repsectively on DFP quad instructions.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog9
-rw-r--r--gas/testsuite/gas/ppc/476.d2
-rw-r--r--gas/testsuite/gas/ppc/476.s2
-rw-r--r--gas/testsuite/gas/ppc/a2.d2
-rw-r--r--gas/testsuite/gas/ppc/a2.s2
-rw-r--r--gas/testsuite/gas/ppc/power6.d2
-rw-r--r--gas/testsuite/gas/ppc/power6.s2
7 files changed, 15 insertions, 6 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 472036c..0ac479a 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,12 @@
+2011-09-28 Jan Beulich <jbeulich@suse.com>
+
+ * gas/ppc/476.s: Fix lswi first operand.
+ * gas/ppc/476.d: Adjust expected output.
+ * gas/ppc/a2.s: Fix lswi first operand.
+ * gas/ppc/a2.d: Adjust expected output.
+ * gas/ppc/power6.s: Fix lfdpx first operand.
+ * gas/ppc/power6.d: Adjust expected output.
+
2011-09-28 Kai Tietz <ktietz@redhat.com>
* gas/pe/section-exclude.d: Correct testcase.
diff --git a/gas/testsuite/gas/ppc/476.d b/gas/testsuite/gas/ppc/476.d
index 7d131f9..06ced90 100644
--- a/gas/testsuite/gas/ppc/476.d
+++ b/gas/testsuite/gas/ppc/476.d
@@ -234,7 +234,7 @@ Disassembly of section \.text:
380: 7e 96 c2 6e lhzux r20,r22,r24
384: 7e f8 ca 2e lhzx r23,r24,r25
388: b8 61 ff f0 lmw r3,-16\(r1\)
- 38c: 7c 64 84 aa lswi r3,r4,16
+ 38c: 7c a4 84 aa lswi r5,r4,16
390: 7c 64 2c 2a lswx r3,r4,r5
394: 7c 64 28 28 lwarx r3,r4,r5
398: 7c 64 28 28 lwarx r3,r4,r5
diff --git a/gas/testsuite/gas/ppc/476.s b/gas/testsuite/gas/ppc/476.s
index bd61bd2..c075efb 100644
--- a/gas/testsuite/gas/ppc/476.s
+++ b/gas/testsuite/gas/ppc/476.s
@@ -227,7 +227,7 @@ ppc476:
lhzux 20,22,24
lhzx 23,24,25
lmw 3,-16(1)
- lswi 3,4,16
+ lswi 5,4,16
lswx 3,4,5
lwarx 3,4,5
lwarx 3,4,5,0
diff --git a/gas/testsuite/gas/ppc/a2.d b/gas/testsuite/gas/ppc/a2.d
index d4be915..89810dd 100644
--- a/gas/testsuite/gas/ppc/a2.d
+++ b/gas/testsuite/gas/ppc/a2.d
@@ -322,7 +322,7 @@ Disassembly of section \.text:
498: 7d 4b 62 2e lhzx r10,r11,r12
49c: ba 8a 00 10 lmw r20,16\(r10\)
4a0: 7d 4b 0c aa lswi r10,r11,1
- 4a4: 7d 4b 04 aa lswi r10,r11,32
+ 4a4: 7d 8b 04 aa lswi r12,r11,32
4a8: 7d 4b 64 2a lswx r10,r11,r12
4ac: e9 4b ff fe lwa r10,-4\(r11\)
4b0: e9 4b 00 06 lwa r10,4\(r11\)
diff --git a/gas/testsuite/gas/ppc/a2.s b/gas/testsuite/gas/ppc/a2.s
index fcc2e4d..9ab0024 100644
--- a/gas/testsuite/gas/ppc/a2.s
+++ b/gas/testsuite/gas/ppc/a2.s
@@ -297,7 +297,7 @@ start:
lhzx 10,11,12
lmw 20,16(10)
lswi 10,11,1
- lswi 10,11,32
+ lswi 12,11,32
lswx 10,11,12
lwa 10,-4(11)
lwa 10,4(11)
diff --git a/gas/testsuite/gas/ppc/power6.d b/gas/testsuite/gas/ppc/power6.d
index bf75982..76ed7c7 100644
--- a/gas/testsuite/gas/ppc/power6.d
+++ b/gas/testsuite/gas/ppc/power6.d
@@ -19,7 +19,7 @@ Disassembly of section \.text:
24: 7c c0 3c be mffgpr f6,r7
28: 7d 00 4d be mftgpr r8,f9
2c: 7d 4b 66 2a lwzcix r10,r11,r12
- 30: 7d ae 7e 2e lfdpx f13,r14,r15
+ 30: 7d 8e 7e 2e lfdpx f12,r14,r15
34: ee 11 90 04 dadd f16,f17,f18
38: fe 96 c0 04 daddq f20,f22,f24
3c: 7c 60 06 6c dss 3
diff --git a/gas/testsuite/gas/ppc/power6.s b/gas/testsuite/gas/ppc/power6.s
index 106468f..b84987d 100644
--- a/gas/testsuite/gas/ppc/power6.s
+++ b/gas/testsuite/gas/ppc/power6.s
@@ -14,7 +14,7 @@ start:
mffgpr 6,7
mftgpr 8,9
lwzcix 10,11,12
- lfdpx 13,14,15
+ lfdpx 12,14,15
dadd 16,17,18
daddq 20,22,24
dss 3