diff options
| author | Dan Gohman <sunfish@mozilla.com> | 2015-07-06 17:27:37 -0700 |
|---|---|---|
| committer | Dan Gohman <sunfish@mozilla.com> | 2015-07-06 17:27:37 -0700 |
| commit | 603f84c21795de1cc516a690efa781d9b3c2f2c2 (patch) | |
| tree | caf74fc455aca0f4e03568de35be41d63ac595ab /CAndC++.md | |
| parent | 1476df2e6dc693d61fd5107ff5d9369cd86dd35c (diff) | |
| download | nanowasm-design-603f84c21795de1cc516a690efa781d9b3c2f2c2.tar.gz | |
Fix several link anchor names.
Diffstat (limited to 'CAndC++.md')
| -rw-r--r-- | CAndC++.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -17,7 +17,7 @@ that `int`, `long`, and pointer types are all 32-bit. The `long long` type is 64-bit. In the future, WebAssembly will be extended to support -[64-bit address spaces](FutureFeatures.md#Heaps-bigger-than-4GiB). This +[64-bit address spaces](FutureFeatures.md#linear-memory-bigger-than-4gib). This will enable an LP64 data model as well, meaning that `long` and pointer types will be 64-bit, while `int` is 32-bit. From a C/C++ perspective, this will be a separate mode from ILP32, with a separate ABI. @@ -37,7 +37,7 @@ greater performance will be added soon after, including: C++ exceptions can be implemented without this, but this feature will enable them to have lower runtime overhead. - * Support for [128-bit SIMD](PostMVP.md#fixed-width-SIMD). SIMD will be + * Support for [128-bit SIMD](PostMVP.md#fixed-width-simd). SIMD will be exposed to C/C++ though explicit APIs such as [LLVM's vector extensions] and [GCC's vector extensions], auto-vectorization, and emulated APIs from other platforms such as `<xmmintrin.h>`. @@ -78,7 +78,7 @@ optimizers still assume that undefined behavior won't occur, so such bugs can still lead to surprising behavior. For example, while unaligned memory access is -[fully defined](AstSemantics.md#Alignment) in WebAssembly, C and C++ compilers +[fully defined](AstSemantics.md#alignment) in WebAssembly, C and C++ compilers make no guarantee that a (non-packed) unaligned memory access at the source level is harmlessly translated into an unaligned memory access in WebAssembly. And in practice, popular C and C++ compilers do optimize on the assumption that |
