Changeset 36fad91 in rtems


Ignore:
Timestamp:
Aug 19, 2016, 5:38:07 AM (3 years ago)
Author:
Kevin Kirspel <Kevin-Kirspel@…>
Branches:
master
Children:
89a319a0
Parents:
fea392a
git-author:
Kevin Kirspel <Kevin-Kirspel@…> (08/19/16 05:38:07)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/19/16 05:40:45)
Message:

arm: Add VFP context validate support for ARMv5

Location:
cpukit/score/cpu/arm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/arm/arm-context-validate.S

    rfea392a r36fad91  
    4747        .section        .text
    4848
     49#ifdef __thumb__
    4950FUNCTION_THUMB_ENTRY(_CPU_Context_validate)
     51#else
     52FUNCTION_ENTRY(_CPU_Context_validate)
     53#endif
    5054
    5155        /* Save */
     
    100104        /* R3 contains the FPSCR */
    101105        vmrs    r3, FPSCR
    102         movs    r4, #0x001f
    103106#ifdef ARM_MULTILIB_ARCH_V7M
    104         movt    r4, #0xf000
     107        ldr     r4, =0xf000001f
    105108#else
    106         movt    r4, #0xf800
     109        ldr     r4, =0xf800001f
    107110#endif
    108111        bic     r3, r3, r4
  • cpukit/score/cpu/arm/arm-context-volatile-clobber.S

    rfea392a r36fad91  
    2121        .section        .text
    2222
     23#ifdef __thumb__
    2324FUNCTION_THUMB_ENTRY(_CPU_Context_volatile_clobber)
     25#else
     26FUNCTION_ENTRY(_CPU_Context_volatile_clobber)
     27#endif
    2428
    2529.macro clobber_register reg
     
    3034#ifdef ARM_MULTILIB_VFP
    3135        vmrs    r1, FPSCR
    32         movs    r2, #0x001f
    33         movt    r2, #0xf800
     36        ldr     r2, =0xf800001f
    3437        bic     r1, r1, r2
    3538        and     r2, r2, r0
Note: See TracChangeset for help on using the changeset viewer.