mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
ARM VFP optional data type on VMOV GPR<-->SPR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147104 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1240,10 +1240,18 @@ def : VFP2InstAlias<"vsub${p}.f64 $Dn, $Dm",
|
||||
def : VFP2InstAlias<"vsub${p}.f32 $Sn, $Sm",
|
||||
(VSUBS SPR:$Sn, SPR:$Sn, SPR:$Sm, pred:$p)>;
|
||||
|
||||
// VMOV can accept optional .f32/.f64 suffix.
|
||||
def : VFP2InstAlias<"vmov${p}.f32 $Rt, $Sn",
|
||||
// VMOV can accept optional 32-bit or less data type suffix suffix.
|
||||
def : VFP2InstAlias<"vmov${p}.8 $Rt, $Sn",
|
||||
(VMOVRS GPR:$Rt, SPR:$Sn, pred:$p)>;
|
||||
def : VFP2InstAlias<"vmov${p}.f32 $Sn, $Rt",
|
||||
def : VFP2InstAlias<"vmov${p}.16 $Rt, $Sn",
|
||||
(VMOVRS GPR:$Rt, SPR:$Sn, pred:$p)>;
|
||||
def : VFP2InstAlias<"vmov${p}.32 $Rt, $Sn",
|
||||
(VMOVRS GPR:$Rt, SPR:$Sn, pred:$p)>;
|
||||
def : VFP2InstAlias<"vmov${p}.8 $Sn, $Rt",
|
||||
(VMOVSR SPR:$Sn, GPR:$Rt, pred:$p)>;
|
||||
def : VFP2InstAlias<"vmov${p}.16 $Sn, $Rt",
|
||||
(VMOVSR SPR:$Sn, GPR:$Rt, pred:$p)>;
|
||||
def : VFP2InstAlias<"vmov${p}.32 $Sn, $Rt",
|
||||
(VMOVSR SPR:$Sn, GPR:$Rt, pred:$p)>;
|
||||
|
||||
def : VFP2InstAlias<"vmov${p}.f64 $Rt, $Rt2, $Dn",
|
||||
|
Reference in New Issue
Block a user