diff options
author | Andy Wingo <wingo@igalia.com> | 2020-04-20 21:10:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-20 12:10:19 -0700 |
commit | d041025854ba2b00b3df9f308914c8aba05dcda9 (patch) | |
tree | 2066b1cef60effa9c2a0ef7cf13cf65a34f23b1b /src/interp/interp.cc | |
parent | 952c3b8006911a8659c1b922c3bb4adffc671d89 (diff) | |
download | wabt-d041025854ba2b00b3df9f308914c8aba05dcda9.tar.gz wabt-d041025854ba2b00b3df9f308914c8aba05dcda9.tar.bz2 wabt-d041025854ba2b00b3df9f308914c8aba05dcda9.zip |
Add support for atomic.fence from the threads proposal (#1231)
See https://github.com/WebAssembly/threads/pull/141 for the binary
encoding. This patch does add a field to AtomicFenceExpr for the
consistency model, though without a type for the time being.
Diffstat (limited to 'src/interp/interp.cc')
-rw-r--r-- | src/interp/interp.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interp/interp.cc b/src/interp/interp.cc index 57b0750f..f58dcd9f 100644 --- a/src/interp/interp.cc +++ b/src/interp/interp.cc @@ -1607,6 +1607,7 @@ RunResult Thread::StepInternal(Trap::Ptr* out_trap) { case O::I16X8Abs: return DoSimdUnop(IntAbs<u16>); case O::I32X4Abs: return DoSimdUnop(IntAbs<u32>); + case O::AtomicFence: case O::AtomicNotify: case O::I32AtomicWait: case O::I64AtomicWait: |