diff options
author | Robin Murphy <[email protected]> | 2018-02-05 15:34:17 +0000 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2018-02-06 22:53:30 +0000 |
commit | 022620eed3d0bc4bf2027326f599f5ad71c2ea3f (patch) | |
tree | 0cd3dd01891e13b6ba99ee80eefe75e661ec473e /scripts/gdb/linux/lists.py | |
parent | 669474e772b952b14f4de4845a1558fd4c0414a4 (diff) |
arm64: Implement array_index_mask_nospec()
Provide an optimised, assembly implementation of array_index_mask_nospec()
for arm64 so that the compiler is not in a position to transform the code
in ways which affect its ability to inhibit speculation (e.g. by introducing
conditional branches).
This is similar to the sequence used by x86, modulo architectural differences
in the carry/borrow flags.
Reviewed-by: Mark Rutland <[email protected]>
Signed-off-by: Robin Murphy <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions