mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-26 18:20:39 +00:00
change per review
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36519 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1125,11 +1125,11 @@ def : ARMPat<(extloadi16 addrmode3:$addr), (LDRH addrmode3:$addr)>;
|
|||||||
|
|
||||||
// truncstore i1 -> truncstore i8
|
// truncstore i1 -> truncstore i8
|
||||||
def : ARMPat<(truncstorei1 GPR:$src, addrmode2:$dst),
|
def : ARMPat<(truncstorei1 GPR:$src, addrmode2:$dst),
|
||||||
(STRB GPR:$src, addrmode2:$dst)>;
|
(STRB GPR:$src, addrmode2:$dst)>;
|
||||||
def : ARMPat<(pre_truncsti1 GPR:$src, GPR:$base, am2offset:$offset),
|
def : ARMPat<(pre_truncsti1 GPR:$src, GPR:$base, am2offset:$offset),
|
||||||
(STRB_PRE GPR:$src, GPR:$base, am2offset:$offset)>;
|
(STRB_PRE GPR:$src, GPR:$base, am2offset:$offset)>;
|
||||||
def : ARMPat<(post_truncsti1 GPR:$src, GPR:$base, am2offset:$offset),
|
def : ARMPat<(post_truncsti1 GPR:$src, GPR:$base, am2offset:$offset),
|
||||||
(STRB_POST GPR:$src, GPR:$base, am2offset:$offset)>;
|
(STRB_POST GPR:$src, GPR:$base, am2offset:$offset)>;
|
||||||
|
|
||||||
// smul* and smla*
|
// smul* and smla*
|
||||||
def : ARMV5TEPat<(mul (sra (shl GPR:$a, 16), 16), (sra (shl GPR:$b, 16), 16)),
|
def : ARMV5TEPat<(mul (sra (shl GPR:$a, 16), 16), (sra (shl GPR:$b, 16), 16)),
|
||||||
|
|||||||
Reference in New Issue
Block a user