bors[bot]
2695093a03
Merge #863
...
863: Rewrite Min/Max to handle all cases correctly. Fixes 545 spectest failures. r=nlewycky a=nlewycky
# Description
The llvm backend was not quite following the Wasm spec for {F32,F64,F32x4xF64x2}{Min,Max}. We used the `@llvm.minnum` and `@llvm.maxnum` intrinsics which don't handle the corner cases the same. When we tried to use `@llvm.minimum` and `@llvm.maximum` which do, we get an internal error from the x86 backend. I was hoping that crash would go away with the upgrade to LLVM 9, but it does not.
Reimplement these operations using plain LLVM instructions.
# Review
- [x] Add a short description of the the change to the CHANGELOG.md file
Co-authored-by: Nick Lewycky <nick@wasmer.io>
2019-10-09 22:24:07 +00:00
Nick Lewycky
158db4cee1
Remove exclusions for tests that appear to be passing right now.
2019-10-07 15:11:45 -07:00
Nick Lewycky
1a7f00f0af
Rewrite Min/Max to handle all cases correctly.
...
Fixes 545 spectest failures.
2019-10-03 18:19:12 -07:00
Nick Lewycky
ba68cfc2c6
Finish atomic operations for singlepass, excluding wait and notify.
2019-10-02 16:31:11 -07:00
Patrick Ventuzelo
ac321846e3
Merge branch 'master' into ventuzelo/fix-653-panic-memorydescriptor
2019-09-24 09:10:45 +02:00
Mark McCaskey
c4818f12dc
Update spectests to work with new Instance; use Arc<Mutex<>>
2019-09-23 13:43:01 -07:00
Patrick Ventuzelo
7deed3160b
cargo fmt
2019-09-20 18:59:36 +02:00
Patrick Ventuzelo
ca409f78c5
fix spectest
2019-09-20 18:54:05 +02:00
Nick Lewycky
05816e3221
This is no longer referring to the correct line.
...
It's supposed to be 352 which is already there.
2019-09-16 13:13:21 -07:00
Nick Lewycky
2108c908a4
Depending on the micro-arch, this function may trigger emission of a stack realignment. If it does, OSR can't statically prove that it's safe to insert a function call and asserts.
2019-09-16 12:14:10 -07:00
Syrus
d8471e2b6a
Improved docs with custom logo and favicon
2019-09-03 17:06:31 -07:00
Syrus
20c296ef2b
Fixed excludes
2019-09-01 10:21:46 -07:00
Syrus
416d8d13d1
Fix tests exclusion
2019-09-01 09:31:02 -07:00
Syrus
dc02d0e401
Comment LLVM SIMD spectests on Linux after OSR
2019-09-01 08:52:03 -07:00
Nick Lewycky
1568084d42
Add atomic.wast which we have zero failures on with the llvm backend.
...
Enable shared memory usage in simd.wast.
Exclude atomic.wast on singlepass and clif.
2019-08-20 11:17:52 -07:00
Nick Lewycky
7f3837abc5
Enable threads in spectests.
2019-08-19 10:51:14 -07:00
Brandon Fish
439e81d41e
Fix singlepass error when no function code present
2019-08-15 10:15:58 -06:00
Brandon Fish
8e46e797ac
Compare float bits in spectests assert return
2019-08-13 22:14:10 -06:00
Brandon Fish
0bf33662d1
Add missing LLVM imported memory functions
2019-08-13 20:07:55 -06:00
Brandon Fish
137ac206af
Return compile error (llvm) for setting immutable global
2019-08-13 17:59:04 -06:00
Syrus Akbary
5239cdb85a
Merge pull request #668 from wasmerio/feature/update-wabt-to-fix-names-spectests
...
Update WABT dep to fix names spectests
2019-08-13 00:13:36 -07:00
Brandon Fish
e76777ed9b
Finalize signatures & names when no function bodies
2019-08-12 20:22:54 -06:00
Brandon Fish
d695bd0c84
Update WABT dep to fixe names spectests
2019-08-12 15:35:32 -06:00
Brandon Fish
20cb7c0048
Merge branch 'master' into feature/unexclude-passing-elem-spec
2019-08-11 18:04:54 -06:00
Brandon Fish
c837b56678
Unexclude passing elem spec
2019-08-11 13:52:57 -06:00
Brandon Fish
f61fc5c298
Validate all initializers before finalizing
2019-08-11 13:28:47 -06:00
Brandon Fish
b7970fb982
Uncomment slow exclude test again
2019-08-10 17:11:32 -06:00
Brandon Fish
0b73776c84
Validate all memory data initializers before writing
2019-08-10 17:10:24 -06:00
Brandon Fish
228d562a3b
Re-use registered module instances in spectests
2019-08-10 15:56:25 -06:00
Brandon Fish
db5d8a5bf8
Push debug print to debug CI failure
2019-08-10 15:33:08 -06:00
Brandon Fish
a621b86286
Update windows excludes
2019-08-10 15:04:24 -06:00
Brandon Fish
bb8b4960b8
Remove filter which prevents initializer offset check
2019-08-10 13:59:31 -06:00
Brandon Fish
1584beebe6
Invalid table size for elems should produce link error
2019-08-10 12:13:14 -06:00
Brandon Fish
7f0c48b354
Add windows clif excludes
2019-08-08 21:12:36 -06:00
Brandon Fish
a7ff120dd9
Fix some spectest imports and namespace_table issue
2019-08-08 21:03:00 -06:00
Brandon Fish
1c32e2a4af
Add windows specific clif failures
2019-08-07 23:10:50 -06:00
Brandon Fish
0b0a77413e
Unexclude some now passing assert_unlinkable
2019-08-07 19:45:31 -06:00
Brandon Fish
dc8384ed22
Add windows specific excludes
2019-08-06 21:03:09 -06:00
Brandon Fish
b7236a58fc
Add support for platform star key skip exclude
2019-08-06 20:06:34 -06:00
Brandon Fish
8c13eae2b8
Allow platform specific excludes
2019-08-05 20:57:07 -06:00
Brandon Fish
a56aaeaaa3
Add additional spectest imports
2019-08-05 19:25:12 -06:00
Brandon Fish
03e1b3d8e8
Remove unnecessary println and make spectest runs nocapture
2019-08-05 18:58:51 -06:00
Brandon Fish
540520e54e
cargo fmt
2019-08-05 17:55:41 -06:00
Brandon Fish
c65abf8ff5
Delete unused commented out println
2019-08-05 17:52:44 -06:00
Brandon Fish
08eb113394
Output failures in exclude format and add all failures as excludes
2019-08-05 17:51:02 -06:00
Nick Lewycky
1d54a938f6
Fix a couple bugs testing NaNs. Add an exclusion list for LLVM min/max.
2019-08-05 15:38:03 -07:00
Brandon Fish
43ae30985c
Cleanup test runner
2019-08-04 16:44:27 -06:00
Brandon Fish
e3d78a1343
Implement allowed failures
2019-08-04 16:13:47 -06:00
Brandon Fish
b8610e799f
Update README.md, remove old README.md, remove old spectest code
2019-08-04 15:53:48 -06:00
Brandon Fish
93233eb4b4
Implement registered modules
2019-08-04 15:36:17 -06:00