mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
ARM assembly parsing for data type suffices on NEON VMOV aliases.
llvm-svn: 144722
This commit is contained in:
parent
d8497a8354
commit
778bed02bb
@ -2041,9 +2041,26 @@ multiclass VFPDT64InstAlias<string opc, string asm, dag Result> {
|
||||
def _64 : VFPDataTypeInstAlias<opc, ".64", asm, Result>;
|
||||
defm : VFPDT64ReqInstAlias<opc, asm, Result>;
|
||||
}
|
||||
multiclass VFPDT64NoF64ReqInstAlias<string opc, string asm, dag Result> {
|
||||
def I64 : VFPDataTypeInstAlias<opc, ".i64", asm, Result>;
|
||||
def S64 : VFPDataTypeInstAlias<opc, ".s64", asm, Result>;
|
||||
def U64 : VFPDataTypeInstAlias<opc, ".u64", asm, Result>;
|
||||
def D : VFPDataTypeInstAlias<opc, ".d", asm, Result>;
|
||||
}
|
||||
// VFPDT64ReqInstAlias plus plain ".64"
|
||||
multiclass VFPDT64NoF64InstAlias<string opc, string asm, dag Result> {
|
||||
def _64 : VFPDataTypeInstAlias<opc, ".64", asm, Result>;
|
||||
defm : VFPDT64ReqInstAlias<opc, asm, Result>;
|
||||
}
|
||||
multiclass VFPDTAnyInstAlias<string opc, string asm, dag Result> {
|
||||
defm : VFPDT8InstAlias<opc, asm, Result>;
|
||||
defm : VFPDT16InstAlias<opc, asm, Result>;
|
||||
defm : VFPDT32InstAlias<opc, asm, Result>;
|
||||
defm : VFPDT64InstAlias<opc, asm, Result>;
|
||||
}
|
||||
multiclass VFPDTAnyNoF64InstAlias<string opc, string asm, dag Result> {
|
||||
defm : VFPDT8InstAlias<opc, asm, Result>;
|
||||
defm : VFPDT16InstAlias<opc, asm, Result>;
|
||||
defm : VFPDT32InstAlias<opc, asm, Result>;
|
||||
defm : VFPDT64NoF64InstAlias<opc, asm, Result>;
|
||||
}
|
||||
|
@ -4469,6 +4469,10 @@ def : InstAlias<"vmov${p} $Vd, $Vm",
|
||||
(VORRd DPR:$Vd, DPR:$Vm, DPR:$Vm, pred:$p)>;
|
||||
def : InstAlias<"vmov${p} $Vd, $Vm",
|
||||
(VORRq QPR:$Vd, QPR:$Vm, QPR:$Vm, pred:$p)>;
|
||||
defm : VFPDTAnyNoF64InstAlias<"vmov${p}", "$Vd, $Vm",
|
||||
(VORRd DPR:$Vd, DPR:$Vm, DPR:$Vm, pred:$p)>;
|
||||
defm : VFPDTAnyNoF64InstAlias<"vmov${p}", "$Vd, $Vm",
|
||||
(VORRq QPR:$Vd, QPR:$Vm, QPR:$Vm, pred:$p)>;
|
||||
|
||||
// VMOV : Vector Move (Immediate)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user