-
Notifications
You must be signed in to change notification settings - Fork 65
Add intrinsics for the new FP conversions introduced by the 2024 dpISA #407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
amilendra
wants to merge
1
commit into
ARM-software:main
Choose a base branch
from
amilendra:2025-acle-fprcvt
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -461,6 +461,9 @@ Armv8.4-A [[ARMARMv84]](#ARMARMv84). Support is added for the Dot Product intrin | |
* Upgrade to [**Beta**](#current-status-and-anticipated-changes) | ||
support for modal 8-bit floating point intrinsics. | ||
|
||
#### Changes between ACLE Q2 2025 and ACLE Q3 2025 | ||
* Added support for FEAT_FPRCVT intrinsics and `__ARM_FEATURE_FPRCVT`. | ||
|
||
#### Changes for next release | ||
|
||
* Added feature test macro for FEAT_SSVE_FEXPA. | ||
|
@@ -2207,6 +2210,13 @@ ACLE intrinsics are available. This implies that `__ARM_FEATURE_SM4` and | |
floating-point absolute minimum and maximum instructions (FEAT_FAMINMAX) | ||
and if the associated ACLE intrinsics are available. | ||
|
||
### Floating-point to-from integer conversion intrinsics | ||
|
||
`__ARM_FEATURE_FPRCVT` is defined to `1` if there is hardware | ||
support for floating-point to integer and integer to floating-point | ||
conversion instructions. This includes the instructions FCVTAS, FCVTAU, FCVTMS, | ||
FCVTMU, FCVTNS, FCVTNU, FCVTPS, FCVTPU, FCVTZS, and FCVTZU (scalar SIMD&FP)). | ||
|
||
### Lookup table extensions | ||
|
||
`__ARM_FEATURE_LUT` is defined to 1 if there is hardware support for | ||
|
@@ -2590,6 +2600,7 @@ be found in [[BA]](#BA). | |
| [`__ARM_FEATURE_FP8DOT2`](#modal-8-bit-floating-point-extensions) | Modal 8-bit floating-point extensions | 1 | | ||
| [`__ARM_FEATURE_FP8DOT4`](#modal-8-bit-floating-point-extensions) | Modal 8-bit floating-point extensions | 1 | | ||
| [`__ARM_FEATURE_FP8FMA`](#modal-8-bit-floating-point-extensions) | Modal 8-bit floating-point extensions | 1 | | ||
| [`__ARM_FEATURE_FPRCVT`](#floating-point-to-from-integer-conversion-intrinsics) | Floating-point to/from integer conversion intrinsics | 1 | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above. This description is bit misleading in my opinioon. |
||
| [`__ARM_FEATURE_FRINT`](#availability-of-armv8.5-a-floating-point-rounding-intrinsics) | Floating-point rounding extension (Arm v8.5-A) | 1 | | ||
| [`__ARM_FEATURE_GCS`](#guarded-control-stack) | Guarded Control Stack | 1 | | ||
| [`__ARM_FEATURE_GCS_DEFAULT`](#guarded-control-stack) | Guarded Control Stack protection can be enabled | 1 | | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is bit misleading. we have floating point conversions even without this feature. This feature just enables us to do it within SIMD&FP reg file. I would also adjust the header to smth like:
SIMD&FP registers only floating-point conversions extension
or maybe just FPRCVT extension.
Listing all instructions here is also not necessary I think.