mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
ARM vbit/vbif/vbsl assembly optional size suffix.
These instructions accept but do not require a size suffix. rdar://10947225 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151646 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4bfcd4acbc
commit
c94206e552
@ -6996,6 +6996,20 @@ defm : NEONDTAnyInstAlias<"vswp${p}", "$Vd, $Vm",
|
||||
defm : NEONDTAnyInstAlias<"vswp${p}", "$Vd, $Vm",
|
||||
(VSWPq QPR:$Vd, QPR:$Vm, pred:$p)>;
|
||||
|
||||
// VBIF, VBIT, and VBSL allow, but do not require, a type suffix.
|
||||
defm : NEONDTAnyInstAlias<"vbif${p}", "$Vd, $Vn, $Vm",
|
||||
(VBIFd DPR:$Vd, DPR:$Vn, DPR:$Vm, pred:$p)>;
|
||||
defm : NEONDTAnyInstAlias<"vbit${p}", "$Vd, $Vn, $Vm",
|
||||
(VBITd DPR:$Vd, DPR:$Vn, DPR:$Vm, pred:$p)>;
|
||||
defm : NEONDTAnyInstAlias<"vbsl${p}", "$Vd, $Vn, $Vm",
|
||||
(VBSLd DPR:$Vd, DPR:$Vn, DPR:$Vm, pred:$p)>;
|
||||
defm : NEONDTAnyInstAlias<"vbif${p}", "$Vd, $Vn, $Vm",
|
||||
(VBIFq QPR:$Vd, QPR:$Vn, QPR:$Vm, pred:$p)>;
|
||||
defm : NEONDTAnyInstAlias<"vbit${p}", "$Vd, $Vn, $Vm",
|
||||
(VBITq QPR:$Vd, QPR:$Vn, QPR:$Vm, pred:$p)>;
|
||||
defm : NEONDTAnyInstAlias<"vbsl${p}", "$Vd, $Vn, $Vm",
|
||||
(VBSLq QPR:$Vd, QPR:$Vn, QPR:$Vm, pred:$p)>;
|
||||
|
||||
// "vmov Rd, #-imm" can be handled via "vmvn".
|
||||
def : NEONInstAlias<"vmov${p}.i32 $Vd, $imm",
|
||||
(VMVNv2i32 DPR:$Vd, nImmVMOVI32Neg:$imm, pred:$p)>;
|
||||
|
Loading…
Reference in New Issue
Block a user