7 ms·
The same code would be an ordinary compiler correctness bug on a conventional architecture, because the second load could trap when reading from an invalid addr
by cwzwarich 8y ago
The same code would be an ordinary compiler correctness bug on a conventional architecture, because the second load could trap when reading from an invalid address. Itanium and Mill offer instructions that don’t trap, return an invalid value instead, and allow the trap to be forced later (if desired). This is fundamentally new functionality that exposes new vulnerabilities if it is used in certain ways.
- Symmetry 8y agoAh, right, that makes a lot of sense.