[LLVMdev] Trap instruction for ARMv7 and Thumb

Mihail Popa mihail.popa at gmail.com
Thu Jul 18 07:36:49 PDT 2013


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?

Thanks,
Mihai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130718/bd6780e3/attachment.html>


More information about the llvm-dev mailing list