On RISC-V we need to store vector registers in the builtin
Generate_WasmCompileLazy (and others). However, not all CPUs have vector
support. It's dynamically detected, and then used accordingly.
Given that the builtins are precompiled, we can't use
`CpuFeatures::IsSupported` as that wouldn't take the actual hardware into
account.
We would either remove these functions from precompilation, or have a
dynamic branch looking at the CPU feature in the generated assembly.

Did other architectures run into similar issues?
Any suggestions on how to handle this?

Thanks.

-- 
-- 
v8-dev mailing list
[email protected]
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/v8-dev/CA%2B-a-b0D0NgKaYvJf3G9gFgyBxKbH%3DwG9EG2zcGqJc6Xbby_oA%40mail.gmail.com.

Reply via email to