mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
f8d179ba76
This adds support for the QPX vector instruction set, which is used by the enhanced A2 cores on the IBM BG/Q supercomputers. QPX vectors are 256 bytes wide, holding 4 double-precision floating-point values. Boolean values, modeled here as <4 x i1> are actually also represented as floating-point values (essentially { -1, 1 } for { false, true }). QPX shares many features with Altivec and VSX, but is distinct from both of them. One major difference is that, instead of adding completely-separate vector registers, QPX vector registers are extensions of the scalar floating-point registers (lane 0 is the corresponding scalar floating-point value). The operations supported on QPX vectors mirrors that supported on the scalar floating-point values (with some additional ones for permutations and logical/comparison operations). I've been maintaining this support out-of-tree, as part of the bgclang project, for several years. This is not the entire bgclang patch set, but is most of the subset that can be cleanly integrated into LLVM proper at this time. Adding this to the LLVM backend is part of my efforts to rebase bgclang to the current LLVM trunk, but is independently useful (especially for codes that use LLVM as a JIT in library form). The assembler/disassembler test coverage is complete. The CodeGen test coverage is not, but I've included some tests, and more will be added as follow-up work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230413 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
Argument.h | ||
AssemblyAnnotationWriter.h | ||
Attributes.h | ||
AutoUpgrade.h | ||
BasicBlock.h | ||
CallingConv.h | ||
CallSite.h | ||
CFG.h | ||
CMakeLists.txt | ||
Comdat.h | ||
Constant.h | ||
ConstantFolder.h | ||
ConstantRange.h | ||
Constants.h | ||
DataLayout.h | ||
DebugInfo.h | ||
DebugInfoFlags.def | ||
DebugInfoMetadata.h | ||
DebugLoc.h | ||
DerivedTypes.h | ||
DiagnosticInfo.h | ||
DiagnosticPrinter.h | ||
DIBuilder.h | ||
Dominators.h | ||
Function.h | ||
GetElementPtrTypeIterator.h | ||
GlobalAlias.h | ||
GlobalObject.h | ||
GlobalValue.h | ||
GlobalVariable.h | ||
GVMaterializer.h | ||
InlineAsm.h | ||
InstIterator.h | ||
InstrTypes.h | ||
Instruction.def | ||
Instruction.h | ||
Instructions.h | ||
InstVisitor.h | ||
IntrinsicInst.h | ||
Intrinsics.h | ||
Intrinsics.td | ||
IntrinsicsAArch64.td | ||
IntrinsicsARM.td | ||
IntrinsicsBPF.td | ||
IntrinsicsHexagon.td | ||
IntrinsicsMips.td | ||
IntrinsicsNVVM.td | ||
IntrinsicsPowerPC.td | ||
IntrinsicsR600.td | ||
IntrinsicsX86.td | ||
IntrinsicsXCore.td | ||
IRBuilder.h | ||
IRPrintingPasses.h | ||
LegacyPassManager.h | ||
LegacyPassManagers.h | ||
LegacyPassNameParser.h | ||
LLVMContext.h | ||
Mangler.h | ||
MDBuilder.h | ||
Metadata.def | ||
Metadata.h | ||
MetadataTracking.h | ||
Module.h | ||
NoFolder.h | ||
OperandTraits.h | ||
Operator.h | ||
PassManager.h | ||
PassManagerInternal.h | ||
PatternMatch.h | ||
PredIteratorCache.h | ||
Statepoint.h | ||
SymbolTableListTraits.h | ||
TrackingMDRef.h | ||
Type.h | ||
TypeBuilder.h | ||
TypeFinder.h | ||
Use.h | ||
UseListOrder.h | ||
User.h | ||
Value.h | ||
ValueHandle.h | ||
ValueMap.h | ||
ValueSymbolTable.h | ||
Verifier.h |