summaryrefslogtreecommitdiff
path: root/src/test-binary-reader.cc
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2020-07-29 17:52:38 -0700
committerGitHub <noreply@github.com>2020-07-29 17:52:38 -0700
commit5390bb0c51023aef254d9a637d84b79bef9c03db (patch)
tree2cbb20c6b742c664ab0d0eda6868c1d16031e2dd /src/test-binary-reader.cc
parent2402dedc1d95b75ba6a005c9ba686cb77f316c7f (diff)
downloadwabt-5390bb0c51023aef254d9a637d84b79bef9c03db.tar.gz
wabt-5390bb0c51023aef254d9a637d84b79bef9c03db.tar.bz2
wabt-5390bb0c51023aef254d9a637d84b79bef9c03db.zip
Update testsuite; fix conversion errors (#1502)
The interpreter and wasm2c were incorrectly handling some float-to-int conversions. For clarity, the wasm2c implementations of these conversions now matches the implementation in interp-math.h more closely (e.g. the numeric ranges are written as `x >= min && x <= max` in both cases). Quite a few wasm2c tests were previously being skipped, since wasm2c doesn't currently support multi-value; it's better instead to duplicate the tests here and disable the parts that are not supported so we don't lose test coverage.
Diffstat (limited to 'src/test-binary-reader.cc')
0 files changed, 0 insertions, 0 deletions