-
Zhi An Ng authored
The main fix here is on non-AVX builds, the shifts require dst == src. Calling macro-assembler functions like Psrlw assumes that we already met that requirement (which we usually specify in TurboFan's instruction-selector). On Liftoff, we need to do that check manually. This is done by using the helper EmitSimdShiftOpImm which will do this check, and dispatches to AVX if supported, or mov if dst != src. Also fix a couple of places where we forgot to annotate the required SSE extension for the instruction. Bug: v8:11078 Change-Id: Icc31df9ab80c041f4bb3bd48444658368eaa2c91 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2505251Reviewed-by: Clemens Backes <clemensb@chromium.org> Commit-Queue: Zhi An Ng <zhin@chromium.org> Cr-Commit-Position: refs/heads/master@{#70889}
236aff1b
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
arm | ||
arm64 | ||
ia32 | ||
mips | ||
mips64 | ||
ppc | ||
s390 | ||
x64 | ||
DEPS | ||
liftoff-assembler-defs.h | ||
liftoff-assembler.cc | ||
liftoff-assembler.h | ||
liftoff-compiler.cc | ||
liftoff-compiler.h | ||
liftoff-register.h |