Commits (3)
-
Ben Avison authored
Detail: Replace conditionally executed undefined instructions with branches over on opposite condition. Admin: Tested on Raspberry Pi 3. Version 0.11. Tagged as 'VFPSupport-0_11'
dbed9538 -
Jeffrey Lee authored
Don't claim to support software emulation of short vectors if the FPSCR doesn't implement the LEN/STRIDE fields Detail: In ARMv8, VFP short vectors are completely obsolete, to the point where implementations aren't even required to implement the FPSCR fields that control their operation. Our software short vector emulation relies on the hardware taking the undefined instruction vector when a VFP data processing op is executed with the LEN/STRIDE fields set to non-zero values; if those fields are hard-wired to zero then our emulation can never be run. File changes: - s/Module - Check whether FPSCR LEN+STRIDE fields are implemented before deciding whether to install the short vector support code - Test/test7,ffb - Refuse to run if short vectors aren't supported (whether hardware or software). Bail out early if we spot an FPSCR inconsistency. Admin: Tested on Cortex-A53, Cortex-A7 Version 0.12. Tagged as 'VFPSupport-0_12'
07248a44 -
Jeffrey Lee authored
Detail: hdr/VFPSupport - Define VFPSupport_Features reason code 3, for reading extra feature registers s/Macros - Use ELIF to shorten myVMRS & myVMSR macros. Add MVFR2 support to myVMRS. s/Module - Implement VFPSupport_Features 3, for reading MVFR2 (and three other values reserved for future proofing). Since there doesn't seem to be an easy way of detecting the presence of MVFR2, we fall back on a list of known-good FPSID values, like with MVFR0/MVFR1 on pre-VFPv3 systems. Also update VFPSupport_ChangeContext to do a dummy load from the new VFP context, to help trap bad contexts before we've updated our state to indicate that that context is active. Test/features,ffb - Add VFPSupport_Features 3 output Admin: Tested on Raspberry Pi 1, 2, 3 Version 0.13. Tagged as 'VFPSupport-0_13'
9dadbd27
Showing
No preview for this file type
No preview for this file type