Skip to content

Commit ce24833

Browse files
authored
Merge pull request #5164 from pmsjt/patch-2
Update the ABI to support Floating-Point Exceptions.
2 parents 63f278e + ea29a83 commit ce24833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/build/arm64-windows-abi-conventions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Like AArch32, the AArch64 specification provides three system-controlled "thread
118118

119119
## Floating-point exceptions
120120

121-
Support for IEEE floating-point exceptions is optional on AArch64 systems. For processor variants that do have hardware floating-point exceptions, the Windows kernel silently catches the exceptions and implicitly disables them in the FPCR register. This trap ensures normalized behavior across processor variants. Otherwise, code developed on a platform without exception support may find itself taking unexpected exceptions when running on a platform with support.
121+
Support for IEEE floating-point exceptions on AArch64 systems is optional. This can be verified by writing a value that enables exceptions to the `FPCR` register and then reading it back. The bits corresponding to supported exceptions will remain set, while the bits corresponding to unsupported exceptions will be reset by the CPU.
122122

123123
## Parameter passing
124124

0 commit comments

Comments
 (0)