mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-15 20:06:46 +00:00
ARM VFP support 'flds/fldd' aliases for 'vldr'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146115 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a44f2c4a28
commit
67ca1adf82
@ -1161,6 +1161,12 @@ def FCONSTS : VFPAI<(outs SPR:$Sd), (ins vfp_f32imm:$imm),
|
||||
// Assembler aliases.
|
||||
//
|
||||
|
||||
// A few mnemnoic aliases for pre-unifixed syntax. We don't guarantee to
|
||||
// support them all, but supporting at least some of the basics is
|
||||
// good to be friendly.
|
||||
def : MnemonicAlias<"flds", "vldr">;
|
||||
def : MnemonicAlias<"fldd", "vldr">;
|
||||
|
||||
def : VFP2InstAlias<"fmstat${p}", (FMSTAT pred:$p)>;
|
||||
|
||||
// VLDR/VSTR accept an optional type suffix.
|
||||
|
@ -4235,7 +4235,7 @@ StringRef ARMAsmParser::splitMnemonic(StringRef Mnemonic,
|
||||
Mnemonic == "mrs" || Mnemonic == "smmls" || Mnemonic == "vabs" ||
|
||||
Mnemonic == "vcls" || Mnemonic == "vmls" || Mnemonic == "vmrs" ||
|
||||
Mnemonic == "vnmls" || Mnemonic == "vqabs" || Mnemonic == "vrecps" ||
|
||||
Mnemonic == "vrsqrts" || Mnemonic == "srs" ||
|
||||
Mnemonic == "vrsqrts" || Mnemonic == "srs" || Mnemonic == "flds" ||
|
||||
(Mnemonic == "movs" && isThumb()))) {
|
||||
Mnemonic = Mnemonic.slice(0, Mnemonic.size() - 1);
|
||||
CarrySetting = true;
|
||||
|
Loading…
Reference in New Issue
Block a user