Displaying 2 results from an estimated 2 matches for "mov_rr".
Did you mean:
mov8rr
2009 Apr 20
4
[LLVMdev] Unnecessary moves after sign-extension in 2-address target
...ld be this:
sext:
sextb r1
add r1,r3
sextw r2
add r1,r2
jmp [r30]
The debug output from LLVM shows this:
********** REWRITING TWO-ADDR INSTRS **********
********** Function: sext
%reg1028<def> = sextb_r %reg1025<kill>
prepend: %reg1028<def> = mov_rr %reg1025<kill>
rewrite to: %reg1028<def> = sextb_r %reg1028
...
%reg1030<def> = sextw_r %reg1026<kill>
prepend: %reg1030<def> = mov_rr %reg1026<kill>
rewrite to: %reg1030<def> = sextw_r %reg1030
Because sextb_r and sext...
2009 Apr 21
0
[LLVMdev] Unnecessary moves after sign-extension in 2-address target
Greg McGary wrote:
> ********** REWRITING TWO-ADDR INSTRS **********
> ********** Function: sext
> %reg1028<def> = sextb_r %reg1025<kill>
> prepend: %reg1028<def> = mov_rr %reg1025<kill>
> rewrite to: %reg1028<def> = sextb_r %reg1028
> ...
> %reg1030<def> = sextw_r %reg1026<kill>
> prepend: %reg1030<def> = mov_rr %reg1026<kill>
> rewrite to: %reg1030<def> = sextw_r %reg1030...