mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +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.
|
// 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)>;
|
def : VFP2InstAlias<"fmstat${p}", (FMSTAT pred:$p)>;
|
||||||
|
|
||||||
// VLDR/VSTR accept an optional type suffix.
|
// VLDR/VSTR accept an optional type suffix.
|
||||||
|
@ -4235,7 +4235,7 @@ StringRef ARMAsmParser::splitMnemonic(StringRef Mnemonic,
|
|||||||
Mnemonic == "mrs" || Mnemonic == "smmls" || Mnemonic == "vabs" ||
|
Mnemonic == "mrs" || Mnemonic == "smmls" || Mnemonic == "vabs" ||
|
||||||
Mnemonic == "vcls" || Mnemonic == "vmls" || Mnemonic == "vmrs" ||
|
Mnemonic == "vcls" || Mnemonic == "vmls" || Mnemonic == "vmrs" ||
|
||||||
Mnemonic == "vnmls" || Mnemonic == "vqabs" || Mnemonic == "vrecps" ||
|
Mnemonic == "vnmls" || Mnemonic == "vqabs" || Mnemonic == "vrecps" ||
|
||||||
Mnemonic == "vrsqrts" || Mnemonic == "srs" ||
|
Mnemonic == "vrsqrts" || Mnemonic == "srs" || Mnemonic == "flds" ||
|
||||||
(Mnemonic == "movs" && isThumb()))) {
|
(Mnemonic == "movs" && isThumb()))) {
|
||||||
Mnemonic = Mnemonic.slice(0, Mnemonic.size() - 1);
|
Mnemonic = Mnemonic.slice(0, Mnemonic.size() - 1);
|
||||||
CarrySetting = true;
|
CarrySetting = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user