• Jeffrey Lee's avatar
    Add support for Cortex-A7 & Cortex-A15 FPUs. Add short vector mode emulation for Cortex-A7, A9, A15 · febc8da4
    Jeffrey Lee authored
    Detail:
      Makefile - Simplify decision about whether to include support code. More hardware needs it than not, so have a list of machine types which don't need it rather than a list of machine types which do.
      hdr/VFPSupport - Add definitions for new VFPSupport_Features reason code
      hdr/shared - Add some comments for extra clarity
      s/Instructions - Add support for emulating VFPv3 'VMOV immediate' instruction
      s/Module - Update hardware detection & support handlers to deal with Cortex-A7, Cortex-A9 and Cortex-A15, all of which report different subarchitectures and differ in method of reporting exceptions despite the fact they basically all have the same requirements as far as support code is concerned (support code only required if we want short vector emulation). Implement the new VFPSupport_Features reason code, which returns information about whether short vectors are supported.
      s/SupportCode - Extend support code to cope with Cortex-A7, A9, A15 & VMOV imm emulation.
      Test/features,ffb - Simple test of VFPSupport_Features SWI
      Test/test7,ffb - Test for VFPv3 'VMOV immediate' handling in scalar & vector mode (HW scalar implementation tested against SW vector implementation)
    Admin:
      Tested on ARM1176JZF-S, Cortex-A7, Cortex-A8, Cortex-A9
      Cortex-A15 supported tested 'in theory' by forcing appropriate support code to be installed on Cortex-A9
    
    
    Version 0.10. Tagged as 'VFPSupport-0_10'
    febc8da4
Instructions 16.9 KB