aboutsummaryrefslogtreecommitdiff
path: root/FAQ.md
diff options
context:
space:
mode:
authorDan Gohman <sunfish@mozilla.com>2015-08-21 08:26:54 -0700
committerDan Gohman <sunfish@mozilla.com>2015-08-21 08:26:54 -0700
commit773dca0adefcdd44e6cbced6507822c1bfdb94d8 (patch)
treedf9e2d7bc5165ede2b5896f4549f5f214f56494f /FAQ.md
parent5a0c997f03067721eebc5ce4999ea0b2a8726b80 (diff)
parentfc93b347c35666ee5334e621a076fdbdd167127b (diff)
downloadnanowasm-design-773dca0adefcdd44e6cbced6507822c1bfdb94d8.tar.gz
Merge pull request #265 from WebAssembly/jit-library
Add a page about a JIT/Optimization library idea.
Diffstat (limited to 'FAQ.md')
-rw-r--r--FAQ.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/FAQ.md b/FAQ.md
index c02c61d..ef756b9 100644
--- a/FAQ.md
+++ b/FAQ.md
@@ -220,7 +220,7 @@ WebAssembly implementations run on the user side, so there is no opportunity for
* Many of the important fast-math optimizations happen in the mid-level optimizer of a compiler, before WebAssembly code is emitted. For example, loop vectorization that depends on floating point reassociation can still be done at this level if the user applies the appropriate fast-math flags, so WebAssembly programs can still enjoy these benefits. As another example, compilers can replace floating point division with floating point multiplication by a reciprocal in WebAssembly programs just as they do for other platforms.
- * Mid-level compiler optimizations may also be augmented by implementing them in a JIT library in WebAssembly. This would allow them to perform optimizations that benefit from having [information about the target](FeatureTest.md) and information about the source program semantics such as fast-math flags at the same time. For example, if SIMD types wider than 128-bit are added, it's expected that there would be feature tests allowing WebAssembly code to determine which SIMD types to use on a given platform.
+ * Mid-level compiler optimizations may also be augmented by implementing them in a [JIT library](JITLibrary.md) in WebAssembly. This would allow them to perform optimizations that benefit from having [information about the target](FeatureTest.md) and information about the source program semantics such as fast-math flags at the same time. For example, if SIMD types wider than 128-bit are added, it's expected that there would be feature tests allowing WebAssembly code to determine which SIMD types to use on a given platform.
* When WebAssembly [adds an FMA operation](FutureFeatures.md#additional-floating-point-operations), folding multiply and add sequences into FMA operators will be possible.