diff options
author | H.J. Lu <hjl@lucon.org> | 2005-03-29 19:30:47 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2005-03-29 19:30:47 +0000 |
commit | be27e757bcac0d7a6e6c1b1474cff0152a951117 (patch) | |
tree | 48df18b3a0df9b80a72d44e01f83edf4880fa029 /gas/testsuite/gas/i386/inval-seg.l | |
parent | e52ad8834467f2bfcb402922358c5d72d1fcf1e2 (diff) | |
download | binutils-redhat-be27e757bcac0d7a6e6c1b1474cff0152a951117.tar.gz |
gas/testsuite/
2005-03-29 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run segment and inval-seg for i386. Run
x86-64-segment and x86-64-inval-seg for x86-64.
* gas/i386/intel.d: Expect movw for moving between memory and
segment register.
* gas/i386/naked.d: Likewise.
* gas/i386/opcode.d: Likewise.
* gas/i386/x86-64-opcode.d: Likewise.
* gas/i386/opcode.s: Use movw for moving between memory and
segment register.
* gas/i386/x86-64-opcode.s: Likewise.
* : Likewise.
* gas/i386/inval-seg.l: New.
* gas/i386/inval-seg.s: New.
* gas/i386/segment.l: New.
* gas/i386/segment.s: New.
* gas/i386/x86-64-inval-seg.l: New.
* gas/i386/x86-64-inval-seg.s: New.
* gas/i386/x86-64-segment.l: New.
* gas/i386/x86-64-segment.s: New.
include/opcode/
2005-03-29 H.J. Lu <hongjiu.lu@intel.com>
* i386.h (i386_optab): Don't allow the `l' suffix for moving
moving between memory and segment register. Allow movq for
moving between general-purpose register and segment register.
opcodes/
2005-03-29 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (SEG_Fixup): New.
(Sv): New.
(dis386): Use "Sv" for 0x8c and 0x8e.
Diffstat (limited to 'gas/testsuite/gas/i386/inval-seg.l')
-rw-r--r-- | gas/testsuite/gas/i386/inval-seg.l | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/testsuite/gas/i386/inval-seg.l b/gas/testsuite/gas/i386/inval-seg.l new file mode 100644 index 0000000000..efe190e999 --- /dev/null +++ b/gas/testsuite/gas/i386/inval-seg.l @@ -0,0 +1,10 @@ +.*: Assembler messages: +.*:3: Error: .* +.*:4: Error: .* +GAS LISTING .* + + + 1 [ ]* .text + 2 [ ]*# All the following should be illegal + 3 [ ]* movl %ds,\(%eax\) + 4 [ ]* movl \(%eax\),%ds |