diff options
author | Alan Modra <amodra@gmail.com> | 2003-02-06 01:49:39 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-02-06 01:49:39 +0000 |
commit | 43e9b450760476fc6e2904554530ec9dd3bb42eb (patch) | |
tree | 99434e259b3760b9daf5a83c553f54edcb961466 /gas | |
parent | db6eb5be2c06251017e0b12dfc23d412617769f9 (diff) | |
download | gdb-43e9b450760476fc6e2904554530ec9dd3bb42eb.zip gdb-43e9b450760476fc6e2904554530ec9dd3bb42eb.tar.gz gdb-43e9b450760476fc6e2904554530ec9dd3bb42eb.tar.bz2 |
* gas/i386/x86-64-opcode.s: More tests for x86-64 MOVD opcodes.
* gas/i386/x86-64-opcode.d: Adjust to suit.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-opcode.d | 146 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-opcode.s | 6 |
3 files changed, 87 insertions, 70 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index ed87d02..caa45a8 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-02-06 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> + + * gas/i386/x86-64-opcode.s: More tests for x86-64 MOVD opcodes. + * gas/i386/x86-64-opcode.d: Adjust to suit. + 2003-02-04 Hans-Peter Nilsson <hp@axis.com> * gas/cris/rd-dw2-1.d: Adjust for dwarf2 directory table change. diff --git a/gas/testsuite/gas/i386/x86-64-opcode.d b/gas/testsuite/gas/i386/x86-64-opcode.d index 5808916..58155e2 100644 --- a/gas/testsuite/gas/i386/x86-64-opcode.d +++ b/gas/testsuite/gas/i386/x86-64-opcode.d @@ -196,74 +196,80 @@ Disassembly of section .text: [ ]*32a:[ ]+66 44 0f 7e f8[ ]+movd[ ]+%xmm15,%eax[ ]*(#.*)* [ ]*32f:[ ]+66 44 0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suite/gas/i386/x86-64-opcode.s index c021f70..839a2c3 100644 --- a/gas/testsuite/gas/i386/x86-64-opcode.s +++ b/gas/testsuite/gas/i386/x86-64-opcode.s @@ -246,6 +246,12 @@ MOVD %xmm15,%eax # -- -- 66 44 0F 7E F8 ; REX to access upper XMM reg. OVR 128bit MMinstr. MOVD %xmm8,%eax # -- -- 66 44 0F 7E C0 ; REX to access upper XMM reg. OVR 128bit MMinstr. MOVD %xmm7,%eax # -- -- 66 -- 0F 7E F8 ; OVR 128bit MMinstr. + MOVD %rax,%xmm0 # -- -- 66 48 0F 6E C0 ; Data128 = ZEXT(Data64). OVR 128bit MMinstr. REX for 64-bit operand size. + MOVD %r8,%xmm0 # -- -- 66 49 0F 6E C0 ; REX to access upper reg. Data128 = ZEXT(Data64). OVR 128bit MMinstr. REX for 64-bit operand size. + MOVD %r8,%xmm15 # -- -- 66 4D 0F 6E F8 ; REX to access upper reg. Data128 = ZEXT(Data64). OVR 128bit MMinstr. REX for 64-bit operand size. + MOVD %xmm0,%rax # -- -- 66 48 0F 7E C0 ; OVR 128bit MMinstr. REX for 64-bit operand size. + MOVD %xmm0,%r8 # -- -- 66 49 0F 7E C0 ; OVR 128bit MMinstr. REX for 64-bit operand size. + MOVD %xmm7,%r8 # -- -- 66 49 0F 7E F8 ; OVR 128bit MMinstr. REX for 64-bit operand size. # MOVQ MOVQ (%r8),%xmm0 # -- -- F3 41 0F 7E 00 ; REX to access upper reg. Data128 = ZEXT(Data64). OVR 128bit MMinstr. |