Home
last modified time | relevance | path

Searched refs:bitselect (Results 1 – 25 of 33) sorted by relevance

12

/wasmtime-44.0.1/cranelift/filetests/filetests/egraph/
H A Dbitselect.clif10 v3 = bitselect v2, v0, v1
23 v3 = bitselect v2, v1, v0
36 v3 = bitselect v2, v0, v1
48 v3 = bitselect v2, v0, v1
60 v3 = bitselect v2, v0, v1
73 v3 = bitselect v2, v0, v1
85 v3 = bitselect v2, v0, v1
97 v3 = bitselect v2, v0, v1
109 v3 = bitselect v2, v0, v1
122 v5 = bitselect v4, v2, v3
[all …]
H A Dselect.clif17 v2 = bitselect v0, v1, v1
/wasmtime-44.0.1/cranelift/filetests/filetests/runtests/
H A Dsimd-bitselect.clif30 v3 = bitselect v0, v1, v2
40 v3 = bitselect v0, v1, v2
50 v3 = bitselect v0, v1, v2
60 v3 = bitselect v0, v1, v2
63 ; Remember that bitselect accepts: 1) the selector vector, 2) the "if true" vector, and 3) the "if …
71 v3 = bitselect v0, v1, v2
91 v3 = bitselect v0, v1, v2
112 ;; These tests test the fusion of `bitselect+bitcast+{f,i}cmp` that
113 ;; some backends perform. Importantly the `fcmp` and the `bitselect`
125 v5 = bitselect.i8x16 v3, v0, v4 ; v3 = const0
[all …]
H A Dsimd-fmin-max-pseudo.clif18 v4 = bitselect v3, v1, v0
27 v4 = bitselect v3, v1, v0
36 v4 = bitselect v3, v1, v0
46 v4 = bitselect v3, v1, v0
H A Dsimd-bitselect-to-vselect.clif19 v4 = bitselect v3, v0, v1
27 v4 = bitselect v3, v0, v1
36 v4 = bitselect v2, v0, v1
44 v4 = bitselect v2, v0, v1
H A Dbitselect.clif19 v3 = bitselect v0, v1, v2
30 v3 = bitselect v0, v1, v2
40 v3 = bitselect v0, v1, v2
50 v3 = bitselect v0, v1, v2
H A Dbitselect-float.clif6 v3 = bitselect v0, v1, v2
15 v3 = bitselect v0, v1, v2
H A Di128-bitselect.clif11 v3 = bitselect v0, v1, v2
H A Dissue-6954.clif58 v19 = bitselect v81, v80, v77
64 v20 = bitselect v86, v85, v82
/wasmtime-44.0.1/cranelift/codegen/src/opts/
H A Dselects.isle1 ;; `select`/`bitselect`-related rewrites
5 (rule (simplify (bitselect ty _ x x)) (subsume x))
45 ;; Transform bitselect-of-icmp into {u,s}{min,max} instructions where possible.
46 (rule (simplify (bitselect ty @ (multi_lane _ _) (sgt _ x y) x y)) (smax ty x y))
47 (rule (simplify (bitselect ty @ (multi_lane _ _) (sge _ x y) x y)) (smax ty x y))
48 (rule (simplify (bitselect ty @ (multi_lane _ _) (ugt _ x y) x y)) (umax ty x y))
49 (rule (simplify (bitselect ty @ (multi_lane _ _) (uge _ x y) x y)) (umax ty x y))
50 (rule (simplify (bitselect ty @ (multi_lane _ _) (slt _ x y) x y)) (smin ty x y))
51 (rule (simplify (bitselect ty @ (multi_lane _ _) (sle _ x y) x y)) (smin ty x y))
52 (rule (simplify (bitselect ty @ (multi_lane _ _) (ult _ x y) x y)) (umin ty x y))
[all …]
/wasmtime-44.0.1/cranelift/filetests/filetests/isa/x64/
H A Dsimd-bitselect.clif7 v3 = bitselect v2, v0, v1
45 v5 = bitselect v4, v2, v3
77 v4 = bitselect v3, v0, v1
113 v4 = bitselect v3, v0, v1
162 v4 = bitselect v3, v0, v1
208 v4 = bitselect v3, v0, v1
H A Dsimd-bitwise-avx.clif427 v3 = bitselect v0, v1, v2
456 v3 = bitselect v0, v1, v2
485 v3 = bitselect v0, v1, v2
H A Dsimd-bitwise-compile.clif231 v3 = bitselect v0, v1, v2
260 v3 = bitselect v0, v1, v2
289 v3 = bitselect v0, v1, v2
/wasmtime-44.0.1/cranelift/filetests/filetests/isa/riscv64/
H A Dsimd-bitselect.clif8 v3 = bitselect v0, v1, v2
59 v3 = bitselect v0, v1, v2
110 v3 = bitselect v0, v1, v2
161 v3 = bitselect v0, v1, v2
211 v5 = bitselect v4, v2, v3
262 v5 = bitselect v4, v2, v3
314 v6 = bitselect v5, v2, v3
366 v6 = bitselect v5, v2, v3
422 v5 = bitselect.i8x16 v3, v0, v4
478 v5 = bitselect.i8x16 v3, v0, v4
H A Dcondops.clif56 v3 = bitselect.i8 v0, v1, v2
H A Dissue-6954.clif55 v19 = bitselect v81, v80, v77
61 v20 = bitselect v86, v85, v82
/wasmtime-44.0.1/cranelift/filetests/filetests/isa/s390x/
H A Dbitwise-arch13.clif283 v3 = bitselect.i64 v0, v1, v2
308 v3 = bitselect.i32 v0, v1, v2
333 v3 = bitselect.i16 v0, v1, v2
358 v3 = bitselect.i8 v0, v1, v2
H A Dvec-bitwise.clif455 v3 = bitselect.i64x2 v0, v1, v2
471 v3 = bitselect.i32x4 v0, v1, v2
487 v3 = bitselect.i16x8 v0, v1, v2
503 v3 = bitselect.i8x16 v0, v1, v2
H A Dbitwise.clif908 v3 = bitselect.i128 v0, v1, v2
932 v3 = bitselect.i64 v0, v1, v2
960 v3 = bitselect.i32 v0, v1, v2
986 v3 = bitselect.i16 v0, v1, v2
1012 v3 = bitselect.i8 v0, v1, v2
H A Dvec-fp.clif328 v4 = bitselect v3, v1, v0
346 v4 = bitselect v3, v1, v0
364 v4 = bitselect v3, v1, v0
382 v4 = bitselect v3, v1, v0
/wasmtime-44.0.1/cranelift/filetests/filetests/isa/aarch64/
H A Dsimd-bitwise-compile.clif153 v3 = bitselect v0, v1, v2
175 v3 = bitselect v0, v1, v2
191 v3 = bitselect v0, v1, v2
207 v3 = bitselect v0, v1, v2
/wasmtime-44.0.1/cranelift/codegen/src/
H A Dnan_canonicalization.rs74 let simd_result = pos.ins().bitselect(is_nan, canon_nan, new_res); in add_nan_canon_seq()
89 .bitselect(is_nan, canon_nan, new_res); in add_nan_canon_seq()
H A Dinst_specs.isle40 (spec (bitselect c x y)
42 (instantiate bitselect bv_ternary_8_to_64)
/wasmtime-44.0.1/tests/disas/winch/x64/v128_ops/
H A Dbitselect.wat7 (v128.bitselect
/wasmtime-44.0.1/cranelift/interpreter/src/
H A Dstep.rs595 Opcode::Bitselect => assign(bitselect(arg(0), arg(1), arg(2))?), in step()
606 assign(bitselect(icmp, arg(0), arg(1))?) in step()
614 assign(bitselect(icmp, arg(0), arg(1))?) in step()
622 assign(bitselect(icmp, arg(0), arg(1))?) in step()
630 assign(bitselect(icmp, arg(0), arg(1))?) in step()
1637 fn bitselect(c: DataValue, x: DataValue, y: DataValue) -> ValueResult<DataValue> { in bitselect() function

12