forked from OSchip/llvm-project
ARM VFP support 'fmrs/fmsr' aliases for 'vldr'
llvm-svn: 146116
This commit is contained in:
parent
086d013e56
commit
9a6ba3c94e
|
@ -1166,6 +1166,8 @@ def FCONSTS : VFPAI<(outs SPR:$Sd), (ins vfp_f32imm:$imm),
|
|||
// good to be friendly.
|
||||
def : MnemonicAlias<"flds", "vldr">;
|
||||
def : MnemonicAlias<"fldd", "vldr">;
|
||||
def : MnemonicAlias<"fmrs", "vmov">;
|
||||
def : MnemonicAlias<"fmsr", "vmov">;
|
||||
|
||||
def : VFP2InstAlias<"fmstat${p}", (FMSTAT pred:$p)>;
|
||||
|
||||
|
|
|
@ -4236,6 +4236,7 @@ StringRef ARMAsmParser::splitMnemonic(StringRef Mnemonic,
|
|||
Mnemonic == "vcls" || Mnemonic == "vmls" || Mnemonic == "vmrs" ||
|
||||
Mnemonic == "vnmls" || Mnemonic == "vqabs" || Mnemonic == "vrecps" ||
|
||||
Mnemonic == "vrsqrts" || Mnemonic == "srs" || Mnemonic == "flds" ||
|
||||
Mnemonic == "fmrs" ||
|
||||
(Mnemonic == "movs" && isThumb()))) {
|
||||
Mnemonic = Mnemonic.slice(0, Mnemonic.size() - 1);
|
||||
CarrySetting = true;
|
||||
|
|
Loading…
Reference in New Issue