Dan Gohman
a62715a542
[WebAssembly] Add an option to make get_local/set_local explicit.
...
This patch adds a pass, controlled by an option and off by default for
now, for making implicit get_local/set_local explicit. This simplifies
emitting wasm with MC.
Differential Revision: https://reviews.llvm.org/D25836
llvm-svn: 285009
2016-10-24 19:49:43 +00:00
Mehdi Amini
fa86e5fee9
Move the global variables representing each Target behind accessor function
...
This avoids "static initialization order fiasco"
Differential Revision: https://reviews.llvm.org/D25412
llvm-svn: 283702
2016-10-09 23:00:34 +00:00
Dan Gohman
9fe7dc9d06
[WebAssembly] Rename OPERAND_FP32IMM to OPERAND_F32IMM.
...
WebAssembly documentation consistently says "f32" rather than "fp32" to
describe 32-bit floating-point.
llvm-svn: 283146
2016-10-03 21:31:31 +00:00
Dan Gohman
8579fc81f5
[WebAssembly] Implement support for custom NaN bit patterns.
...
llvm-svn: 260968
2016-02-16 15:14:23 +00:00
Benjamin Kramer
96bd0333a7
Update wasm target for r258819.
...
llvm-svn: 258827
2016-01-26 18:21:38 +00:00
Dan Gohman
e694253126
[WebAssembly] Implement unaligned loads and stores.
...
Differential Revision: http://reviews.llvm.org/D16534
llvm-svn: 258779
2016-01-26 03:39:31 +00:00
Dan Gohman
2d32547aa5
[WebAssembly] Implement a prototype instruction encoder and disassembler.
...
This is using an extremely simple temporary made-up binary format, not the
official binary format (which isn't defined yet).
llvm-svn: 257440
2016-01-12 03:32:29 +00:00