• Jeffrey Lee's avatar
    Don't claim to support software emulation of short vectors if the FPSCR... · 07248a44
    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
Module 43.5 KB