Skip to content

[MC] SSE2 : valid reg-to-reg MOVDQU rejected by the x86 backend #9318

@llvmbot

Description

@llvmbot
Bugzilla Link 8946
Resolution FIXED
Resolved on Jan 11, 2011 11:05
Version trunk
OS Linux
Attachments test case, x86 backend hack
Reporter LLVM Bugzilla Contributor

Extended Description

Attached code is valid and compiles fine with gcc but with clang, I get

[jai@outrax tmp]$ ~/llvm-build/Debug+Asserts/bin/clang -msse2 -c sse2_test.c
sse2_test.c:3:13: error: invalid operand for instruction
asm("movdqu %%xmm0, %%xmm1\n" : );
^
:1:2: note: instantiated into assembly here
movdqu %xmm0, %xmm1
^
1 error generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions