forked from OSchip/llvm-project
ARM VFP pre-UAL mnemonic aliases for fcpy[sd] and fdiv[sd].
llvm-svn: 146887
This commit is contained in:
parent
e80b31f7f9
commit
92a939ae73
|
@ -1194,6 +1194,10 @@ def : VFP2MnemonicAlias<"fsts", "vstr">;
|
|||
def : VFP2MnemonicAlias<"fstd", "vstr">;
|
||||
def : VFP2MnemonicAlias<"fmacd", "vmla.f64">;
|
||||
def : VFP2MnemonicAlias<"fmacs", "vmla.f32">;
|
||||
def : VFP2MnemonicAlias<"fcpys", "vmov.f32">;
|
||||
def : VFP2MnemonicAlias<"fcpyd", "vmov.f64">;
|
||||
def : VFP2MnemonicAlias<"fdivs", "vdiv.f32">;
|
||||
def : VFP2MnemonicAlias<"fdivd", "vdiv.f64">;
|
||||
|
||||
def : VFP2InstAlias<"fmstat${p}", (FMSTAT pred:$p)>;
|
||||
def : VFP2InstAlias<"fadds${p} $Sd, $Sn, $Sm",
|
||||
|
|
|
@ -4395,7 +4395,7 @@ StringRef ARMAsmParser::splitMnemonic(StringRef Mnemonic,
|
|||
Mnemonic == "vnmls" || Mnemonic == "vqabs" || Mnemonic == "vrecps" ||
|
||||
Mnemonic == "vrsqrts" || Mnemonic == "srs" || Mnemonic == "flds" ||
|
||||
Mnemonic == "fmrs" || Mnemonic == "fsqrts" || Mnemonic == "fsubs" ||
|
||||
Mnemonic == "fsts" ||
|
||||
Mnemonic == "fsts" || Mnemonic == "fcpys" || Mnemonic == "fdivs" ||
|
||||
(Mnemonic == "movs" && isThumb()))) {
|
||||
Mnemonic = Mnemonic.slice(0, Mnemonic.size() - 1);
|
||||
CarrySetting = true;
|
||||
|
|
Loading…
Reference in New Issue