mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
3cb0e8c052
calcsize() had the wrong criterion for when C5 prefixes are permitted (REX.R is permitted, REX.X is forbidden.) assemble() had the right test already. This caused symbol value errors.
10 lines
276 B
NASM
10 lines
276 B
NASM
;Testname=unoptimized; Arguments=-O0 -fbin -obr3109604.bin; Files=stdout stderr br3109604.bin
|
|
;Testname=optimized; Arguments=-Ox -fbin -obr3109604.bin; Files=stdout stderr br3109604.bin
|
|
|
|
bits 64
|
|
b0: vmovd xmm2, [rdx+r9]
|
|
e0:
|
|
|
|
section .data
|
|
len: dd e0 - b0 ; Should be 6
|