mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
[Hexagon] Adding combine reg, reg with predicated forms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223667 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -208,6 +208,13 @@ def: BinOp32_pat<xor, A2_xor, i32>;
|
||||
let OutOperandList = (outs DoubleRegs:$Rd), hasNewValue = 0,
|
||||
isCodeGenOnly = 0 in {
|
||||
def S2_packhl : T_ALU32_3op <"packhl", 0b101, 0b100, 0, 0>;
|
||||
|
||||
let isPredicable = 1 in
|
||||
def A2_combinew : T_ALU32_3op <"combine", 0b101, 0b000, 0, 0>;
|
||||
|
||||
// Conditional combinew uses "newt/f" instead of "t/fnew".
|
||||
def C2_ccombinewt : T_ALU32_3op_pred<"combine", 0b101, 0b000, 0, 0, 0>;
|
||||
def C2_ccombinewf : T_ALU32_3op_pred<"combine", 0b101, 0b000, 0, 1, 0>;
|
||||
}
|
||||
|
||||
let hasSideEffects = 0, hasNewValue = 1, isCompare = 1, InputType = "reg" in
|
||||
|
||||
Reference in New Issue
Block a user