Home | History | Annotate | only in /external/swiftshader/third_party/subzero/src
Up to higher level directory
NameDateSize
DartARM32/21-Aug-2018
IceASanInstrumentation.cpp21-Aug-201818.9K
IceASanInstrumentation.h21-Aug-20182.7K
IceAssembler.cpp21-Aug-20185.7K
IceAssembler.h21-Aug-201812.5K
IceAssemblerARM32.cpp21-Aug-2018159.7K
IceAssemblerARM32.h21-Aug-201834.6K
IceAssemblerMIPS32.cpp21-Aug-201840.5K
IceAssemblerMIPS32.h21-Aug-201812.4K
IceAssemblerX8632.h21-Aug-20181.3K
IceAssemblerX8664.h21-Aug-20181.3K
IceAssemblerX86Base.h21-Aug-201837K
IceAssemblerX86BaseImpl.h21-Aug-2018125.7K
IceBitVector.h21-Aug-201823K
IceBrowserCompileServer.cpp21-Aug-201811.7K
IceBrowserCompileServer.h21-Aug-20183.5K
IceBuildDefs.h21-Aug-20183.7K
IceCfg.cpp21-Aug-201867.4K
IceCfg.h21-Aug-201813K
IceCfgNode.cpp21-Aug-201857.4K
IceCfgNode.h21-Aug-20185.2K
IceClFlags.cpp21-Aug-20187K
IceClFlags.def21-Aug-201830.1K
IceClFlags.h21-Aug-20187.5K
IceCompiler.cpp21-Aug-20186.2K
IceCompiler.h21-Aug-20181.2K
IceCompileServer.cpp21-Aug-20188.9K
IceCompileServer.h21-Aug-20182.4K
IceConditionCodesARM32.h21-Aug-20181.2K
IceConditionCodesMIPS32.h21-Aug-20181.2K
IceConditionCodesX8632.h21-Aug-20181.4K
IceConditionCodesX8664.h21-Aug-20181.3K
IceConverter.cpp21-Aug-201833.4K
IceConverter.h21-Aug-20182.4K
IceDefs.h21-Aug-201814.8K
IceELFObjectWriter.cpp21-Aug-201827.8K
IceELFObjectWriter.h21-Aug-20187.7K
IceELFSection.cpp21-Aug-20188K
IceELFSection.h21-Aug-201813.7K
IceELFStreamer.h21-Aug-20182.7K
IceFixups.cpp21-Aug-20182.8K
IceFixups.h21-Aug-20183.7K
IceGlobalContext.cpp21-Aug-201840.8K
IceGlobalContext.h21-Aug-201821.8K
IceGlobalInits.cpp21-Aug-20186.5K
IceGlobalInits.h21-Aug-201818.6K
IceInst.cpp21-Aug-201832.8K
IceInst.def21-Aug-20186.4K
IceInst.h21-Aug-201844.2K
IceInstARM32.cpp21-Aug-2018107.7K
IceInstARM32.def21-Aug-20187.4K
IceInstARM32.h21-Aug-201860.7K
IceInstMIPS32.cpp21-Aug-201840.8K
IceInstMIPS32.def21-Aug-201820.9K
IceInstMIPS32.h21-Aug-201848.6K
IceInstrumentation.cpp21-Aug-20183.9K
IceInstrumentation.h21-Aug-20183.8K
IceInstVarIter.h21-Aug-20187.8K
IceInstX8632.cpp21-Aug-201811.2K
IceInstX8632.def21-Aug-201815.1K
IceInstX8632.h21-Aug-20181.2K
IceInstX8664.cpp21-Aug-201811.6K
IceInstX8664.def21-Aug-201822.7K
IceInstX8664.h21-Aug-20181.2K
IceInstX86Base.h21-Aug-2018178.3K
IceInstX86BaseImpl.h21-Aug-2018110.9K
IceIntrinsics.cpp21-Aug-201813.6K
IceIntrinsics.h21-Aug-20185.9K
IceLiveness.cpp21-Aug-20185.3K
IceLiveness.h21-Aug-20185.9K
IceLoopAnalyzer.cpp21-Aug-20189.2K
IceLoopAnalyzer.h21-Aug-2018955
IceMangling.cpp21-Aug-20187.2K
IceMangling.h21-Aug-2018729
IceMemory.cpp21-Aug-20181.7K
IceMemory.h21-Aug-20185.3K
IceOperand.cpp21-Aug-201819.9K
IceOperand.h21-Aug-201841.4K
IcePhiLoweringImpl.h21-Aug-20182.8K
IceRangeSpec.cpp21-Aug-20185.5K
IceRangeSpec.h21-Aug-20182.8K
IceRegAlloc.cpp21-Aug-201837.9K
IceRegAlloc.h21-Aug-20185.4K
IceRegistersARM32.def21-Aug-201810.3K
IceRegistersARM32.h21-Aug-20186.3K
IceRegistersMIPS32.h21-Aug-20184.8K
IceRegistersX8632.h21-Aug-20183.1K
IceRegistersX8664.h21-Aug-20182.7K
IceRegList.h21-Aug-20181.8K
IceRevision.cpp21-Aug-2018803
IceRevision.h21-Aug-20181.1K
IceRNG.cpp21-Aug-20181.9K
IceRNG.h21-Aug-20183.1K
IceStringPool.h21-Aug-20185.6K
IceSwitchLowering.cpp21-Aug-20183.8K
IceSwitchLowering.h21-Aug-20183.7K
IceTargetLowering.cpp21-Aug-201839.7K
IceTargetLowering.def21-Aug-20183.7K
IceTargetLowering.h21-Aug-201827.6K
IceTargetLoweringARM32.cpp21-Aug-2018249.1K
IceTargetLoweringARM32.def21-Aug-20183.7K
IceTargetLoweringARM32.h21-Aug-201852.6K
IceTargetLoweringMIPS32.cpp21-Aug-2018208.9K
IceTargetLoweringMIPS32.def21-Aug-2018763
IceTargetLoweringMIPS32.h21-Aug-201835.5K
IceTargetLoweringX86.cpp21-Aug-20181.9K
IceTargetLoweringX8632.cpp21-Aug-201818.4K
IceTargetLoweringX8632.def21-Aug-20182.6K
IceTargetLoweringX8632.h21-Aug-20182.6K
IceTargetLoweringX8632Traits.h21-Aug-201837.4K
IceTargetLoweringX8664.cpp21-Aug-201828K
IceTargetLoweringX8664.def21-Aug-20182.6K
IceTargetLoweringX8664.h21-Aug-20182.6K
IceTargetLoweringX8664Traits.h21-Aug-201840.7K
IceTargetLoweringX86Base.h21-Aug-201852.1K
IceTargetLoweringX86BaseImpl.h21-Aug-2018304.8K
IceTargetLoweringX86RegClass.h21-Aug-20181.2K
IceThreading.cpp21-Aug-20181.9K
IceThreading.h21-Aug-20188K
IceTimerTree.cpp21-Aug-201810.4K
IceTimerTree.def21-Aug-20185.2K
IceTimerTree.h21-Aug-20183.4K
IceTLS.h21-Aug-20184.6K
IceTranslator.cpp21-Aug-20182.1K
IceTranslator.h21-Aug-20182.8K
IceTypeConverter.cpp21-Aug-20182.2K
IceTypeConverter.h21-Aug-20181.9K
IceTypes.cpp21-Aug-20189K
IceTypes.def21-Aug-20184.9K
IceTypes.h21-Aug-20185.9K
IceUtils.h21-Aug-20185.9K
IceVariableSplitting.cpp21-Aug-201823.3K
IceVariableSplitting.h21-Aug-2018764
LinuxMallocProfiling.cpp21-Aug-20182.9K
LinuxMallocProfiling.h21-Aug-20181K
main.cpp21-Aug-20181.8K
Makefile21-Aug-2018294
PNaClTranslator.cpp21-Aug-2018117K
PNaClTranslator.h21-Aug-20181.6K
README.SIMD.rst21-Aug-20182.6K
SZTargets.def21-Aug-20181K
WasmTranslator.cpp21-Aug-201855K
WasmTranslator.h21-Aug-20182K

README.SIMD.rst

      1 Missing support
      2 ===============
      3 
      4 * The PNaCl LLVM backend expands shufflevector operations into sequences of
      5   insertelement and extractelement operations. For instance:
      6 
      7     define <4 x i32> @shuffle(<4 x i32> %arg1, <4 x i32> %arg2) {
      8     entry:
      9       %res = shufflevector <4 x i32> %arg1,
     10                            <4 x i32> %arg2,
     11                            <4 x i32> <i32 4, i32 5, i32 0, i32 1>
     12       ret <4 x i32> %res
     13     }
     14 
     15   gets expanded into:
     16 
     17     define <4 x i32> @shuffle(<4 x i32> %arg1, <4 x i32> %arg2) {
     18     entry:
     19       %0 = extractelement <4 x i32> %arg2, i32 0
     20       %1 = insertelement <4 x i32> undef, i32 %0, i32 0
     21       %2 = extractelement <4 x i32> %arg2, i32 1
     22       %3 = insertelement <4 x i32> %1, i32 %2, i32 1
     23       %4 = extractelement <4 x i32> %arg1, i32 0
     24       %5 = insertelement <4 x i32> %3, i32 %4, i32 2
     25       %6 = extractelement <4 x i32> %arg1, i32 1
     26       %7 = insertelement <4 x i32> %5, i32 %6, i32 3
     27       ret <4 x i32> %7
     28     }
     29 
     30   Subzero should recognize these sequences and recombine them into
     31   shuffle operations where appropriate.
     32 
     33 * Add support for vector constants in the backend. The current code
     34   materializes the vector constants it needs (eg. for performing icmp on
     35   unsigned operands) using register operations, but this should be changed to
     36   loading them from a constant pool if the register initialization is too
     37   complicated (such as in TargetX8632::makeVectorOfHighOrderBits()).
     38 
     39 * [x86 specific] llvm-mc does not allow lea to take a mem128 memory operand
     40   when assembling x86-32 code. The current InstX8632Lea::emit() code uses
     41   Variable::asType() to convert any mem128 Variables into a compatible memory
     42   operand type. However, the emit code does not do any conversions of
     43   OperandX8632Mem, so if an OperandX8632Mem is passed to lea as mem128 the
     44   resulting code will not assemble.  One way to fix this is by implementing
     45   OperandX8632Mem::asType().
     46 
     47 * [x86 specific] Lower shl with <4 x i32> using some clever float conversion:
     48 http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20100726/105087.html
     49 
     50 * [x86 specific] Add support for using aligned mov operations (movaps). This
     51   will require passing alignment information to loads and stores.
     52 
     53 x86 SIMD Diversification
     54 ========================
     55 
     56 * Vector "bitwise" operations have several variant instructions: the AND
     57   operation can be implemented with pand, andpd, or andps. This pattern also
     58   holds for ANDN, OR, and XOR.
     59 
     60 * Vector "mov" instructions can be diversified (eg. movdqu instead of movups)
     61   at the cost of a possible performance penalty.
     62 
     63 * Scalar FP arithmetic can be diversified by performing the operations with the
     64   vector version of the instructions.
     65