diff options
author | Nick Clifton <nickc@redhat.com> | 2013-03-28 09:25:11 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-03-28 09:25:11 +0000 |
commit | e21e1a519694011420e3c255d6278abb0b4a209e (patch) | |
tree | 9d336198906e6f4e52289469f0f43024232a2d73 /gas | |
parent | f95f8542c5a620ce660bf9cccfd3c38f4e62722c (diff) | |
download | gdb-e21e1a519694011420e3c255d6278abb0b4a209e.zip gdb-e21e1a519694011420e3c255d6278abb0b4a209e.tar.gz gdb-e21e1a519694011420e3c255d6278abb0b4a209e.tar.bz2 |
PR binutils/15068
* tic6x-opcode-table.h: Fix patterns for add, ldnw and xor.
* gas/tic6x/insns16-lsd-unit.s: Correct bit patterns for mvk, add
and xor.
* gas/tic6x/insns16-lsd-unit.d: Update expected output.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/tic6x/insns16-lsd-unit.d | 22 | ||||
-rw-r--r-- | gas/testsuite/gas/tic6x/insns16-lsd-unit.s | 22 |
3 files changed, 29 insertions, 22 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 8206282..7bd46f6 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2013-03-27 Alexis Deruelle <alexis.deruelle@gmail.com> + + PR binutils/15068 + * gas/tic6x/insns16-lsd-unit.s: Correct bit patterns for mvk, add + and xor. + * gas/tic6x/insns16-lsd-unit.d: Update expected output. + 2013-03-27 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/addr32.s: Add an SIB test. diff --git a/gas/testsuite/gas/tic6x/insns16-lsd-unit.d b/gas/testsuite/gas/tic6x/insns16-lsd-unit.d index 07b20e4..4538876 100644 --- a/gas/testsuite/gas/tic6x/insns16-lsd-unit.d +++ b/gas/testsuite/gas/tic6x/insns16-lsd-unit.d @@ -55,16 +55,16 @@ Disassembly of section .text: [0-9a-f]+[02468ace] <[^>]*> 1866[ \t]+mvk \.L1 0,a0 [0-9a-f]+[02468ace] <[^>]*> 1867[ \t]+mvk \.L2 0,b0 [0-9a-f]+[02468ace] <[^>]*> 1866[ \t]+mvk \.L1 0,a0 -[0-9a-f]+[02468ace] <[^>]*> 1867[ \t]+mvk \.L2 0,b0 -[0-9a-f]+[02468ace] <[^>]*> 1866[ \t]+mvk \.L1 0,a0 -[0-9a-f]+[02468ace] <[^>]*> 1867[ \t]+mvk \.L2 0,b0 -[0-9a-f]+[02468ace] <[^>]*> 1866[ \t]+mvk \.L1 0,a0 -[0-9a-f]+[02468ace] <[^>]*> 1867[ \t]+mvk \.L2 0,b0 -[0-9a-f]+[02468ace] <[^>]*> 1866[ \t]+mvk \.L1 0,a0 -[0-9a-f]+[02468ace] <[^>]*> 1867[ \t]+mvk \.L2 0,b0 -[0-9a-f]+[02468ace] <[^>]*> 1866[ \t]+mvk \.L1 0,a0 -[0-9a-f]+[02468ace] <[^>]*> 1867[ \t]+mvk \.L2 0,b0 -[0-9a-f]+[02468ace] <[^>]*> 1866[ \t]+mvk \.L1 0,a0 -[0-9a-f]+[02468ace] <[^>]*> 1867[ \t]+mvk \.L2 0,b0 +[0-9a-f]+[02468ace] <[^>]*> 3867[ \t]+mvk \.L2 1,b0 +[0-9a-f]+[02468ace] <[^>]*> 3866[ \t]+mvk \.L1 1,a0 +[0-9a-f]+[02468ace] <[^>]*> 3877[ \t]+mvk \.D2 1,b0 +[0-9a-f]+[02468ace] <[^>]*> 3876[ \t]+mvk \.D1 1,a0 +[0-9a-f]+[02468ace] <[^>]*> b877[ \t]+add \.D2 b0,1,b0 +[0-9a-f]+[02468ace] <[^>]*> b876[ \t]+add \.D1 a0,1,a0 +[0-9a-f]+[02468ace] <[^>]*> b86f[ \t]+add \.S2 b0,1,b0 +[0-9a-f]+[02468ace] <[^>]*> f86e[ \t]+xor \.S1 a0,1,a0 +[0-9a-f]+[02468ace] <[^>]*> f86f[ \t]+xor \.S2 b0,1,b0 +[0-9a-f]+[02468ace] <[^>]*> f86e[ \t]+xor \.S1 a0,1,a0 +[0-9a-f]+[02468ace] <[^>]*> f86f[ \t]+xor \.S2 b0,1,b0 [0-9a-f]+[02468ace] <[^>]*> efe00000[ \t]+<fetch packet header 0xefe00000> [ \t]*\.\.\. diff --git a/gas/testsuite/gas/tic6x/insns16-lsd-unit.s b/gas/testsuite/gas/tic6x/insns16-lsd-unit.s index 8e93d04..6491288 100644 --- a/gas/testsuite/gas/tic6x/insns16-lsd-unit.s +++ b/gas/testsuite/gas/tic6x/insns16-lsd-unit.s @@ -56,16 +56,16 @@ lsdx1: .short 0x1866 .short 0x1867 .short 0x1866 - .short 0x1867 - .short 0x1866 - .short 0x1867 - .short 0x1866 - .short 0x1867 - .short 0x1866 - .short 0x1867 - .short 0x1866 - .short 0x1867 - .short 0x1866 - .short 0x1867 + .short 0x3867 + .short 0x3866 + .short 0x3877 + .short 0x3876 + .short 0xb877 + .short 0xb876 + .short 0xb86f + .short 0xf86e + .short 0xf86f + .short 0xf86e + .short 0xf86f .word 0xefe00000 | 0x0000 |