aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorDmitry Selyutin <ghostmansd@gmail.com>2022-05-24 13:46:35 +0000
committerAlan Modra <amodra@gmail.com>2022-05-25 12:13:44 +0930
commitdd4832bf3efc1bd1797a6b9188260692b8b0db52 (patch)
tree385e50c4a1bcd67d1f55570319e5eb496b2bd2bb /gas/testsuite
parent8e5eb8e1b0cb2a408008a3e40e571f193917dcc8 (diff)
downloadgdb-dd4832bf3efc1bd1797a6b9188260692b8b0db52.zip
gdb-dd4832bf3efc1bd1797a6b9188260692b8b0db52.tar.gz
gdb-dd4832bf3efc1bd1797a6b9188260692b8b0db52.tar.bz2
opcodes: introduce BC field; fix isel
Per Power ISA Version 3.1B 3.3.12, isel uses BC field rather than CRB field present in binutils sources. Also, per 1.6.2, BC has the same semantics as BA and BB fields, so this should keep the same flags and mask, only with the different offset. opcodes/ * ppc-opc.c (BC): Define new field, with the same definition as CRB field, but with the PPC_OPERAND_CR_BIT flag present. gas/ * testsuite/gas/ppc/476.d: Update. * testsuite/gas/ppc/a2.d: Update. * testsuite/gas/ppc/e500.d: Update. * testsuite/gas/ppc/power7.d: Update.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/gas/ppc/476.d2
-rw-r--r--gas/testsuite/gas/ppc/a2.d2
-rw-r--r--gas/testsuite/gas/ppc/e500.d2
-rw-r--r--gas/testsuite/gas/ppc/power7.d2
4 files changed, 4 insertions, 4 deletions
diff --git a/gas/testsuite/gas/ppc/476.d b/gas/testsuite/gas/ppc/476.d
index 70ea88d..e198b98 100644
--- a/gas/testsuite/gas/ppc/476.d
+++ b/gas/testsuite/gas/ppc/476.d
@@ -209,7 +209,7 @@ Disassembly of section \.text:
.*: (7c 20 07 8c|8c 07 20 7c) ici 1
.*: (7c 03 27 cc|cc 27 03 7c) icread r3,r4
.*: (50 83 65 36|36 65 83 50) rlwimi r3,r4,12,20,27
-.*: (7c 43 27 1e|1e 27 43 7c) isel r2,r3,r4,28
+.*: (7c 43 27 1e|1e 27 43 7c) isel r2,r3,r4,4\*cr7\+lt
.*: (4c 00 01 2c|2c 01 00 4c) isync
.*: (89 21 00 00|00 00 21 89) lbz r9,0\(r1\)
.*: (8d 41 00 01|01 00 41 8d) lbzu r10,1\(r1\)
diff --git a/gas/testsuite/gas/ppc/a2.d b/gas/testsuite/gas/ppc/a2.d
index f6703f4..27de396 100644
--- a/gas/testsuite/gas/ppc/a2.d
+++ b/gas/testsuite/gas/ppc/a2.d
@@ -274,7 +274,7 @@ Disassembly of section \.text:
.*: (7d 40 07 8c|8c 07 40 7d) ici 10
.*: (7d 4b 63 2d|2d 63 4b 7d) icswx\. r10,r11,r12
.*: (7d 4b 63 2c|2c 63 4b 7d) icswx r10,r11,r12
-.*: (7d 4b 65 de|de 65 4b 7d) isel r10,r11,r12,23
+.*: (7d 4b 65 de|de 65 4b 7d) isel r10,r11,r12,4\*cr5\+so
.*: (4c 00 01 2c|2c 01 00 4c) isync
.*: (7d 4b 60 be|be 60 4b 7d) lbepx r10,r11,r12
.*: (89 4b ff ef|ef ff 4b 89) lbz r10,-17\(r11\)
diff --git a/gas/testsuite/gas/ppc/e500.d b/gas/testsuite/gas/ppc/e500.d
index a7ad051..fb8a31d 100644
--- a/gas/testsuite/gas/ppc/e500.d
+++ b/gas/testsuite/gas/ppc/e500.d
@@ -7,7 +7,7 @@
Disassembly of section \.text:
0+0000000 <start>:
- 0: (7c 43 25 de|de 25 43 7c) isel r2,r3,r4,23
+ 0: (7c 43 25 de|de 25 43 7c) isel r2,r3,r4,4\*cr5\+so
4: (7c 85 33 0c|0c 33 85 7c) dcblc 4,r5,r6
8: (7c e8 49 4c|4c 49 e8 7c) dcbtls 7,r8,r9
c: (7d 4b 61 0c|0c 61 4b 7d) dcbtstls 10,r11,r12
diff --git a/gas/testsuite/gas/ppc/power7.d b/gas/testsuite/gas/ppc/power7.d
index bb8d87f..3b54eb8 100644
--- a/gas/testsuite/gas/ppc/power7.d
+++ b/gas/testsuite/gas/ppc/power7.d
@@ -92,7 +92,7 @@ Disassembly of section \.text:
.*: (fd c0 78 35|35 78 c0 fd) frsqrte\. f14,f15
.*: (ed c0 78 34|34 78 c0 ed) frsqrtes f14,f15
.*: (ed c0 78 35|35 78 c0 ed) frsqrtes\. f14,f15
-.*: (7c 43 27 1e|1e 27 43 7c) isel r2,r3,r4,28
+.*: (7c 43 27 1e|1e 27 43 7c) isel r2,r3,r4,4\*cr7\+lt
.*: (7f 7b db 78|78 db 7b 7f) yield
.*: (7f 7b db 78|78 db 7b 7f) yield
.*: (60 42 00 00|00 00 42 60) ori r2,r2,0