Fix copy-and-paste error causing xmm9-xmm15 to be unusable.

Bugzilla Bug 16
Reported by: Igor Astakhov <asigor@stl.sarov.ru>

svn path=/trunk/yasm/; revision=1068
0.4
Peter Johnson 21 years ago
parent 89a770dcc5
commit 9f446d65bd
  1. 3
      modules/arch/x86/tests/Makefile.inc
  2. 3
      modules/arch/x86/tests/xmm64.asm
  3. 0
      modules/arch/x86/tests/xmm64.errwarn
  4. 7
      modules/arch/x86/tests/xmm64.hex
  5. 2
      modules/arch/x86/x86id.re

@ -104,3 +104,6 @@ EXTRA_DIST += modules/arch/x86/tests/twobytemem.hex
EXTRA_DIST += modules/arch/x86/tests/x86label.asm
EXTRA_DIST += modules/arch/x86/tests/x86label.errwarn
EXTRA_DIST += modules/arch/x86/tests/x86label.hex
EXTRA_DIST += modules/arch/x86/tests/xmm64.asm
EXTRA_DIST += modules/arch/x86/tests/xmm64.errwarn
EXTRA_DIST += modules/arch/x86/tests/xmm64.hex

@ -0,0 +1,3 @@
[bits 64]
xorps xmm2, xmm2
xorps xmm10, xmm10

@ -0,0 +1,7 @@
0f
57
d2
45
0f
57
d2

@ -2453,7 +2453,7 @@ yasm_x86__parse_check_id(yasm_arch *arch, unsigned long data[4],
N_("`%s' is a register in 64-bit mode"), oid);
return YASM_ARCH_CHECK_ID_NONE;
}
data[0] = X86_REG64 | (10+oid[4]-'0');
data[0] = X86_XMMREG | (10+oid[4]-'0');
return YASM_ARCH_CHECK_ID_REG;
}

Loading…
Cancel
Save