diff options
author | Martyn Capewell <martyn.capewell@arm.com> | 2020-09-23 16:20:39 +0100 |
---|---|---|
committer | Martyn Capewell <martyn.capewell@arm.com> | 2020-09-23 16:20:39 +0100 |
commit | 63ceff5b7e5272a04f5e06a4b934edb1a0a06819 (patch) | |
tree | 892344f0362d19e9e14368f873a9a418724c42d1 /src | |
parent | 4c550938ab4d777286042394b1c9ee0cb4b778e7 (diff) | |
download | vixl-63ceff5b7e5272a04f5e06a4b934edb1a0a06819.tar.gz |
Define values for unallocated prefetch modes
The assembler API provides prefetch functions that accept an enumeration for
the prefetch mode, but that relies on C++ undefined behaviour when used with
integer mode specifiers absent from the enumeration. This patch adds those
unallocated values.
Change-Id: I03fce9158deed2dda43ed35e5c6cbc93a4c3f9af
Diffstat (limited to 'src')
-rw-r--r-- | src/aarch64/constants-aarch64.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/aarch64/constants-aarch64.h b/src/aarch64/constants-aarch64.h index bf93918d..d17c8894 100644 --- a/src/aarch64/constants-aarch64.h +++ b/src/aarch64/constants-aarch64.h @@ -427,6 +427,9 @@ enum PrefetchOperation { PLDL3KEEP = 0x04, PLDL3STRM = 0x05, + PrfUnallocated06 = 0x06, + PrfUnallocated07 = 0x07, + PLIL1KEEP = 0x08, PLIL1STRM = 0x09, PLIL2KEEP = 0x0a, @@ -434,12 +437,26 @@ enum PrefetchOperation { PLIL3KEEP = 0x0c, PLIL3STRM = 0x0d, + PrfUnallocated0e = 0x0e, + PrfUnallocated0f = 0x0f, + PSTL1KEEP = 0x10, PSTL1STRM = 0x11, PSTL2KEEP = 0x12, PSTL2STRM = 0x13, PSTL3KEEP = 0x14, - PSTL3STRM = 0x15 + PSTL3STRM = 0x15, + + PrfUnallocated16 = 0x16, + PrfUnallocated17 = 0x17, + PrfUnallocated18 = 0x18, + PrfUnallocated19 = 0x19, + PrfUnallocated1a = 0x1a, + PrfUnallocated1b = 0x1b, + PrfUnallocated1c = 0x1c, + PrfUnallocated1d = 0x1d, + PrfUnallocated1e = 0x1e, + PrfUnallocated1f = 0x1f, }; constexpr bool IsNamedPrefetchOperation(int op) { |