• Ng Zhi An's avatar
    Speed up asm-wasm tests · 982c4aba
    Ng Zhi An authored
    The asm-wasm-f32 and asm-wasm-f64 tests run through a bunch of different
    constants. For the binops, they run through a cross product of the
    inputs. This patch trims down the number of constants used.
    
    The selection of constants to remove is quite arbitrary - the intial
    patch introduced a lot of magic constants that look random or has some
    pattern. I don't think they mean anything special, especially for f64
    form since those values all fit in a f64. For f32 we still have a bunch
    of values to exceed the maximum integer representable in f32.
    
    Bug: v8:7783
    Change-Id: If34b084a11acdf21b1d2933fdd0cab65be1738c9
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2116988
    Commit-Queue: Zhi An Ng <zhin@chromium.org>
    Reviewed-by: 's avatarDeepti Gandluri <gdeepti@chromium.org>
    Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#66882}
    982c4aba
asm-wasm-f64.js 5.12 KB