[Issue 12849] New: pmovmskb instruction cannot store to 64-bit registers
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Jun 3 16:27:48 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12849
Issue ID: 12849
Summary: pmovmskb instruction cannot store to 64-bit registers
Product: D
Version: D2
Hardware: x86_64
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: briancschott at gmail.com
void main()
{
ulong a = 0xff;
ulong b;
asm
{
movq XMM0, a;
pmovmskb RAX, XMM0;
mov b, RAX;
}
assert (b == 1);
}
bug.d(8): Error: bad type/size of operands 'pmovmskb'
This is perfectly valid according to the Intel documentation.
--
More information about the Digitalmars-d-bugs
mailing list