mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-26 17:57:07 +00:00
[WebAssembly] Add intrinsic for i64x2.mul
Summary:
This instruction was implemented in 3181273be7
, but that commit did
not add an intrinsic for it.
Reviewers: aheejin
Subscribers: dschuff, sbc100, jgravelle-google, sunfish, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D81757
This commit is contained in:
parent
b422fe7d62
commit
d2c394e74f
@ -864,6 +864,11 @@ static __inline__ v128_t __DEFAULT_FN_ATTRS wasm_i64x2_sub(v128_t __a,
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user