v8/test/cctest/wasm
ahaas fa5d09e547 [turbofan] Implement rounding of floats on x64 and ia32 without sse4.1.
The implementation sets the rounding mode flag and then uses the
cvtsd2si and cvtsi2sd instructions (convert between float and int) to do
the rounding. Input values outside int range either don't have to be
rounded anyways, or are rounded by calculating input + 2^52 - 2^52 for
positive inputs, or input -2^52 + 2^52 for negative inputs. The original
rounding mode is restored afterwards.

R=titzer@chromium.org

B=575379

Review URL: https://codereview.chromium.org/1584663007

Cr-Commit-Position: refs/heads/master@{#33367}
2016-01-18 16:10:09 +00:00
..
OWNERS Adding OWNERS files to test directories for wasm. 2015-12-14 14:22:15 +00:00
test-run-wasm-js.cc [wasm] Add more thorough tests for WASM->JS and JS->WASM parameters. 2016-01-18 14:29:28 +00:00
test-run-wasm-module.cc [wasm] Create a wrapper function for WASM.asmCompileRun(). 2016-01-18 15:39:44 +00:00
test-run-wasm.cc [turbofan] Implement rounding of floats on x64 and ia32 without sse4.1. 2016-01-18 16:10:09 +00:00
test-signatures.h Initial import of v8-native WASM. 2015-12-11 12:27:05 +00:00
wasm-run-utils.h Reland of [wasm] Add tests for JS wrappers to test-run-wasm. 2016-01-14 09:49:04 +00:00