s390: [wasm-simd] Saturate swizzle indices to 5 bits
`vperm` indices are taken from the five least significant bits of the input byte. We need to make sure bigger values are saturated to 31 to make vperm select 0 as the output. Change-Id: I74715e909e4a50dec23f5423e53254836fe0ff8e Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2446553Reviewed-by: Junliang Yan <junyan@redhat.com> Commit-Queue: Milad Fa <mfarazma@redhat.com> Cr-Commit-Position: refs/heads/master@{#70292}
Showing
Please
register
or
sign in
to comment