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/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.