<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">I submitted a bugreport at <a href="https://bugs.llvm.org/show_bug.cgi?id=39834" class="">https://bugs.llvm.org/show_bug.cgi?id=39834</a> with all the necessary details.</div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Best regards,</div><div class="">Vit</div><div class=""><br class=""></div></body></html>