[llvm-bugs] [Bug 33795] New: [AVX512] incorrect register in vpbroadcastb instruction
llvm-bugs at lists.llvm.org
Fri Jul 14 15:04:06 PDT 2017
Bug ID: 33795
Summary: [AVX512] incorrect register in vpbroadcastb
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: babokin at gmail.com
CC: llvm-bugs at lists.llvm.org
Created attachment 18794
clang trunk, x86 (32 bit mode).
Clang generates "vpbroadcastb %ch, %xmm1" instruction (at least it intends
doing so). The instruction consumes 8 bit from general purpose register, but
only 32 registers are allowed. As a result, clang tries to encode
"vpbroadcastb %ch, %xmm1" as 62 f2 7d 08 7a cd, which really is
I assume instruction description is incorrect.
The instruction was generated by "Machine Instruction Scheduler on function"
pass, if this matters.
Reproducer isn't really small, check "run" file for instruction for compiling
it, they should be self explanatory.
Let me know if more details are needed.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs