Displaying 1 result from an estimated 1 matches for "rc2_a".
Did you mean:
rc1_a
2011 Sep 21
1
[LLVMdev] Instruction Selection
...For my target, this means that the result of an addition will always be an RC2 register. Depending on how the result is used, sometimes this is fine but other times it would be better (avoid a register-register copy) if the result were in an RC1 register.
For example:
LOAD mem,$RC1_a
LEA $RC2_a,$RC2_b,$RC1_a
MOV $RC2_a,$RC1_a
needs an additional register and is larger and slower than
MOV $RC2_b,$RC1_a
ADD mem,$RC1_a
But
LEA $RC2_a,$RC2_b,#8
is much better then
MOV $RC2_b,$RC1_a
ADD #8,$RC1_a
MOV $RC1_a,$RC2_a
My problem therefore is that statically prior...