[llvm-commits] Add some ARM instruction encoding bits for "register" and "register-shifted register"

Evan Cheng evan.cheng at apple.com
Wed Oct 14 13:26:40 PDT 2009


LLVM ARM's so_reg operand can potentially encode "rrx" shifter op as well. In that case, bit 4 is 0, not 1. However, I believe it's only possible to use rrx when the instruction is a mov. So this should be ok. But please add comment to state that it's ok to set bit 4 because rrx cannot be used.

Evan

On Oct 14, 2009, at 10:03 AM, Johnny Chen wrote:

> For 'r', add:
> 
>  let Inst{4} = 0;
> 
> For 's', add:
> 
>  let Inst{4} = 1;
>  let Inst{7} = 0;
> 
> <ARMInstrInfo.td.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list