Changeset 10098f9 in rtems


Ignore:
Timestamp:
Dec 2, 2009, 12:22:42 AM (9 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, master
Children:
af3fcf12
Parents:
2c6a3e7e
Message:

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

  • mpc6xx/mmu/bat.c, mpc6xx/mmu/pte121.c: skip data- streaming (dssall etc.) instructions on PPC_PSIM currently (unimplemented by PSIM :-( ).
Location:
c/src/lib/libcpu/powerpc
Files:
3 edited

Legend:

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

    r2c6a3e7e r10098f9  
     12009-12-01      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * mpc6xx/mmu/bat.c, mpc6xx/mmu/pte121.c: skip data-
     4        streaming (dssall etc.) instructions on PPC_PSIM
     5        currently (unimplemented by PSIM :-( ).
     6
    172009-11-17      Till Straumann <strauman@slac.stanford.edu>
    28
  • c/src/lib/libcpu/powerpc/mpc6xx/mmu/bat.c

    r2c6a3e7e r10098f9  
    212212   *  a) on non-altivec CPUs MSR_VE reads as zero
    213213   *  b) all altivec CPUs use the same bit
     214   * NOTE: psim doesn't implement dssall so we skip if we run on psim
    214215   */
    215   if (_read_MSR () & MSR_VE) {
     216  if ( (_read_MSR () & MSR_VE) && PPC_PSIM != get_ppc_cpu_type() ) {
    216217    /* this construct is needed because we don't know
    217218     * if this file is compiled with -maltivec.
  • c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.c

    r2c6a3e7e r10098f9  
    906906   *  a) on non-altivec CPUs MSR_VE reads as zero
    907907   *  b) all altivec CPUs use the same bit
     908   *
     909   * NOTE: psim doesn't implement dssall so we skip if we run on psim
    908910   */
    909   if (_read_MSR () & MSR_VE) {
     911  if ( (_read_MSR () & MSR_VE) && PPC_PSIM != get_ppc_cpu_type() ) {
    910912    /* this construct is needed because we don't know
    911913     * if this file is compiled with -maltivec.
Note: See TracChangeset for help on using the changeset viewer.