diff options
author | Peter Bergner <bergner@vnet.ibm.com> | 2016-05-13 15:15:00 -0500 |
---|---|---|
committer | Peter Bergner <bergner@vnet.ibm.com> | 2016-05-13 15:15:00 -0500 |
commit | 1178da445ad5faf37f9cc2be3aaa69d916f10f62 (patch) | |
tree | a71836acc91a897b3c6256b1571e6db3195a89ab /gas/testsuite | |
parent | 2168b2688ae343a61c467450068503295a5e3deb (diff) | |
download | gdb-1178da445ad5faf37f9cc2be3aaa69d916f10f62.zip gdb-1178da445ad5faf37f9cc2be3aaa69d916f10f62.tar.gz gdb-1178da445ad5faf37f9cc2be3aaa69d916f10f62.tar.bz2 |
Accept valid one byte signed and unsigned values for the IMM8 operand.
opcodes/
* ppc-opc.c (IMM8): Use PPC_OPERAND_SIGNOPT.
gas/
* testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
* testsuite/gas/ppc/power9.s: Likewise.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/gas/ppc/power9.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/power9.s | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gas/testsuite/gas/ppc/power9.d b/gas/testsuite/gas/ppc/power9.d index 2e5593d..d84e635 100644 --- a/gas/testsuite/gas/ppc/power9.d +++ b/gas/testsuite/gas/ppc/power9.d @@ -140,6 +140,8 @@ Disassembly of section \.text: .*: (f0 80 2a 94|94 2a 80 f0) xxextractuw vs4,vs5,0 .*: (f1 0f 92 97|97 92 0f f1) xxextractuw vs40,vs50,15 .*: (f0 80 02 d0|d0 02 80 f0) xxspltib vs4,0 +.*: (f0 80 02 d0|d0 02 80 f0) xxspltib vs4,0 +.*: (f1 27 fa d1|d1 fa 27 f1) xxspltib vs41,255 .*: (f1 27 fa d1|d1 fa 27 f1) xxspltib vs41,255 .*: (f0 a0 32 d4|d4 32 a0 f0) xxinsertw vs5,vs6,0 .*: (f2 4f e2 d7|d7 e2 4f f2) xxinsertw vs50,vs60,15 diff --git a/gas/testsuite/gas/ppc/power9.s b/gas/testsuite/gas/ppc/power9.s index 6ee49d4..9cf306c 100644 --- a/gas/testsuite/gas/ppc/power9.s +++ b/gas/testsuite/gas/ppc/power9.s @@ -131,7 +131,9 @@ power9: xxextractuw 4,5,0x0 xxextractuw 40,50,0xf xxspltib 4,0x0 + xxspltib 4,-256 xxspltib 41,255 + xxspltib 41,-1 xxinsertw 5,6,0 xxinsertw 50,60,0xf xxbrh 6,7 |