]> granicus.if.org Git - yasm/commit
Fix a bunch of GAS x86 instruction issues.
authorPeter Johnson <peter@tortall.net>
Mon, 30 Nov 2009 03:43:10 +0000 (03:43 -0000)
committerPeter Johnson <peter@tortall.net>
Mon, 30 Nov 2009 03:43:10 +0000 (03:43 -0000)
commitad1280030cb5e189600af3c02e436ab880673c0c
tree6131864bf47e3f30439a86cf1279f95fbf67380d
parent32b5671cf09f0c48ff6d83f81b3c9000375c60fc
Fix a bunch of GAS x86 instruction issues.
- Fix #193: ljmp/lcall not implemented; add 2-operand far jump to jmp/call.
- Add loop{,z,e} instruction suffixes
- Fix a bunch of jmp/call minor issues.
- Vastly improve suffix handling in general to make more consistent and make
  a greater variety of no-suffix instructions work in a way that matches GAS.

svn path=/trunk/yasm/; revision=2238
modules/arch/x86/gen_x86_insn.py
modules/arch/x86/tests/gas32/Makefile.inc
modules/arch/x86/tests/gas32/gas-farjump.asm [new file with mode: 0644]
modules/arch/x86/tests/gas32/gas-farjump.hex [new file with mode: 0644]
modules/arch/x86/tests/gas32/gas-loop32.asm [new file with mode: 0644]
modules/arch/x86/tests/gas32/gas-loop32.hex [new file with mode: 0644]
modules/arch/x86/tests/gas64/Makefile.inc
modules/arch/x86/tests/gas64/gas-loop64.asm [new file with mode: 0644]
modules/arch/x86/tests/gas64/gas-loop64.hex [new file with mode: 0644]
modules/arch/x86/x86id.c