[LLVMdev] Trap instruction for ARMv7 and Thumb

Mihail Popa
2013-07-18T14:36:49Z

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>