@@ -854,7 +854,7 @@ let isCall=1, hasDelaySlot=0, Uses = [R10],
854
854
def JALX : CALLX<"callx">, Requires<[SBFNoCallxSrc]>;
855
855
let DecoderNamespace = "SBFv2" in {
856
856
def JALX_v2 : CALLX_SRC_REG<"callx">, Requires<[SBFCallxSrc]>;
857
- def SYSCALL_v2 : SYSCALL<"syscall">, Requires<[SBFHasStaticSyscalls]>;
857
+ def SYSCALL_v3 : SYSCALL<"syscall">, Requires<[SBFHasStaticSyscalls]>;
858
858
}
859
859
}
860
860
@@ -900,7 +900,7 @@ class RETURN<string OpcodeStr>
900
900
901
901
let isReturn = 1, isTerminator = 1, hasDelaySlot=0, isBarrier = 1,
902
902
isNotDuplicable = 1, Predicates = [SBFHasStaticSyscalls] in {
903
- def RETURN : RETURN<"return">;
903
+ def RETURN_v3 : RETURN<"return">;
904
904
}
905
905
906
906
// ADJCALLSTACKDOWN/UP pseudo insns
@@ -966,7 +966,7 @@ def : Pat<(SBFcall texternalsym:$dst), (JAL texternalsym:$dst)>;
966
966
def : Pat<(SBFcall imm:$dst), (JAL imm:$dst)>;
967
967
def : Pat<(SBFcall GPR:$dst), (JALX GPR:$dst)>, Requires<[SBFNoCallxSrc]>;
968
968
def : Pat<(SBFcall GPR:$dst), (JALX_v2 GPR:$dst)>, Requires<[SBFCallxSrc]>;
969
- def : Pat<(SBFSyscall imm:$imm), (SYSCALL_v2 imm:$imm)>, Requires<[SBFHasStaticSyscalls]>;
969
+ def : Pat<(SBFSyscall imm:$imm), (SYSCALL_v3 imm:$imm)>, Requires<[SBFHasStaticSyscalls]>;
970
970
971
971
// Loads
972
972
let Predicates = [SBFNoALU32, SBFOldMemEncoding] in {
0 commit comments