mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
ARM/Thumb2 mov vs. mvn alias goes both ways.
llvm-svn: 146570
This commit is contained in:
parent
879f983406
commit
87066950b3
@ -5070,6 +5070,8 @@ def : MnemonicAlias<"usubaddx", "usax">;
|
||||
// for isel.
|
||||
def : ARMInstAlias<"mov${s}${p} $Rd, $imm",
|
||||
(MVNi rGPR:$Rd, so_imm_not:$imm, pred:$p, cc_out:$s)>;
|
||||
def : ARMInstAlias<"mvn${s}${p} $Rd, $imm",
|
||||
(MOVi rGPR:$Rd, so_imm_not:$imm, pred:$p, cc_out:$s)>;
|
||||
// Same for AND <--> BIC
|
||||
def : ARMInstAlias<"bic${s}${p} $Rd, $Rn, $imm",
|
||||
(ANDri rGPR:$Rd, rGPR:$Rn, so_imm_not:$imm,
|
||||
|
@ -4097,6 +4097,8 @@ def : t2InstAlias<"sxth${p} $Rd, $Rm$rot",
|
||||
// for isel.
|
||||
def : t2InstAlias<"mov${p} $Rd, $imm",
|
||||
(t2MVNi rGPR:$Rd, t2_so_imm_not:$imm, pred:$p, zero_reg)>;
|
||||
def : t2InstAlias<"mvn${p} $Rd, $imm",
|
||||
(t2MOVi rGPR:$Rd, t2_so_imm_not:$imm, pred:$p, zero_reg)>;
|
||||
// Same for AND <--> BIC
|
||||
def : t2InstAlias<"bic${s}${p} $Rd, $Rn, $imm",
|
||||
(t2ANDri rGPR:$Rd, rGPR:$Rn, so_imm_not:$imm,
|
||||
|
Loading…
Reference in New Issue
Block a user