Skip to content

Commit

Permalink
Introduce __ARM_ACLE_VERSION macro. (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielKristofKiss authored Mar 8, 2024
1 parent 66b1970 commit 9ec2de7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions main/acle.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ Armv8.4-A [[ARMARMv84]](#ARMARMv84). Support is added for the Dot Product intrin

* Changed the definition of the `__ARM_ACLE` macro to reflect the current
versioning scheme.
* Added `__ARM_ACLE_VERSION` to express a given ACLE version.
* Combined the SME `slice_base` and `slice_offset` arguments into a
single `slice` argument.
* Added the [Keyword attributes](#keyword-attributes) section.
Expand Down Expand Up @@ -1350,6 +1351,15 @@ version of this specification implemented. For instance, an implementation
implementing version 2.1 of the ACLE specification defined `__ARM_ACLE`
as `201`.

`__ARM_ACLE_VERSION(year, quarter, patch)` is defined to express a given
ACLE version. Returns with the version number in the same format as the
`__ARM_ACLE` does. Checking the minimum required ACLE version could be
written as:

``` c
#if __ARM_ACLE >= __ARM_ACLE_VERSION(2024, 1, 0)
```

## Endianness

`__ARM_BIG_ENDIAN` is defined as 1 if data is stored by default in
Expand Down

0 comments on commit 9ec2de7

Please sign in to comment.