gecko-dev/js
Julian Seward 20e9dd7d5c Bug 1446930 - Wasm: basic (OOL) implementation of memory.fill and memory.copy. r=lth.
This patch adds an initial implementation, along with test cases, for the
memory.fill and memory.copy instructions that form part of the
bulk-memory-operations proposal at
https://github.com/WebAssembly/bulk-memory-operations/blob/master/proposals/bulk-memory-operations/Overview.md.

This covers code generation for the baseline and optimising compilers, as
well as supporting infrastructure for conversion to/from binary and text
representations.

The implementation is simple in the sense that -- for both compilers -- it
is done by a call to a helper function, which eventually devolves to a call
to memset/memmove respectively.

Per subsequent clarification requests:

* https://github.com/WebAssembly/bulk-memory-operations/issues/8
  The arguments to these instructions are all interpreted as unsigned 32 bit
  ints.

* https://github.com/WebAssembly/bulk-memory-operations/issues/11
  Zero length fills/copies that have starting point offsets out of bounds
  trap rather than are treated as no-ops.

--HG--
extra : rebase_source : 79c74cbe467905f03b796428ee80b643c105ca72
2018-05-04 23:14:09 +02:00
..
ductwork/debugger Bug 1453869 part 10. Stop constructing DOMParser by contract. r=mrbkap 2018-04-20 23:04:45 -04:00
examples Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
ipc Bug 1445551: Part 3 - Remove AllowCPOWsInAddon machinery. r=mccr8 2018-03-13 19:20:17 -07:00
public Bug 1458567 part 1 - Don't invoke interrupt callback and Debugger onStep hook for internal JS engine interrupts. r=luke 2018-05-03 16:01:01 +02:00
rust Bug 1451248. r=jorendorff, r=bz 2018-04-25 19:40:09 -07:00
src Bug 1446930 - Wasm: basic (OOL) implementation of memory.fill and memory.copy. r=lth. 2018-05-04 23:14:09 +02:00
xpconnect Bug 1458215 - Handle the optional service name in XPCOMUtils.defineLazyServiceGetters. r=kmag 2018-05-01 13:51:53 +01:00
app.mozbuild Bug 1431090 - Add FuzzingInterface support to JS engine. r=jandem 2018-01-17 17:05:04 +01:00
ffi.configure
moz.build Bug 1403322: Switch jsreftests, jittests, test-verify to SCHEDULES; r=ahal 2017-12-20 00:39:21 +00:00
moz.configure Bug 1440417: Determine JS_64BIT at configure time. r=froydnj 2018-02-22 10:40:00 +02:00