mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
ARM add some more pre-UAL VFP mnemonics for convenience when porting old code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146508 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
485d8bf7e5
commit
f10154010e
@ -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
Block a user