NASM Forum > Using NASM
A bug in NASM 2.15
(1/1)
fullofbugs:
I just updated to NASM 2.15 and am still fighting with the changes. I found a bug and want to share it with you before it is fixed. I already submitted a bug report.
--- Code: ---%macro Convert 2-3.nolist
%[%3]CVTDQ2PD %1, %2
%endmacro
--- End code ---
NASM will no generate any code if the last parameter is empty.
--- Code: ---Convert XMM0, XMM1
--- End code ---
Expected code: CVTDQ2PD XMM0, XMM1
Generated code: empty
--- Code: ---Convert XMM0, XMM1, {}
--- End code ---
Expected code: CVTDQ2PD XMM0, XMM1
Generated code: empty
--- Code: ---Convert XMM0, XMM1, V
--- End code ---
Expected code: VCVTDQ2PD XMM0, XMM1
Generated code: VCVTDQ2PD XMM0, XMM1
fullofbugs:
In most cases, it can be fixed by removing []
--- Code: ---%macro Convert 2-3.nolist
%3CVTDQ2PD %1, %2
%endmacro
--- End code ---
But it is quite confusing to read.
Navigation
[0] Message Index
Go to full version