mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-18 13:34:04 +00:00
ARM VFP pre-UAL mnemonic aliases for fcpy[sd] and fdiv[sd].
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146887 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
61b74b4247
commit
9c39789c36
@ -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…
x
Reference in New Issue
Block a user