mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
Initial support for Neon scalar instructions.
Patch by Ana Pazos. 1.Added support for v1ix and v1fx types. 2.Added Scalar Pairwise Reduce instructions. 3.Added initial implementation of Scalar Arithmetic instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191263 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -453,7 +453,8 @@ enum IIT_Info {
|
||||
IIT_STRUCT5 = 22,
|
||||
IIT_EXTEND_VEC_ARG = 23,
|
||||
IIT_TRUNC_VEC_ARG = 24,
|
||||
IIT_ANYPTR = 25
|
||||
IIT_ANYPTR = 25,
|
||||
IIT_V1 = 26
|
||||
};
|
||||
|
||||
|
||||
@@ -497,6 +498,10 @@ static void DecodeIITType(unsigned &NextElt, ArrayRef<unsigned char> Infos,
|
||||
case IIT_I64:
|
||||
OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 64));
|
||||
return;
|
||||
case IIT_V1:
|
||||
OutputTable.push_back(IITDescriptor::get(IITDescriptor::Vector, 1));
|
||||
DecodeIITType(NextElt, Infos, OutputTable);
|
||||
return;
|
||||
case IIT_V2:
|
||||
OutputTable.push_back(IITDescriptor::get(IITDescriptor::Vector, 2));
|
||||
DecodeIITType(NextElt, Infos, OutputTable);
|
||||
|
Reference in New Issue
Block a user