[LLVMdev] Trap instruction for ARMv7 and Thumb
jfb at google.com
Thu Jul 18 09:47:24 PDT 2013
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.
On Thu, Jul 18, 2013 at 7:36 AM, Mihail Popa <mihail.popa at gmail.com> wrote:
> HI group.
> 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.
> Why not use the BKT #imm instruction?
> Does anybody remember the reason behind this?
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev