• Bill Budge's avatar
    [wasm][simd][x64] Improve F32x4Min, F32x4Max · f3dd0f48
    Bill Budge authored
    - Use a shorter code sequence for the most likely case (no NaNs or
      signed 0 errors), and use out-of-line code to handle those
      cases.
    - For the likely execution paths, F32x4Min goes from 8 to 6
      instructions, while F32x4Max goes from 9 to 6 instructions.
    - Code size increases by 2 and 3 instructions (the test and branch,
      and for max, an extra move.
    
    Bug: v8:8639
    Change-Id: I7966f652c89545e840ae493f25dd652b1e079b91
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2231653Reviewed-by: 's avatarZhi An Ng <zhin@chromium.org>
    Commit-Queue: Bill Budge <bbudge@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#68209}
    f3dd0f48
code-generator-x64.cc 173 KB