aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-07-03 10:56:26 +0930
committerAlan Modra <amodra@gmail.com>2015-07-03 10:57:14 +0930
commitef5a96d564a22a25d31533c7377eede42c12b25c (patch)
tree20adcee43bd42f02a86d09137df073cce8d9b5fe /gas/testsuite
parent1b485e67784d7b4c212a936edc79f43bdd7d09cd (diff)
downloadgdb-ef5a96d564a22a25d31533c7377eede42c12b25c.zip
gdb-ef5a96d564a22a25d31533c7377eede42c12b25c.tar.gz
gdb-ef5a96d564a22a25d31533c7377eede42c12b25c.tar.bz2
Remove ppc860, ppc750cl, ppc7450 insns from common ppc.
Back in the day support for these processors was added, we probably didn't want to waste PPC_OPCODE bits on minor variations. I've had a complaint that disassembly of mfspr/mtspr was wrong for power8. This patch fixes that problem. Note that since -m860/-m850/-m821 are new gas options enabling the mpc8xx specific mfspr/mtspr variants it is possible that this change will break some mpc8xx assembly code. ie. you might need to modify makefiles to pass -m860 to gas. include/opcode/ * ppc.h (PPC_OPCODE_750, PPC_OPCODE_7450, PPC_OPCODE_860): Define. opcodes/ * ppc-opc.c (PPC750, PPC7450, PPC860): Define using PPC_OPCODE_*. * ppc-dis.c (ppc_opts): Add 821, 850 and 860 entries. Add PPC_OPCODE_7450 to 7450 entry. Add PPC_OPCODE_750 to 750cl entry. gas/ * config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860. * doc/c-ppc.texi (PowerPC-Opts): Likewise. gas/testsuite/ * gas/ppc/titan.d: Correct mfmcsrr0 disassembly.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/ppc/titan.d4
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 210a0d1..a045c85 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2015-07-03 Alan Modra <alan@squeak.grove.modra.org>
+
+ * gas/ppc/titan.d: Correct mfmcsrr0 disassembly.
+
2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
Cesar Philippidis <cesar@codesourcery.com>
diff --git a/gas/testsuite/gas/ppc/titan.d b/gas/testsuite/gas/ppc/titan.d
index 45c41bb..e54715a 100644
--- a/gas/testsuite/gas/ppc/titan.d
+++ b/gas/testsuite/gas/ppc/titan.d
@@ -229,8 +229,8 @@ Disassembly of section \.text:
36c: (7c 9f 62 a6|a6 62 9f 7c) mfivor15 r4
370: (7c 93 82 a6|a6 82 93 7c) mfivor35 r4
374: (7c 93 82 a6|a6 82 93 7c) mfivor35 r4
- 378: (7c 9a 8a a6|a6 8a 9a 7c) mfdc_dat r4
- 37c: (7c 9a 8a a6|a6 8a 9a 7c) mfdc_dat r4
+ 378: (7c 9a 8a a6|a6 8a 9a 7c) mfmcsrr0 r4
+ 37c: (7c 9a 8a a6|a6 8a 9a 7c) mfmcsrr0 r4
380: (7c 9b 8a a6|a6 8a 9b 7c) mfmcsrr1 r4
384: (7c 9b 8a a6|a6 8a 9b 7c) mfmcsrr1 r4
388: (7c 9c 8a a6|a6 8a 9c 7c) mfmcsr r4