<div dir="ltr">The OS delivers different signals on each of these instructions. I had a discussion about this with Jim Grosbach when checking in the NaCl TRAP, see the commit archive.</div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Thu, Jul 18, 2013 at 7:36 AM, Mihail Popa <span dir="ltr"><<a href="mailto:mihail.popa@gmail.com" target="_blank">mihail.popa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">HI group.<div><br></div><div>I was wondering why the "trap" instruction is implemented in the ARM backend as an undefined opcode. For ARM mode, it uses 0xe7ffdefe, for Thumb 0xdefe.</div><div><br>
</div>
<div>Why not use the BKT #imm instruction?</div><div>Does anybody remember the reason behind this?</div><div><br></div><div>Thanks,</div><div>Mihai</div></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>