/external/llvm-project/llvm/test/CodeGen/WebAssembly/ |
D | simd.ll | 1 …eep-registers -mattr=+unimplemented-simd128,+sign-ext | FileCheck %s --check-prefixes CHECK,SIMD128 2 …als -wasm-keep-registers -mattr=+simd128,+sign-ext | FileCheck %s --check-prefixes CHECK,SIMD128-VM 3 …-wasm-disable-explicit-locals -wasm-keep-registers | FileCheck %s --check-prefixes CHECK,NO-SIMD128 5 ; Test that basic SIMD128 vector manipulation operations assemble as expected. 14 ; NO-SIMD128-NOT: i8x16 15 ; SIMD128-VM-NOT: v128.const 16 ; SIMD128-NEXT: .functype const_v16i8 () -> (v128){{$}} 17 ; SIMD128-NEXT: v128.const $push[[R:[0-9]+]]=, 18 ; SIMD128-SAME: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 19 ; SIMD128-NEXT: return $pop[[R]]{{$}} [all …]
|
D | simd-comparisons.ll | 1 …disable-explicit-locals -mattr=+unimplemented-simd128 | FileCheck %s --check-prefixes CHECK,SIMD128 3 …-wasm-keep-registers -wasm-disable-explicit-locals | FileCheck %s --check-prefixes CHECK,NO-SIMD128 11 ; NO-SIMD128-NOT: i8x16 12 ; SIMD128-NEXT: .functype compare_eq_v16i8 (v128, v128) -> (v128){{$}} 13 ; SIMD128-NEXT: i8x16.eq $push[[R:[0-9]+]]=, $0, $1{{$}} 14 ; SIMD128-NEXT: return $pop[[R]]{{$}} 21 ; NO-SIMD128-NOT: i8x16 22 ; SIMD128-NEXT: .functype compare_sext_eq_v16i8 (v128, v128) -> (v128){{$}} 23 ; SIMD128-NEXT: i8x16.eq $push[[R:[0-9]+]]=, $0, $1{{$}} 24 ; SIMD128-NEXT: return $pop[[R]]{{$}} [all …]
|
D | simd-arith.ll | 1 …-registers -mattr=+unimplemented-simd128 | FileCheck %s --check-prefixes CHECK,SIMD128,SIMD128-SLOW 2 …-mattr=+unimplemented-simd128 -fast-isel | FileCheck %s --check-prefixes CHECK,SIMD128,SIMD128-FAST 5 …-wasm-disable-explicit-locals -wasm-keep-registers | FileCheck %s --check-prefixes CHECK,NO-SIMD128 6 …le-explicit-locals -wasm-keep-registers -fast-isel | FileCheck %s --check-prefixes CHECK,NO-SIMD128 12 ; Test that basic SIMD128 arithmetic operations assemble as expected. 21 ; NO-SIMD128-NOT: i8x16 22 ; SIMD128-NEXT: .functype add_v16i8 (v128, v128) -> (v128){{$}} 23 ; SIMD128-NEXT: i8x16.add $push[[R:[0-9]+]]=, $0, $1{{$}} 24 ; SIMD128-NEXT: return $pop[[R]]{{$}} 31 ; NO-SIMD128-NOT: i8x16 [all …]
|
D | simd-sext-inreg.ll | 1 …disable-explicit-locals -mattr=+unimplemented-simd128 | FileCheck %s --check-prefixes CHECK,SIMD128 2 …llthrough-return-opt -wasm-disable-explicit-locals | FileCheck %s --check-prefixes CHECK,NO-SIMD128 10 ; NO-SIMD128-NOT: i8x16 11 ; SIMD128-NEXT: .functype sext_v16i8 (v128) -> (v128){{$}} 12 ; SIMD128-NEXT: i32.const $push[[T0:[0-9]+]]=, 7{{$}} 13 ; SIMD128-NEXT: i8x16.shl $push[[T1:[0-9]+]]=, $0, $pop[[T0]]{{$}} 14 ; SIMD128-NEXT: i32.const $push[[T2:[0-9]+]]=, 7{{$}} 15 ; SIMD128-NEXT: i8x16.shr_s $push[[R:[0-9]+]]=, $pop[[T1]], $pop[[T2]]{{$}} 16 ; SIMD128-NEXT: return $pop[[R]]{{$}} 23 ; NO-SIMD128-NOT: i16x8 [all …]
|
D | simd-bitcasts.ll | 1 …gisters -wasm-disable-explicit-locals -mattr=+simd128 | FileCheck %s --check-prefixes CHECK,SIMD128 2 …-wasm-keep-registers -wasm-disable-explicit-locals | FileCheck %s --check-prefixes CHECK,NO-SIMD128 10 ; NO-SIMD128-NOT: return $0 11 ; SIMD128: return $0 18 ; NO-SIMD128-NOT: return $0 19 ; SIMD128: return $0 26 ; NO-SIMD128-NOT: return $0 27 ; SIMD128: return $0 34 ; NO-SIMD128-NOT: return $0 35 ; SIMD128: return $0 [all …]
|
D | simd-intrinsics.ll | 1 …ls -wasm-keep-registers -mattr=+unimplemented-simd128 | FileCheck %s --check-prefixes CHECK,SIMD128 2 …ep-registers -mattr=+unimplemented-simd128 -fast-isel | FileCheck %s --check-prefixes CHECK,SIMD128 4 ; Test that SIMD128 intrinsics lower as expected. These intrinsics are 15 ; SIMD128-NEXT: .functype swizzle_v16i8 (v128, v128) -> (v128){{$}} 16 ; SIMD128-NEXT: v8x16.swizzle $push[[R:[0-9]+]]=, $0, $1{{$}} 17 ; SIMD128-NEXT: return $pop[[R]]{{$}} 25 ; SIMD128-NEXT: .functype add_sat_s_v16i8 (v128, v128) -> (v128){{$}} 26 ; SIMD128-NEXT: i8x16.add_saturate_s $push[[R:[0-9]+]]=, $0, $1{{$}} 27 ; SIMD128-NEXT: return $pop[[R]]{{$}} 35 ; SIMD128-NEXT: .functype add_sat_u_v16i8 (v128, v128) -> (v128){{$}} [all …]
|
D | simd-conversions.ll | 1 …disable-explicit-locals -mattr=+unimplemented-simd128 | FileCheck %s --check-prefixes CHECK,SIMD128 2 …-opt -wasm-disable-explicit-locals -mattr=+simd128 | FileCheck %s --check-prefixes CHECK,SIMD128-VM 3 …llthrough-return-opt -wasm-disable-explicit-locals | FileCheck %s --check-prefixes CHECK,NO-SIMD128 11 ; NO-SIMD128-NOT: i32x4 12 ; SIMD128-NEXT: .functype convert_s_v4f32 (v128) -> (v128){{$}} 13 ; SIMD128-NEXT: f32x4.convert_i32x4_s $push[[R:[0-9]+]]=, $0 14 ; SIMD128-NEXT: return $pop[[R]] 21 ; NO-SIMD128-NOT: i32x4 22 ; SIMD128-NEXT: .functype convert_u_v4f32 (v128) -> (v128){{$}} 23 ; SIMD128-NEXT: f32x4.convert_i32x4_u $push[[R:[0-9]+]]=, $0 [all …]
|
D | simd-reductions.ll | 1 …ls -wasm-keep-registers -mattr=+unimplemented-simd128 | FileCheck %s --check-prefixes CHECK,SIMD128 16 ; SIMD128-NEXT: .functype any_v16i8_trunc (v128) -> (i32){{$}} 17 ; SIMD128-NEXT: i8x16.any_true $push[[R:[0-9]+]]=, $0{{$}} 18 ; SIMD128-NEXT: return $pop[[R]]{{$}} 27 ; SIMD128-NEXT: .functype any_v16i8_ne (v128) -> (i32){{$}} 28 ; SIMD128-NEXT: i8x16.any_true $push[[R:[0-9]+]]=, $0{{$}} 29 ; SIMD128-NEXT: return $pop[[R]]{{$}} 38 ; SIMD128-NEXT: .functype any_v16i8_eq (v128) -> (i32){{$}} 39 ; SIMD128-NEXT: i8x16.any_true $push[[R:[0-9]+]]=, $0{{$}} 40 ; SIMD128-NEXT: return $pop[[R]]{{$}} [all …]
|
D | target-features.ll | 2 ; RUN: llc < %s -mattr=+simd128 | FileCheck %s --check-prefixes CHECK,SIMD128 72 ; SIMD128-NEXT: .int8 4 73 ; SIMD128-NEXT: .int8 43 74 ; SIMD128-NEXT: .int8 7 75 ; SIMD128-NEXT: .ascii "atomics" 76 ; SIMD128-NEXT: .int8 43 77 ; SIMD128-NEXT: .int8 19 78 ; SIMD128-NEXT: .ascii "nontrapping-fptoint" 79 ; SIMD128-NEXT: .int8 43 80 ; SIMD128-NEXT: .int8 15 [all …]
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | format_utils.h | 36 simd4scalari row0i = SIMD128::castps_si(row0); in vTranspose() 37 simd4scalari row1i = SIMD128::castps_si(row1); in vTranspose() 38 simd4scalari row2i = SIMD128::castps_si(row2); in vTranspose() 39 simd4scalari row3i = SIMD128::castps_si(row3); in vTranspose() 42 row2i = SIMD128::unpacklo_epi32(row2i, row3i); in vTranspose() 43 vTemp = SIMD128::unpackhi_epi32(vTemp, row3i); in vTranspose() 46 row0i = SIMD128::unpacklo_epi32(row0i, row1i); in vTranspose() 47 row3i = SIMD128::unpackhi_epi32(row3i, row1i); in vTranspose() 50 row0i = SIMD128::unpacklo_epi64(row0i, row2i); in vTranspose() 51 row1i = SIMD128::unpackhi_epi64(row1i, row2i); in vTranspose() [all …]
|
D | binner.cpp | 140 SIMD128::store_ps(pBuffer, attrib[vid]); in ProcessAttributes() 150 SIMD128::store_ps(pBuffer, attrib[i]); in ProcessAttributes() 161 SIMD128::store_ps(pBuffer, attrib[i]); in ProcessAttributes() 172 SIMD128::store_ps(pBuffer, attrib[NumVertsT::value - 1]); in ProcessAttributes() 265 SIMD128::store_ps(aVertClipDist, primClipDist[e]); in ProcessUserClipDist() 1180 SIMD128::store_ps(&desc.pTriBuffer[0], vHorizX[triIndex]); in BinTrianglesImpl() 1181 SIMD128::store_ps(&desc.pTriBuffer[4], vHorizY[triIndex]); in BinTrianglesImpl() 1182 SIMD128::store_ps(&desc.pTriBuffer[8], vHorizZ[triIndex]); in BinTrianglesImpl() 1183 SIMD128::store_ps(&desc.pTriBuffer[12], vHorizW[triIndex]); in BinTrianglesImpl()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/ |
D | simdintrin.h | 36 #define _simd128_maskstore_ps SIMD128::maskstore_ps 37 #define _simd128_fmadd_ps SIMD128::fmadd_ps 75 #define _simd_broadcast_ps(a) SIMD::broadcast_ps((SIMD128::Float const*)(a)) 188 SIMDINLINE SIMD128::Integer _simd_blend4_epi32(SIMD128::Integer const& a, SIMD128::Integer const& b) in _simd_blend4_epi32() 190 return SIMD128::castps_si( in _simd_blend4_epi32() 191 SIMD128::blend_ps<mask>(SIMD128::castsi_ps(a), SIMD128::castsi_ps(b))); in _simd_blend4_epi32() 295 return SIMD128::broadcast_ss(pInterpA); in InterpolateComponent() 298 simd4scalar vA = SIMD128::broadcast_ss(pInterpA); in InterpolateComponent() 299 simd4scalar vB = SIMD128::broadcast_ss(pInterpB); in InterpolateComponent() 300 simd4scalar vC = SIMD128::broadcast_ss(pInterpC); in InterpolateComponent() [all …]
|
D | simdlib_128_avx512_knights.inl | 28 // SIMD128 AVX (512) implementation for Knights Family
|
D | simdlib.hpp | 214 using SIMD128 = SIMDBase<SIMDImpl::SIMD128Impl::Traits>; typedef
|
D | simdlib_128_avx512_core.inl | 28 // SIMD128 AVX (512) implementation
|
D | simdlib_128_avx512.inl | 28 // SIMD128 AVX (512) implementation
|
D | simdlib_128_avx.inl | 28 // SIMD128 AVX (1) implementation
|
/external/llvm-project/clang/lib/Basic/Targets/ |
D | WebAssembly.cpp | 48 .Case("simd128", SIMDLevel >= SIMD128) in hasFeature() 74 if (SIMDLevel >= SIMD128) in getTargetDefines() 105 case SIMD128: in setSIMDLevel() 116 case SIMD128: in setSIMDLevel() 129 setSIMDLevel(Features, SIMD128, Enabled); in setFeatureEnabled() 146 setSIMDLevel(Features, SIMD128, true); in initFeatureMap() 156 SIMDLevel = std::max(SIMDLevel, SIMD128); in handleTargetFeatures() 160 SIMDLevel = std::min(SIMDLevel, SIMDEnum(SIMD128 - 1)); in handleTargetFeatures()
|
D | WebAssembly.h | 29 SIMD128, enumerator
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/ |
D | StoreTile.h | 202 simd4scalari vQuad00 = SIMD128::load_si(pZRow01); 203 simd4scalari vQuad01 = SIMD128::load_si(pZRow01 + 1); 205 simd4scalari vRow00 = SIMD128::unpacklo_epi64(vQuad00, vQuad01); 206 simd4scalari vRow10 = SIMD128::unpackhi_epi64(vQuad00, vQuad01); 208 SIMD128::storeu_si((simd4scalari*)ppDsts[0], vRow00); 209 SIMD128::storeu_si((simd4scalari*)ppDsts[1], vRow10); 224 simd4scalari quad0 = SIMD128::load_si(&pSrc128[0]); // 0 1 2 3 225 simd4scalari quad1 = SIMD128::load_si(&pSrc128[1]); // 4 5 6 7 226 simd4scalari quad2 = SIMD128::load_si(&pSrc128[2]); // 8 9 A B 227 simd4scalari quad3 = SIMD128::load_si(&pSrc128[3]); // C D E F [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblySubtarget.h | 38 SIMD128, enumerator 95 bool hasSIMD128() const { return SIMDLevel >= SIMD128; } in hasSIMD128()
|
D | WebAssembly.td | 25 def FeatureSIMD128 : SubtargetFeature<"simd128", "SIMDLevel", "SIMD128",
|
/external/llvm-project/llvm/lib/Target/WebAssembly/ |
D | WebAssemblySubtarget.h | 38 SIMD128, enumerator 92 bool hasSIMD128() const { return SIMDLevel >= SIMD128; } in hasSIMD128()
|
D | WebAssembly.td | 25 def FeatureSIMD128 : SubtargetFeature<"simd128", "SIMDLevel", "SIMD128",
|
/external/clang/lib/Basic/ |
D | Targets.cpp | 7746 SIMD128, enumerator 7767 if (SIMDLevel >= SIMD128) in getTargetDefines() 7782 .Case("simd128", SIMDLevel >= SIMD128) in hasFeature() 7789 SIMDLevel = std::max(SIMDLevel, SIMD128); in handleTargetFeatures() 7793 SIMDLevel = std::min(SIMDLevel, SIMDEnum(SIMD128 - 1)); in handleTargetFeatures()
|