[PATCH] D81757: [WebAssembly] Add intrinsic for i64x2.mul
Thomas Lively via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 12 14:15:36 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd2c394e74fc5: [WebAssembly] Add intrinsic for i64x2.mul (authored by tlively).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81757/new/
https://reviews.llvm.org/D81757
Files:
clang/lib/Headers/wasm_simd128.h
Index: clang/lib/Headers/wasm_simd128.h
===================================================================
--- clang/lib/Headers/wasm_simd128.h
+++ clang/lib/Headers/wasm_simd128.h
@@ -864,6 +864,11 @@
return (v128_t)((__u64x2)__a - (__u64x2)__b);
}
+static __inline__ v128_t __DEFAULT_FN_ATTRS wasm_i64x2_mul(v128_t __a,
+ v128_t __b) {
+ return (v128_t)((__u64x2)__a * (__u64x2)__b);
+}
+
static __inline__ v128_t __DEFAULT_FN_ATTRS wasm_f32x4_abs(v128_t __a) {
return (v128_t)__builtin_wasm_abs_f32x4((__f32x4)__a);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81757.270514.patch
Type: text/x-patch
Size: 592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200612/2a6793bf/attachment.bin>
More information about the cfe-commits
mailing list