https://bugs.llvm.org/show_bug.cgi?id=49232

            Bug ID: 49232
           Summary: wasm_simd128.h intrinsics to initialize all lanes to
                    the same constant
           Product: clang
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Headers
          Assignee: tliv...@google.com
          Reporter: mara...@gmail.com
                CC: craig.top...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@metafoo.co.uk

wasm_simd128.h header provides
wasm_i8x16_const/wasm_i16x8_const/wasm_i32x4_const/wasm_i64x2_const/wasm_f32x4_const/wasm_f64x2_const
intrinsics to initialize v128_t vector to the specified constant literals. A
common use-case is to initialize all lanes to the same constant value, and it
doesn't work well with the existing intrinsics, as the value needs to be
replicated many time (16 times for wasm_i8x16_const). It is preferable to have
additional intrinsics (e.g. wasm_XXXX_const_splat(C)) to initialize all lanes
to the same value.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to