Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-11] src/sys/arch/aarch64/aarch64



Module Name:    src
Committed By:   martin
Date:           Fri Sep 18 15:58:13 UTC 2026

Modified Files:
        src/sys/arch/aarch64/aarch64 [netbsd-11]: fpu.c

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #471):

        sys/arch/aarch64/aarch64/fpu.c: revision 1.15

arm64: don't consult mvfr1_el1 for AArch64 fp capabilities

The MVFR1_EL1 register describes features for the AArch32 AdvSIMD and FP
implementation and the contents of this register are UNKNOWN when FEAT_AA32
is not implemented.

So let's ignore this register and just set FPCR defaults for IEEE 754
compatibility.

Before this change, 7 tests in lib/libm failed on a VMware Fusion VM
(Apple M4 Pro) where MVFR1_EL1 reads as zero. With this change, all
tests pass.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.13.12.1 src/sys/arch/aarch64/aarch64/fpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index