Description[wasm] Swap the implementation of SIMD compare ops using Gt/Ge insteas of Lt/Le
Currently SIMD integer comparison ops are implemented using Lt/Le, this is
sub-optimal on Intel, because all compares are done using pcmpgt(d/w/b) that
clobber the destination register, and will need additional instructions to
when using Lt/Le as the base implementation. This CL proposes moving to Gt/Ge
as the underlying implementation as this will only require swapping operands
on MIPS and is consistent with x86/ARM instructions.
BUG=v8:6020
R=bbudge@chromium.org, bmeurer@chromium.org, bradnelson@chromium.org
Review-Url: https://codereview.chromium.org/2874403002
Cr-Commit-Position: refs/heads/master@{#45440}
Committed: https://chromium.googlesource.com/v8/v8/+/eeefc74a1189aeed19228f728b60b0f187b5b1bd
Patch Set 1 #Patch Set 2 : Fix Mips #Patch Set 3 : Rebase #Patch Set 4 : Rebase #Patch Set 5 : Fix mips #Patch Set 6 : Fix mips #Patch Set 7 : Disable Simd lowering Compare ops test for ARM64 #Patch Set 8 : Rebase #Patch Set 9 : Rebase correctly #Patch Set 10 : Add Todo with bug reference #Messages
Total messages: 51 (42 generated)
|