Commit 4b21f15b authored by Milad Fa's avatar Milad Fa Committed by V8 LUCI CQ

PPC [no-wasm]: disable Simd if WEBASSEMBLY is not enabled

Change-Id: I3cda4c4ac03a56191e4c034aef34879c23da993d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2876449Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
Commit-Queue: Milad Fa <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/master@{#74421}
parent b6b6fa7c
......@@ -57,6 +57,8 @@ static unsigned CpuFeaturesImpliedByCompiler() {
bool CpuFeatures::SupportsWasmSimd128() {
#if V8_ENABLE_WEBASSEMBLY
return CpuFeatures::IsSupported(SIMD);
#else
return false;
#endif // V8_ENABLE_WEBASSEMBLY
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment