PNaCl uses the ILP32 data model, even on x86-64 (cf. the x32 ABI). Reactor instead always uses LP64 on 64-bit. The main technical difference is the ILP32 on x86-64 used the address- size override prefix (0x67) for every instruction that accesses memory, which makes it look at only the lower 32-bit part of base and index registers. Note this only works in a sandbox-like environment, where memory is allocated in the lower 4 GiB range, such as PNaCl. Bug: b/179832693 Change-Id: I068ddd12b1827e3babc49a06ddf26b932d2082c5 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/55468 Kokoro-Result: kokoro <noreply+kokoro@google.com> Tested-by:Nicolas Capens <nicolascapens@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| bloat | Loading commit data... | |
| crosstest | Loading commit data... | |
| docs | Loading commit data... | |
| pnacl-llvm | Loading commit data... | |
| runtime | Loading commit data... | |
| src | Loading commit data... | |
| unittest | Loading commit data... | |
| .clang-format | Loading commit data... | |
| .dir-locals.el | Loading commit data... | |
| .gitignore | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| DESIGN.rst | Loading commit data... | |
| LICENSE.TXT | Loading commit data... | |
| Makefile | Loading commit data... | |
| OWNERS | Loading commit data... | |
| README-wasm.md | Loading commit data... | |
| README.rst | Loading commit data... | |
| c2wasm-exe.sh | Loading commit data... | |
| codereview.settings | Loading commit data... | |
| fetch-torture-tests.sh | Loading commit data... |