Displaying 1 result from an estimated 1 matches for "armadde".
Did you mean:
armaddc
2015 May 28
1
[LLVMdev] [ARM backend] adding pattern for SMLALBB
..., r2, r0 (RdLo)
asr r3, r2, #31
adc r1, r3, r1 (RdHi) ==> smlalbb r0, r1, r3, r2
I have added pattern in def SMLALBB : AMulxyI64< ..... as below :-
[] modified to ---> [((set GPR:$RdLo, (ARMaddc (set GPR:$Rd, mul GPR:$Rn, GPR:$Rm), GPR:$RdLo)), (set GPR:$RdHi, (ARMadde (sra GPR:$Rd, (i32 31)), GPR:$RdHi, CPSR)))]
This results in 'expected identifier in dag init' error.
Obviously something is wrong in this pattern, I have not figured out what that is ?
2)
ldrb r2, [r2]
ldrb r3, [r3]
smlal r0, r1, r3, r2 ==> smlalbb r0, r1, r3, r2
def : ARMV5MOP...