[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-commits
Subject:    [PATCH] D58742: [WebAssembly] Remove uses of ThreadModel
From:       Dan Gohman via Phabricator via cfe-commits <cfe-commits () lists ! llvm ! org>
Date:       2019-02-28 18:54:57
Message-ID: 04c6e9fb85e1505e3c2c2cdf6073de1c () localhost ! localdomain
[Download RAW message or body]

sunfish added a comment.

Wasm gives users reasons to want -mthread-model single that other architectures \
don't, even when -matomics is enabled by default.

When shared memory is used, wasm requires modules to declare a max memory size, which \
is a burden on applications that want to use dynamic amounts of memory. Wasm is more \
sensitive to code size than most other architectures. And, interoperating with \
single-threaded JS is easier from single-threaded wasm (JS has access to \
SharedArrayBuffer and atomics, but not all JS wants to use that).


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58742/new/

https://reviews.llvm.org/D58742



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic