mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-04 10:30:01 +00:00
Neon does not actually have VLD{234}.64 instructions.
These operations will have to be synthesized from other instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78263 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3765d0f1a7
commit
0cedab9a0d
@ -1317,7 +1317,6 @@ SDNode *ARMDAGToDAGISel::Select(SDValue Op) {
|
||||
case MVT::v4i16: Opc = ARM::VLD2d16; break;
|
||||
case MVT::v2f32:
|
||||
case MVT::v2i32: Opc = ARM::VLD2d32; break;
|
||||
case MVT::v1i64: Opc = ARM::VLD2d64; break;
|
||||
}
|
||||
const SDValue Ops[] = { MemAddr, MemUpdate, MemOpc };
|
||||
return CurDAG->getTargetNode(Opc, dl, VT, VT, MVT::Other, Ops, 3);
|
||||
@ -1335,7 +1334,6 @@ SDNode *ARMDAGToDAGISel::Select(SDValue Op) {
|
||||
case MVT::v4i16: Opc = ARM::VLD3d16; break;
|
||||
case MVT::v2f32:
|
||||
case MVT::v2i32: Opc = ARM::VLD3d32; break;
|
||||
case MVT::v1i64: Opc = ARM::VLD3d64; break;
|
||||
}
|
||||
const SDValue Ops[] = { MemAddr, MemUpdate, MemOpc };
|
||||
return CurDAG->getTargetNode(Opc, dl, VT, VT, VT, MVT::Other, Ops, 3);
|
||||
@ -1353,7 +1351,6 @@ SDNode *ARMDAGToDAGISel::Select(SDValue Op) {
|
||||
case MVT::v4i16: Opc = ARM::VLD4d16; break;
|
||||
case MVT::v2f32:
|
||||
case MVT::v2i32: Opc = ARM::VLD4d32; break;
|
||||
case MVT::v1i64: Opc = ARM::VLD4d64; break;
|
||||
}
|
||||
const SDValue Ops[] = { MemAddr, MemUpdate, MemOpc };
|
||||
std::vector<MVT> ResTys(4, VT);
|
||||
|
@ -196,7 +196,6 @@ class VLD2D<string OpcodeStr>
|
||||
def VLD2d8 : VLD2D<"vld2.8">;
|
||||
def VLD2d16 : VLD2D<"vld2.16">;
|
||||
def VLD2d32 : VLD2D<"vld2.32">;
|
||||
def VLD2d64 : VLD2D<"vld2.64">;
|
||||
|
||||
// VLD3 : Vector Load (multiple 3-element structures)
|
||||
class VLD3D<string OpcodeStr>
|
||||
@ -206,7 +205,6 @@ class VLD3D<string OpcodeStr>
|
||||
def VLD3d8 : VLD3D<"vld3.8">;
|
||||
def VLD3d16 : VLD3D<"vld3.16">;
|
||||
def VLD3d32 : VLD3D<"vld3.32">;
|
||||
def VLD3d64 : VLD3D<"vld3.64">;
|
||||
|
||||
// VLD4 : Vector Load (multiple 4-element structures)
|
||||
class VLD4D<string OpcodeStr>
|
||||
@ -217,7 +215,6 @@ class VLD4D<string OpcodeStr>
|
||||
def VLD4d8 : VLD4D<"vld4.8">;
|
||||
def VLD4d16 : VLD4D<"vld4.16">;
|
||||
def VLD4d32 : VLD4D<"vld4.32">;
|
||||
def VLD4d64 : VLD4D<"vld4.64">;
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
@ -45,7 +45,6 @@ static bool isNEONMultiRegOp(int Opcode, unsigned &FirstOpnd,
|
||||
case ARM::VLD2d8:
|
||||
case ARM::VLD2d16:
|
||||
case ARM::VLD2d32:
|
||||
case ARM::VLD2d64:
|
||||
FirstOpnd = 0;
|
||||
NumRegs = 2;
|
||||
return true;
|
||||
@ -53,7 +52,6 @@ static bool isNEONMultiRegOp(int Opcode, unsigned &FirstOpnd,
|
||||
case ARM::VLD3d8:
|
||||
case ARM::VLD3d16:
|
||||
case ARM::VLD3d32:
|
||||
case ARM::VLD3d64:
|
||||
FirstOpnd = 0;
|
||||
NumRegs = 3;
|
||||
return true;
|
||||
@ -61,7 +59,6 @@ static bool isNEONMultiRegOp(int Opcode, unsigned &FirstOpnd,
|
||||
case ARM::VLD4d8:
|
||||
case ARM::VLD4d16:
|
||||
case ARM::VLD4d32:
|
||||
case ARM::VLD4d64:
|
||||
FirstOpnd = 0;
|
||||
NumRegs = 4;
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user