diff options
author | Ben Smith <binjimin@gmail.com> | 2018-12-19 12:36:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-19 12:36:52 -0800 |
commit | 052d2864ec4cc45a3aca4bab1a833d1cc45e29d6 (patch) | |
tree | 750baf33c065b7ed20121e10956fbb1f0800918a /test/interp/atomic-rmw-add.txt | |
parent | 3ac02b6d3cc5bc3ff6cfe57df312b2677ca83d75 (diff) | |
download | wabt-052d2864ec4cc45a3aca4bab1a833d1cc45e29d6.tar.gz wabt-052d2864ec4cc45a3aca4bab1a833d1cc45e29d6.tar.bz2 wabt-052d2864ec4cc45a3aca4bab1a833d1cc45e29d6.zip |
The great renaming (#985)
This huge PR does all the renaming as described in issue #933. It also
updates to the latest testsuite so the new names are used.
The old names of the MVP instructions are still supported for
convenience (though we should remove those too at some point), but the
old simd and atomic instruction names are no longer supported.
Diffstat (limited to 'test/interp/atomic-rmw-add.txt')
-rw-r--r-- | test/interp/atomic-rmw-add.txt | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/test/interp/atomic-rmw-add.txt b/test/interp/atomic-rmw-add.txt index 655629c8..0eac3404 100644 --- a/test/interp/atomic-rmw-add.txt +++ b/test/interp/atomic-rmw-add.txt @@ -5,22 +5,22 @@ ;; i32 - (func (export "i32.atomic.rmw8_u.add-result") (result i32) + (func (export "i32.atomic.rmw8.add_u-result") (result i32) i32.const 0 i32.const 1000000 i32.store - i32.const 0 i32.const 1 i32.atomic.rmw8_u.add) + i32.const 0 i32.const 1 i32.atomic.rmw8.add_u) - (func (export "i32.atomic.rmw8_u.add-memory") (result i32) + (func (export "i32.atomic.rmw8.add_u-memory") (result i32) i32.const 0 i32.const 1000000 i32.store - i32.const 0 i32.const 1 i32.atomic.rmw8_u.add drop + i32.const 0 i32.const 1 i32.atomic.rmw8.add_u drop i32.const 0 i32.load8_u) - (func (export "i32.atomic.rmw16_u.add-result") (result i32) + (func (export "i32.atomic.rmw16.add_u-result") (result i32) i32.const 0 i32.const 1000000 i32.store - i32.const 0 i32.const 1 i32.atomic.rmw16_u.add) + i32.const 0 i32.const 1 i32.atomic.rmw16.add_u) - (func (export "i32.atomic.rmw16_u.add-memory") (result i32) + (func (export "i32.atomic.rmw16.add_u-memory") (result i32) i32.const 0 i32.const 1000000 i32.store - i32.const 0 i32.const 1 i32.atomic.rmw16_u.add drop + i32.const 0 i32.const 1 i32.atomic.rmw16.add_u drop i32.const 0 i32.load16_u) (func (export "i32.atomic.rmw.add-result") (result i32) @@ -35,31 +35,31 @@ ;; i64 - (func (export "i64.atomic.rmw8_u.add-result") (result i64) + (func (export "i64.atomic.rmw8.add_u-result") (result i64) i32.const 0 i64.const 10000000000 i64.store - i32.const 0 i64.const 1 i64.atomic.rmw8_u.add) + i32.const 0 i64.const 1 i64.atomic.rmw8.add_u) - (func (export "i64.atomic.rmw8_u.add-memory") (result i64) + (func (export "i64.atomic.rmw8.add_u-memory") (result i64) i32.const 0 i64.const 10000000000 i64.store - i32.const 0 i64.const 1 i64.atomic.rmw8_u.add drop + i32.const 0 i64.const 1 i64.atomic.rmw8.add_u drop i32.const 0 i64.load8_u) - (func (export "i64.atomic.rmw16_u.add-result") (result i64) + (func (export "i64.atomic.rmw16.add_u-result") (result i64) i32.const 0 i64.const 10000000000 i64.store - i32.const 0 i64.const 1 i64.atomic.rmw16_u.add) + i32.const 0 i64.const 1 i64.atomic.rmw16.add_u) - (func (export "i64.atomic.rmw16_u.add-memory") (result i64) + (func (export "i64.atomic.rmw16.add_u-memory") (result i64) i32.const 0 i64.const 10000000000 i64.store - i32.const 0 i64.const 1 i64.atomic.rmw16_u.add drop + i32.const 0 i64.const 1 i64.atomic.rmw16.add_u drop i32.const 0 i64.load16_u) - (func (export "i64.atomic.rmw32_u.add-result") (result i64) + (func (export "i64.atomic.rmw32.add_u-result") (result i64) i32.const 0 i64.const 10000000000 i64.store - i32.const 0 i64.const 1 i64.atomic.rmw32_u.add) + i32.const 0 i64.const 1 i64.atomic.rmw32.add_u) - (func (export "i64.atomic.rmw32_u.add-memory") (result i64) + (func (export "i64.atomic.rmw32.add_u-memory") (result i64) i32.const 0 i64.const 10000000000 i64.store - i32.const 0 i64.const 1 i64.atomic.rmw32_u.add drop + i32.const 0 i64.const 1 i64.atomic.rmw32.add_u drop i32.const 0 i64.load32_u) (func (export "i64.atomic.rmw.add-result") (result i64) @@ -74,37 +74,37 @@ ;; Test bad alignment - (func (export "bad_align-i32.atomic.rmw16_u.add") - i32.const 1 i32.const 0 i32.atomic.rmw16_u.add drop) + (func (export "bad_align-i32.atomic.rmw16.add_u") + i32.const 1 i32.const 0 i32.atomic.rmw16.add_u drop) (func (export "bad_align-i32.atomic.rmw.add") i32.const 2 i32.const 0 i32.atomic.rmw.add drop) - (func (export "bad_align-i64.atomic.rmw16_u.add") - i32.const 1 i64.const 0 i64.atomic.rmw16_u.add drop) - (func (export "bad_align-i64.atomic.rmw32_u.add") - i32.const 2 i64.const 0 i64.atomic.rmw32_u.add drop) + (func (export "bad_align-i64.atomic.rmw16.add_u") + i32.const 1 i64.const 0 i64.atomic.rmw16.add_u drop) + (func (export "bad_align-i64.atomic.rmw32.add_u") + i32.const 2 i64.const 0 i64.atomic.rmw32.add_u drop) (func (export "bad_align-i64.atomic.rmw.add") i32.const 4 i64.const 0 i64.atomic.rmw.add drop) ) (;; STDOUT ;;; -i32.atomic.rmw8_u.add-result() => i32:64 -i32.atomic.rmw8_u.add-memory() => i32:65 -i32.atomic.rmw16_u.add-result() => i32:16960 -i32.atomic.rmw16_u.add-memory() => i32:16961 +i32.atomic.rmw8.add_u-result() => i32:64 +i32.atomic.rmw8.add_u-memory() => i32:65 +i32.atomic.rmw16.add_u-result() => i32:16960 +i32.atomic.rmw16.add_u-memory() => i32:16961 i32.atomic.rmw.add-result() => i32:1000000 i32.atomic.rmw.add-memory() => i32:1000001 -i64.atomic.rmw8_u.add-result() => i64:0 -i64.atomic.rmw8_u.add-memory() => i64:1 -i64.atomic.rmw16_u.add-result() => i64:58368 -i64.atomic.rmw16_u.add-memory() => i64:58369 -i64.atomic.rmw32_u.add-result() => i64:1410065408 -i64.atomic.rmw32_u.add-memory() => i64:1410065409 +i64.atomic.rmw8.add_u-result() => i64:0 +i64.atomic.rmw8.add_u-memory() => i64:1 +i64.atomic.rmw16.add_u-result() => i64:58368 +i64.atomic.rmw16.add_u-memory() => i64:58369 +i64.atomic.rmw32.add_u-result() => i64:1410065408 +i64.atomic.rmw32.add_u-memory() => i64:1410065409 i64.atomic.rmw.add-result() => i64:10000000000 i64.atomic.rmw.add-memory() => i64:10000000001 -bad_align-i32.atomic.rmw16_u.add() => error: atomic memory access is unaligned +bad_align-i32.atomic.rmw16.add_u() => error: atomic memory access is unaligned bad_align-i32.atomic.rmw.add() => error: atomic memory access is unaligned -bad_align-i64.atomic.rmw16_u.add() => error: atomic memory access is unaligned -bad_align-i64.atomic.rmw32_u.add() => error: atomic memory access is unaligned +bad_align-i64.atomic.rmw16.add_u() => error: atomic memory access is unaligned +bad_align-i64.atomic.rmw32.add_u() => error: atomic memory access is unaligned bad_align-i64.atomic.rmw.add() => error: atomic memory access is unaligned ;;; STDOUT ;;) |