• Ng Zhi An's avatar
    [x64] Consolidate SSE/AVX Float32/Float64 Abs/Neg · 9996d8ae
    Ng Zhi An authored
    1. Move Abspd, Negpd from MacroAssembler into TurboAssembler so that we
    can use it in code-generator
    2. Add Absps and Negps (float32 versions of the instructions in 1)
    3. Refactor SSE/AVX float32/float64 abs/neg to use these macro-assembler
    helpers.
    4. Use these helpers in Liftoff too
    
    This has the benefit of not requiring to set up the masks in a temporary
    register, and loading the constants via an ExternalReference instead.
    It does require (in ins-sel) to have the input be in a Register, since
    the ExternalReference is an operand (and the instruction can only have 1
    operand input).
    
    Bug: v8:11589
    Change-Id: I68fafaf31b19ab05ee391aa3d54c45d547a85b34
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3123635Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
    Commit-Queue: Zhi An Ng <zhin@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#76520}
    9996d8ae
Name
Last commit
Last update
..
api Loading commit data...
asmjs Loading commit data...
assembler Loading commit data...
base Loading commit data...
codegen Loading commit data...
compiler Loading commit data...
compiler-dispatcher Loading commit data...
date Loading commit data...
debug Loading commit data...
diagnostics Loading commit data...
execution Loading commit data...
heap Loading commit data...
interpreter Loading commit data...
libplatform Loading commit data...
logging Loading commit data...
numbers Loading commit data...
objects Loading commit data...
parser Loading commit data...
profiler Loading commit data...
regexp Loading commit data...
regress Loading commit data...
runtime Loading commit data...
strings Loading commit data...
tasks Loading commit data...
torque Loading commit data...
utils Loading commit data...
wasm Loading commit data...
zone Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
run-all-unittests.cc Loading commit data...
test-helpers.cc Loading commit data...
test-helpers.h Loading commit data...
test-utils.cc Loading commit data...
test-utils.h Loading commit data...
testcfg.py Loading commit data...
unittests.status Loading commit data...