[llvm-bugs] [Bug 49232] New: wasm_simd128.h intrinsics to initialize all lanes to the same constant
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Feb 17 15:32:15 PST 2021
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: tlively at google.com
Reporter: maratek at gmail.com
CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210217/51558e7a/attachment.html>
More information about the llvm-bugs
mailing list