forked from OSchip/llvm-project
ARM add some more pre-UAL VFP mnemonics for convenience when porting old code.
llvm-svn: 146508
This commit is contained in:
parent
9227f39c53
commit
2a2348e6c2
|
@ -1190,6 +1190,8 @@ def : VFP2MnemonicAlias<"fsitod", "vcvt.f64.s32">;
|
|||
def : VFP2MnemonicAlias<"fsitos", "vcvt.f32.s32">;
|
||||
def : VFP2MnemonicAlias<"fuitod", "vcvt.f64.u32">;
|
||||
def : VFP2MnemonicAlias<"fuitos", "vcvt.f32.u32">;
|
||||
def : VFP2MnemonicAlias<"fsts", "vstr">;
|
||||
def : VFP2MnemonicAlias<"fstd", "vstr">;
|
||||
|
||||
def : VFP2InstAlias<"fmstat${p}", (FMSTAT pred:$p)>;
|
||||
def : VFP2InstAlias<"fadds${p} $Sd, $Sn, $Sm",
|
||||
|
|
|
@ -4308,6 +4308,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 == "movs" && isThumb()))) {
|
||||
Mnemonic = Mnemonic.slice(0, Mnemonic.size() - 1);
|
||||
CarrySetting = true;
|
||||
|
|
Loading…
Reference in New Issue