mirror of
https://github.com/yasm/yasm
synced 2026-08-26 22:26:05 -04:00
Fix #129: Support no-operand form of movsd in GAS syntax.
Reported and patch by: mm.beck@gmx.net svn path=/trunk/yasm/; revision=2026
This commit is contained in:
parent
f210b61533
commit
0e0d4b413a
4 changed files with 366 additions and 1 deletions
|
|
@ -2679,7 +2679,7 @@ add_insn("movsw", "onebyte", modifiers=[0xA5, 16])
|
|||
|
||||
# movsd has to be non-onebyte for SSE2 forms below
|
||||
add_group("movsd",
|
||||
parsers=["nasm"],
|
||||
parsers=["nasm", "gas"],
|
||||
opersize=32,
|
||||
opcode=[0xA5],
|
||||
operands=[])
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ EXTRA_DIST += modules/arch/x86/tests/gas32/gas-farithr.asm
|
|||
EXTRA_DIST += modules/arch/x86/tests/gas32/gas-farithr.hex
|
||||
EXTRA_DIST += modules/arch/x86/tests/gas32/gas-movdq32.asm
|
||||
EXTRA_DIST += modules/arch/x86/tests/gas32/gas-movdq32.hex
|
||||
EXTRA_DIST += modules/arch/x86/tests/gas32/gas-movsd.asm
|
||||
EXTRA_DIST += modules/arch/x86/tests/gas32/gas-movsd.hex
|
||||
EXTRA_DIST += modules/arch/x86/tests/gas32/gas32-jmpcall.asm
|
||||
EXTRA_DIST += modules/arch/x86/tests/gas32/gas32-jmpcall.hex
|
||||
|
||||
|
|
|
|||
3
modules/arch/x86/tests/gas32/gas-movsd.asm
Normal file
3
modules/arch/x86/tests/gas32/gas-movsd.asm
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
.text
|
||||
movsd
|
||||
movsl
|
||||
360
modules/arch/x86/tests/gas32/gas-movsd.hex
Normal file
360
modules/arch/x86/tests/gas32/gas-movsd.hex
Normal file
|
|
@ -0,0 +1,360 @@
|
|||
7f
|
||||
45
|
||||
4c
|
||||
46
|
||||
01
|
||||
01
|
||||
01
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
01
|
||||
00
|
||||
03
|
||||
00
|
||||
01
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
a0
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
34
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
28
|
||||
00
|
||||
05
|
||||
00
|
||||
01
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
a5
|
||||
a5
|
||||
00
|
||||
00
|
||||
00
|
||||
2e
|
||||
74
|
||||
65
|
||||
78
|
||||
74
|
||||
00
|
||||
2e
|
||||
73
|
||||
74
|
||||
72
|
||||
74
|
||||
61
|
||||
62
|
||||
00
|
||||
2e
|
||||
73
|
||||
79
|
||||
6d
|
||||
74
|
||||
61
|
||||
62
|
||||
00
|
||||
2e
|
||||
73
|
||||
68
|
||||
73
|
||||
74
|
||||
72
|
||||
74
|
||||
61
|
||||
62
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
2d
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
01
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
04
|
||||
00
|
||||
f1
|
||||
ff
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
03
|
||||
00
|
||||
04
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
17
|
||||
00
|
||||
00
|
||||
00
|
||||
03
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
44
|
||||
00
|
||||
00
|
||||
00
|
||||
21
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
07
|
||||
00
|
||||
00
|
||||
00
|
||||
03
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
68
|
||||
00
|
||||
00
|
||||
00
|
||||
03
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
0f
|
||||
00
|
||||
00
|
||||
00
|
||||
02
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
6c
|
||||
00
|
||||
00
|
||||
00
|
||||
30
|
||||
00
|
||||
00
|
||||
00
|
||||
02
|
||||
00
|
||||
00
|
||||
00
|
||||
03
|
||||
00
|
||||
00
|
||||
00
|
||||
04
|
||||
00
|
||||
00
|
||||
00
|
||||
10
|
||||
00
|
||||
00
|
||||
00
|
||||
01
|
||||
00
|
||||
00
|
||||
00
|
||||
01
|
||||
00
|
||||
00
|
||||
00
|
||||
06
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
40
|
||||
00
|
||||
00
|
||||
00
|
||||
02
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
10
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
Loading…
Add table
Add a link
Reference in a new issue