[PATCH 1/3] aarch64: Add FEAT_SPECRES2 support

Nick Clifton nickc@redhat.com
Tue Nov 7 10:57:48 GMT 2023


Hi Andrea,

> This patch add supports for FEAT_SPECRES2 "Enhanced speculation
> restriction instructions" adding the "cosp" instruction.
> 
> This is mandatory v8.9-a/v9.4-a and optional v8.0-a+/v9.0-a+.  It is
> enabled by the +predres2 march flag.
> ---
>   gas/config/tc-aarch64.c                        |  1 +
>   gas/doc/c-aarch64.texi                         |  2 ++
>   gas/testsuite/gas/aarch64/illegal-predres2-1.d |  3 +++
>   gas/testsuite/gas/aarch64/illegal-predres2-1.l |  5 +++++
>   gas/testsuite/gas/aarch64/predres2.d           | 10 ++++++++++
>   gas/testsuite/gas/aarch64/predres2.s           |  4 ++++
>   include/opcode/aarch64.h                       |  5 ++++-
>   opcodes/aarch64-tbl.h                          |  7 +++++++
>   8 files changed, 36 insertions(+), 1 deletion(-)
>   create mode 100644 gas/testsuite/gas/aarch64/illegal-predres2-1.d
>   create mode 100644 gas/testsuite/gas/aarch64/illegal-predres2-1.l
>   create mode 100644 gas/testsuite/gas/aarch64/predres2.d
>   create mode 100644 gas/testsuite/gas/aarch64/predres2.s

Approved - please apply.

Cheers
   Nick




More information about the Binutils mailing list