diff options
author | Alan Modra <amodra@gmail.com> | 2021-03-25 11:29:34 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-03-25 11:31:53 +1030 |
commit | 5a4037661bccd156d65093f1f0cf2cd43f31e9d9 (patch) | |
tree | a4203a0f41b58daf59af1ee424322281784b384a /gas/testsuite | |
parent | b73ebe34f4dbb5ea51ce3f0bf4fc609c3df7a01e (diff) | |
download | gdb-5a4037661bccd156d65093f1f0cf2cd43f31e9d9.zip gdb-5a4037661bccd156d65093f1f0cf2cd43f31e9d9.tar.gz gdb-5a4037661bccd156d65093f1f0cf2cd43f31e9d9.tar.bz2 |
PR27647 PowerPC extended conditional branch mnemonics
opcodes/
PR 27647
* ppc-opc.c (XLOCB_MASK): Delete.
(XLBOBB_MASK, XLBOBIBB_MASK, XLBOCBBB_MASK): Define using
XLBH_MASK.
(powerpc_opcodes): Accept a BH field on all extended forms of
bclr, bclrl, bcctr, bcctrl, bctar, bctarl.
gas/
PR 27647
* testsuite/gas/ppc/a2.d: Update expected output.
* testsuite/gas/ppc/power8.d: Likewise.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/gas/ppc/a2.d | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/power8.d | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/gas/testsuite/gas/ppc/a2.d b/gas/testsuite/gas/ppc/a2.d index 517ec1c..f6703f4 100644 --- a/gas/testsuite/gas/ppc/a2.d +++ b/gas/testsuite/gas/ppc/a2.d @@ -58,10 +58,10 @@ Disassembly of section \.text: .*: R_PPC(|64)_ADDR14 foo_abs .*: (40 e5 00 02|02 00 e5 40) blea\+ cr1,0 <start> .*: R_PPC(|64)_ADDR14 foo_abs -.*: (4c 86 0c 20|20 0c 86 4c) bcctr 4,4\*cr1\+eq,1 +.*: (4c 86 0c 20|20 0c 86 4c) bnectr cr1,1 .*: (4c c6 04 20|20 04 c6 4c) bnectr- cr1 .*: (4c e6 04 20|20 04 e6 4c) bnectr\+ cr1 -.*: (4c 86 0c 21|21 0c 86 4c) bcctrl 4,4\*cr1\+eq,1 +.*: (4c 86 0c 21|21 0c 86 4c) bnectrl cr1,1 .*: (4c c6 04 21|21 04 c6 4c) bnectrl- cr1 .*: (4c e6 04 21|21 04 e6 4c) bnectrl\+ cr1 .*: (40 8a 00 01|01 00 8a 40) bnel cr2,c0 <start\+0xc0> @@ -76,10 +76,10 @@ Disassembly of section \.text: .*: R_PPC(|64)_ADDR14 foo_abs .*: (40 e5 00 03|03 00 e5 40) blela\+ cr1,0 <start> .*: R_PPC(|64)_ADDR14 foo_abs -.*: (4c 86 08 20|20 08 86 4c) bclr 4,4\*cr1\+eq,1 +.*: (4c 86 08 20|20 08 86 4c) bnelr cr1,1 .*: (4c c6 00 20|20 00 c6 4c) bnelr- cr1 .*: (4c e6 00 20|20 00 e6 4c) bnelr\+ cr1 -.*: (4c 86 08 21|21 08 86 4c) bclrl 4,4\*cr1\+eq,1 +.*: (4c 86 08 21|21 08 86 4c) bnelrl cr1,1 .*: (4c c6 00 21|21 00 c6 4c) bnelrl- cr1 .*: (4c e6 00 21|21 00 e6 4c) bnelrl\+ cr1 .*: (48 00 00 00|00 00 00 48) b f0 <start\+0xf0> diff --git a/gas/testsuite/gas/ppc/power8.d b/gas/testsuite/gas/ppc/power8.d index df3f5d4..357daf4 100644 --- a/gas/testsuite/gas/ppc/power8.d +++ b/gas/testsuite/gas/ppc/power8.d @@ -34,8 +34,8 @@ Disassembly of section \.text: .*: (4c c7 04 61|61 04 c7 4c) bnstarl- cr1 .*: (4d ec 04 60|60 04 ec 4d) blttar\+ cr3 .*: (4c e2 04 61|61 04 e2 4c) bnetarl\+ -.*: (4c 88 0c 60|60 0c 88 4c) bctar 4,4\*cr2\+lt,1 -.*: (4c 87 14 61|61 14 87 4c) bctarl 4,4\*cr1\+so,2 +.*: (4c 88 0c 60|60 0c 88 4c) bgetar cr2,1 +.*: (4c 87 14 61|61 14 87 4c) bnstarl cr1,2 .*: (7c 00 00 3c|3c 00 00 7c) waitasec .*: (7c 00 41 1c|1c 41 00 7c) msgsndp r8 .*: (7c 20 01 26|26 01 20 7c) mtsle 1 @@ -306,10 +306,10 @@ Disassembly of section \.text: .*: (4d ea 04 61|61 04 ea 4d) beqtarl\+ cr2 .*: (4d 89 04 60|60 04 89 4d) bgttar cr2 .*: (4d 89 04 60|60 04 89 4d) bgttar cr2 -.*: (4d 89 1c 60|60 1c 89 4d) bctar 12,4\*cr2\+gt,3 +.*: (4d 89 1c 60|60 1c 89 4d) bgttar cr2,3 .*: (4d 89 04 61|61 04 89 4d) bgttarl cr2 .*: (4d 89 04 61|61 04 89 4d) bgttarl cr2 -.*: (4d 89 1c 61|61 1c 89 4d) bctarl 12,4\*cr2\+gt,3 +.*: (4d 89 1c 61|61 1c 89 4d) bgttarl cr2,3 .*: (7f 5a d3 78|78 d3 5a 7f) miso .*: (7f 5a d3 78|78 d3 5a 7f) miso #pass |