mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-05 10:39:21 +00:00
ARM aliases for pre-unified syntax fcmpz[sd] mnemonics.
rdar://11056647 llvm-svn: 152834
This commit is contained in:
parent
01cebc3291
commit
04f671dced
@ -1335,6 +1335,11 @@ def : VFP2MnemonicAlias<"fcmpd", "vcmp.f64">;
|
||||
def : VFP2MnemonicAlias<"fdivs", "vdiv.f32">;
|
||||
def : VFP2MnemonicAlias<"fdivd", "vdiv.f64">;
|
||||
|
||||
// Be friendly and accept the old form of zero-compare
|
||||
def : VFP2InstAlias<"fcmpzd${p} $val", (VCMPZD DPR:$val, pred:$p)>;
|
||||
def : VFP2InstAlias<"fcmpzs${p} $val", (VCMPZS SPR:$val, pred:$p)>;
|
||||
|
||||
|
||||
def : VFP2InstAlias<"fmstat${p}", (FMSTAT pred:$p)>;
|
||||
def : VFP2InstAlias<"fadds${p} $Sd, $Sn, $Sm",
|
||||
(VADDS SPR:$Sd, SPR:$Sn, SPR:$Sm, pred:$p)>;
|
||||
|
@ -4603,7 +4603,7 @@ StringRef ARMAsmParser::splitMnemonic(StringRef Mnemonic,
|
||||
Mnemonic == "vrsqrts" || Mnemonic == "srs" || Mnemonic == "flds" ||
|
||||
Mnemonic == "fmrs" || Mnemonic == "fsqrts" || Mnemonic == "fsubs" ||
|
||||
Mnemonic == "fsts" || Mnemonic == "fcpys" || Mnemonic == "fdivs" ||
|
||||
Mnemonic == "fmuls" || Mnemonic == "fcmps" ||
|
||||
Mnemonic == "fmuls" || Mnemonic == "fcmps" || Mnemonic == "fcmpzs" ||
|
||||
(Mnemonic == "movs" && isThumb()))) {
|
||||
Mnemonic = Mnemonic.slice(0, Mnemonic.size() - 1);
|
||||
CarrySetting = true;
|
||||
|
Loading…
Reference in New Issue
Block a user