diff options
| author | Thomas Bauereiss | 2018-06-28 13:42:35 +0100 |
|---|---|---|
| committer | Thomas Bauereiss | 2018-06-28 15:04:58 +0100 |
| commit | 441de4e242777ddda47147176b3fd84832a088ed (patch) | |
| tree | 574e874d5c3ec50c91c4fa972420a896333025ea /src/bytecode_util.ml | |
| parent | 28b054b28a5dc32bb927e7093690f4fe74d65426 (diff) | |
Add patches to (monomorphised) AArch64
- Initialise fault typ field of result record to avoid an unitialised read that
can lead to an early return with a fault. This looks like a bug in the ASL
specification (the ASL tests probably assume that this field is initialised
with Fault_None).
- In ZeroExtend_slice_append (one of the helper functions for monomorphisation
rewrites), use extzv instead of ZeroExtend. It allows not only extension,
but also truncation, and in AArch64_TranslationTableWalk the
ZeroExtend_slice_append function is used to construct a 52 bit physical address
using parts of the 64 bit input address.
- Use the Lem library function for reversing endianness
Diffstat (limited to 'src/bytecode_util.ml')
0 files changed, 0 insertions, 0 deletions
