svn commit: r1680 - in trunk/yasm/modules: arch/x86 arch/x86/tests objfmts/elf/tests

peter at tortall.net peter at tortall.net
Mon Nov 6 00:59:36 PST 2006


Author: peter
Date: Mon Nov  6 00:59:35 2006
New Revision: 1680

Added:
   trunk/yasm/modules/arch/x86/tests/strict-err.asm
   trunk/yasm/modules/arch/x86/tests/strict-err.errwarn
   trunk/yasm/modules/arch/x86/tests/strict.asm
   trunk/yasm/modules/arch/x86/tests/strict.errwarn
   trunk/yasm/modules/arch/x86/tests/strict.hex
Modified:
   trunk/yasm/modules/arch/x86/tests/Makefile.inc
   trunk/yasm/modules/arch/x86/tests/addbyte.asm
   trunk/yasm/modules/arch/x86/tests/arithsmall.asm
   trunk/yasm/modules/arch/x86/tests/push64.asm
   trunk/yasm/modules/arch/x86/tests/push64.errwarn
   trunk/yasm/modules/arch/x86/tests/push64.hex
   trunk/yasm/modules/arch/x86/tests/pushnosize.asm
   trunk/yasm/modules/arch/x86/tests/pushnosize.errwarn
   trunk/yasm/modules/arch/x86/tests/pushnosize.hex
   trunk/yasm/modules/arch/x86/x86id.c
   trunk/yasm/modules/objfmts/coff/tests/x86id.hex
   trunk/yasm/modules/objfmts/elf/tests/elf-x86id.hex
Changeset:
   http://www.tortall.net/projects/yasm/changeset/1680

Log:
Support strict for immediate values, and optimize non-strict (thus some
other testcase changes).

While I'm here, fix handling of arith [], dword X in 64-bit mode by making
this an error; it's impossible to tell if add dword [], X or add qword [], X
is meant as the immediate part is always a dword.  This is only important for
arith rather than other memory instructions due to dword also being needed
for optimization.

Next step: support strict for jump sizing and optimize non-strict sized
jumps.



More information about the yasm-cvs mailing list