diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-05-26 22:48:51 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-05-26 22:48:51 -0700 |
commit | 62449a6ce08e4aff1ffa8b77ddb759ebe5d8567c (patch) | |
tree | e39b02c85a5d718621ceb3a41a52563118373e7e /test/avx.asm | |
parent | 4a49b6770fc7889dcc6c1689e96748f602f8ad95 (diff) | |
download | nasm-62449a6ce08e4aff1ffa8b77ddb759ebe5d8567c.tar.gz |
VCVTPD2PS, VCVTPD2DQ, VCVTTPD2DQ mem need explicit op size (BR 1974170)
BR 1974170: VCVTPD2PS, VCVTPD2DQ, VCVTTPD2DQ with a memory operand are
ambiguous without a specific operand size, so force one to be added.
Split the instruction pattern due to our current clunky handling of
MMX/XMM/YMM registers together with sizes. Fix in the future, please!
Diffstat (limited to 'test/avx.asm')
-rw-r--r-- | test/avx.asm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/avx.asm b/test/avx.asm index d58b3eae..14cf9400 100644 --- a/test/avx.asm +++ b/test/avx.asm @@ -30,3 +30,22 @@ vpextrw eax,xmm1,0x33 vpextrd eax,xmm1,0x33 ; vpextrq eax,xmm1,0x33 + + vcvtpd2ps xmm0,xmm1 + vcvtpd2ps xmm0,oword [rsi] + vcvtpd2ps xmm0,ymm1 + vcvtpd2ps xmm0,yword [rsi] +; vcvtpd2ps xmm0,[rsi] + + vcvtpd2dq xmm0,xmm1 + vcvtpd2dq xmm0,oword [rsi] + vcvtpd2dq xmm0,ymm1 + vcvtpd2dq xmm0,yword [rsi] +; vcvtpd2dq xmm0,[rsi] + + vcvttpd2dq xmm0,xmm1 + vcvttpd2dq xmm0,oword [rsi] + vcvttpd2dq xmm0,ymm1 + vcvttpd2dq xmm0,yword [rsi] +; vcvttpd2dq xmm0,[rsi] +
\ No newline at end of file |