From 5a4037661bccd156d65093f1f0cf2cd43f31e9d9 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 25 Mar 2021 11:29:34 +1030 Subject: 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. --- gas/testsuite/gas/ppc/a2.d | 8 ++++---- gas/testsuite/gas/ppc/power8.d | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'gas/testsuite') 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 .*: 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 @@ -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 .*: 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 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 -- cgit v1.1