Oh sorry . I can't build it by O3. 在2021年6月30日星期三 UTC+8 下午3:47:04<Yahan Lu> 写道:
> I build simd.cc : > > #include <wasm_simd128.h> > int fun(v128_t a,v128_t b) { > v128_t prod = wasm_i32x4_add(a, b); > return prod[0]; > } > int main() { > v128_t a = {1,2,3,4}; > v128_t b = {5,4,6,8}; > return fun(a,b); > } > > Build it: > emcc -msimd128 -O3 foo.c -o foo.js > > And run > ./arm64.debug/d8 ./foo.js --experimental-wasm-simd --print-code > > But i don't find any Neon instr in code that be printed by v8? > I remeber it can work on January 2021. > -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/0e9e7d97-4b04-4d8e-80c1-88a1dd6f40b3n%40googlegroups.com.