Ignore:
Timestamp:
Dec 2, 2009, 12:22:42 AM (12 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, 5, 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 :-( ).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.
Note: See TracChangeset for help on using the changeset viewer.