svn commit: r1984 - in branches/yasm-0.6.x: libyasm modules/arch/x86/tests modules/parsers/nasm modules/preprocs/nasm

peter at tortall.net peter at tortall.net
Fri Sep 21 11:16:29 PDT 2007


Author: peter
Date: Fri Sep 21 11:16:28 2007
New Revision: 1984

Added:
   branches/yasm-0.6.x/modules/arch/x86/tests/imm64.asm
      - copied unchanged from r1983, /trunk/yasm/modules/arch/x86/tests/imm64.asm
   branches/yasm-0.6.x/modules/arch/x86/tests/imm64.errwarn
      - copied unchanged from r1983, /trunk/yasm/modules/arch/x86/tests/imm64.errwarn
   branches/yasm-0.6.x/modules/arch/x86/tests/imm64.hex
      - copied unchanged from r1983, /trunk/yasm/modules/arch/x86/tests/imm64.hex
   branches/yasm-0.6.x/modules/arch/x86/tests/riprel1.asm
      - copied unchanged from r1963, /trunk/yasm/modules/arch/x86/tests/riprel1.asm
   branches/yasm-0.6.x/modules/arch/x86/tests/riprel1.hex
      - copied unchanged from r1963, /trunk/yasm/modules/arch/x86/tests/riprel1.hex
   branches/yasm-0.6.x/modules/arch/x86/tests/riprel2.asm
      - copied, changed from r1963, /trunk/yasm/modules/arch/x86/tests/riprel2.asm
   branches/yasm-0.6.x/modules/arch/x86/tests/riprel2.errwarn
      - copied unchanged from r1963, /trunk/yasm/modules/arch/x86/tests/riprel2.errwarn
   branches/yasm-0.6.x/modules/arch/x86/tests/riprel2.hex
      - copied, changed from r1963, /trunk/yasm/modules/arch/x86/tests/riprel2.hex
   branches/yasm-0.6.x/modules/arch/x86/tests/ripseg.asm
      - copied unchanged from r1971, /trunk/yasm/modules/arch/x86/tests/ripseg.asm
   branches/yasm-0.6.x/modules/arch/x86/tests/ripseg.errwarn
      - copied unchanged from r1971, /trunk/yasm/modules/arch/x86/tests/ripseg.errwarn
   branches/yasm-0.6.x/modules/arch/x86/tests/ripseg.hex
      - copied unchanged from r1971, /trunk/yasm/modules/arch/x86/tests/ripseg.hex
Modified:
   branches/yasm-0.6.x/libyasm/insn.h
   branches/yasm-0.6.x/modules/arch/x86/tests/Makefile.inc
   branches/yasm-0.6.x/modules/arch/x86/x86arch.c
   branches/yasm-0.6.x/modules/arch/x86/x86arch.h
   branches/yasm-0.6.x/modules/arch/x86/x86bc.c
   branches/yasm-0.6.x/modules/arch/x86/x86expr.c
   branches/yasm-0.6.x/modules/arch/x86/x86id.c
   branches/yasm-0.6.x/modules/parsers/nasm/nasm-parse.c
   branches/yasm-0.6.x/modules/parsers/nasm/nasm-parser.h
   branches/yasm-0.6.x/modules/parsers/nasm/nasm-token.re
   branches/yasm-0.6.x/modules/preprocs/nasm/standard.mac
Changeset:
   http://www.tortall.net/projects/yasm/changeset/1984

Log:
Merge [1962], [1963], [1971], and [1983] from trunk: NASM2 compatibility
additions.
[1962]: Support oword, do, and reso as aliases for dqword, ddq, and resdq.
[1963], [1971]: Support NASM2 RIP-relative syntax.

The primary difference from NASM2 will be the handling of immediate values
in the "mov reg64, imm" where immediate is unsized; yasm has always
auto-sized this to 32-bit by default, and upsized to 64-bit if necessary
for non-relocated values.  NASM2 will default this to 64-bit for all values.
Code expecting to target both with consistent results should explicitly
specify the immediate size.



More information about the yasm-cvs mailing list