diff options
author | Claudio Bantaloukas <claudio.bantaloukas@arm.com> | 2024-06-07 13:59:02 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@arm.com> | 2024-06-12 14:58:35 +0100 |
commit | 72476aca8f585a026a54cf71ccdf7bed26db1903 (patch) | |
tree | 317b329a9873bc5308abd0476d0d5d6d36d6a533 /gas/doc | |
parent | 292b9a302933418abcb8b76b23e83af8028c659a (diff) | |
download | gdb-72476aca8f585a026a54cf71ccdf7bed26db1903.zip gdb-72476aca8f585a026a54cf71ccdf7bed26db1903.tar.gz gdb-72476aca8f585a026a54cf71ccdf7bed26db1903.tar.bz2 |
aarch64: add Branch Record Buffer extension instructions
The FEAT_BRBE extension provides two aliases of sys:
- brb iall (Invalidates all Branch records in the Branch Record Buffer)
- brb inj (Injects the Branch Record held in BRBINFINJ_EL1,
BRBSRCINJ_EL1, and BRBTGTINJ_EL1 into the Branch Record Buffer)
This patch adds:
- the feature option "brbe" that must be added for the aliases to be available
- a new operand flag AARCH64_OPND_Rt_IN_SYS_ALIASES that warns in a comment
when Rt is set to the non default value 0b11111 (it is constrained
unpredictable whether the instruction is undefined or behaves as if the Rt
field is set to 0b11111).
- a new operand flag AARCH64_OPND_BRBOP that encodes and decodes Op2 values
from bit 5
- support for the two brb aliases above
See:
- https://developer.arm.com/documentation/ddi0602/2024-03/Base-Instructions/BRB--Branch-Record-Buffer--an-alias-of-SYS-?lang=en
- https://developer.arm.com/documentation/ddi0601/2024-03/AArch64-Instructions/BRB-INJ--Branch-Record-Injection-into-the-Branch-Record-Buffer?lang=en
- https://developer.arm.com/documentation/ddi0601/2024-03/AArch64-Instructions/BRB-IALL--Invalidate-the-Branch-Record-Buffer?lang=en
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/c-aarch64.texi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi index b622f30..b29da1f 100644 --- a/gas/doc/c-aarch64.texi +++ b/gas/doc/c-aarch64.texi @@ -165,6 +165,8 @@ automatically cause those extensions to be disabled. @tab Enable BFloat16 to BFloat16 arithmetic for SVE2 and SME2. @item @code{bf16} @tab @code{fp} @tab Enable BFloat16 extension. +@item @code{brbe} @tab + @tab Enable the Branch Record Buffer extension. @item @code{chk} @tab @tab Enable the Check Feature Status Extension. @item @code{compnum} @tab @code{simd} |