• Zhi An Ng's avatar
    Reland "[wasm-simd] Add more tests for v128 load zero" · 07b21f64
    Zhi An Ng authored
    This relands commit 61b56d16
    
    The fix is to capture variables used in the lambda.
    
    Original change's description:
    > [wasm-simd] Add more tests for v128 load zero
    >
    > Add tests for all valid alignments, and using memarg immediate offset
    > instead of i32 index.
    >
    > Also randomize the memory to help catch cases where we are loading
    more
    > than we should, and accidentally get correct values with zero-ed
    memory.
    >
    > Bug: v8:10713
    > Change-Id: I443c2799ba0d539bf23c63760c08e18c4d36607f
    > Reviewed-on:
    https://chromium-review.googlesource.com/c/v8/v8/+/2487880
    > Reviewed-by: Bill Budge <bbudge@chromium.org>
    > Commit-Queue: Zhi An Ng <zhin@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#70693}
    
    Bug: v8:10713
    Change-Id: Ib8fa58c6600d85a37fc0b6647ddbdb991f3b1c04
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2497382Reviewed-by: 's avatarBill Budge <bbudge@chromium.org>
    Commit-Queue: Zhi An Ng <zhin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70769}
    07b21f64
test-run-wasm-simd.cc 163 KB