]> granicus.if.org Git - yasm/commit
* x86expr.c (yasm_x86__expr_checkea): Add address16_op parameter to avoid
authorPeter Johnson <peter@tortall.net>
Mon, 26 Sep 2005 04:17:09 +0000 (04:17 -0000)
committerPeter Johnson <peter@tortall.net>
Mon, 26 Sep 2005 04:17:09 +0000 (04:17 -0000)
commit68f8b061c3141cf621254478bb00e3f45fb18a85
tree7d68a7e999c0f0fd80edf800eea7468f88a45137
parent017d66ed0baccade719b2ec43b043f0b9696789d
* x86expr.c (yasm_x86__expr_checkea): Add address16_op parameter to avoid
errors when using enter in 64-bit mode.
* x86arch.h (yasm_x86__expr_checkea): Update prototype.
* x86bc.c (x86_bc_insn_resolve, x86_bc_insn_tobytes): Pass flag to above.

* x86id.re: Implement mul, imul, div, idiv, enter, leave for GAS mode.
Add tests for above.

svn path=/trunk/yasm/; revision=1245
14 files changed:
modules/arch/x86/tests/gas64/Makefile.inc
modules/arch/x86/tests/gas64/gas-muldiv.asm [new file with mode: 0644]
modules/arch/x86/tests/gas64/gas-muldiv.errwarn [new file with mode: 0644]
modules/arch/x86/tests/gas64/gas-muldiv.hex [new file with mode: 0644]
modules/arch/x86/tests/gas64/gas-retenter.asm [new file with mode: 0644]
modules/arch/x86/tests/gas64/gas-retenter.errwarn [new file with mode: 0644]
modules/arch/x86/tests/gas64/gas-retenter.hex [new file with mode: 0644]
modules/arch/x86/tests/gas64/gas-shift.asm [new file with mode: 0644]
modules/arch/x86/tests/gas64/gas-shift.errwarn [new file with mode: 0644]
modules/arch/x86/tests/gas64/gas-shift.hex [new file with mode: 0644]
modules/arch/x86/x86arch.h
modules/arch/x86/x86bc.c
modules/arch/x86/x86expr.c
modules/arch/x86/x86id.re