Changeset af0d586 in rtems


Ignore:
Timestamp:
Dec 2, 2009, 1:51:22 AM (9 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, master
Children:
8f511f05
Parents:
6ce625e
Message:

2009-12-01 Till Straumann <strauman@…>

  • shared/start/start.S: Added AltiVec? support (initializing MSR[VE], VSCR and VRSAVE).
Location:
c/src/lib/libbsp/powerpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/ChangeLog

    r6ce625e raf0d586  
     12009-12-01      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * shared/start/start.S: Added AltiVec support (initializing
     4        MSR[VE], VSCR and VRSAVE).
     5
    162009-12-01      Till Straumann <strauman@slac.stanford.edu>
    27
  • c/src/lib/libbsp/powerpc/shared/start/start.S

    r6ce625e raf0d586  
    88 *  http://www.rtems.com/license/LICENSE.
    99 *
     10<<<<<<< start.S
    1011 *  $Id$
     12=======
     13 *  $Id$
     14>>>>>>> 1.25
    1115 *
    1216 */
     
    6165        mr      r28,r6
    6266        mr      r27,r7
     67
     68#ifdef __ALTIVEC__
     69        /* enable altivec; gcc may use it! */
     70        mfmsr r0
     71        oris  r0, r0, (1<<(31-16-6))
     72        mtmsr r0
     73        /*
     74         * set vscr and vrsave to known values
     75         */
     76        li    r0, 0
     77        mtvrsave r0
     78        vxor   0,0,0
     79        mtvscr 0
     80#endif
     81
    6382        /*
    6483         * Make sure we have nothing in BATS and TLB
Note: See TracChangeset for help on using the changeset viewer.