[llvm-dev] PowerPC wait encoding is invalid for e500mc

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[llvm-dev] PowerPC wait encoding is invalid for e500mc

Alberto Barbaro via llvm-dev
Hello,

Power ISA 2.07B and 3.0B have different encodings for wait instruction (0x7C00007C vs 0x7C00003C). We happen to partially support the latter, and mistakingly emit the wrong opcode for targets like e500mc.

I submitted a bugreport at https://bugs.llvm.org/show_bug.cgi?id=39834 with all the necessary details.

Since I am not familiar with llvm tablegen well enough to quickly write a patch that will support both variants of the instruction, a fix or a reference on how to conditionally emit different opcodes will be appreciated.

Best regards,
Vit


_______________________________________________
LLVM Developers mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

signature.asc (849 bytes) Download Attachment