2009-12-01 Till Straumann <strauman@slac.stanford.edu>

* mpc6xx/mmu/bat.c, mpc6xx/mmu/pte121.c: skip data-
	streaming (dssall etc.) instructions on PPC_PSIM
	currently (unimplemented by PSIM :-( ).
This commit is contained in:
Till Straumann
2009-12-02 00:22:42 +00:00
parent 2c6a3e7e2e
commit 10098f951d
3 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2009-12-01 Till Straumann <strauman@slac.stanford.edu>
* mpc6xx/mmu/bat.c, mpc6xx/mmu/pte121.c: skip data-
streaming (dssall etc.) instructions on PPC_PSIM
currently (unimplemented by PSIM :-( ).
2009-11-17 Till Straumann <strauman@slac.stanford.edu> 2009-11-17 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_categories.c: * new-exceptions/bspsupport/ppc_exc_categories.c:

View File

@@ -211,8 +211,9 @@ do_dssall (void)
* MSR_VE is set hoping that * MSR_VE is set hoping that
* a) on non-altivec CPUs MSR_VE reads as zero * a) on non-altivec CPUs MSR_VE reads as zero
* b) all altivec CPUs use the same bit * b) all altivec CPUs use the same bit
* NOTE: psim doesn't implement dssall so we skip if we run on psim
*/ */
if (_read_MSR () & MSR_VE) { if ( (_read_MSR () & MSR_VE) && PPC_PSIM != get_ppc_cpu_type() ) {
/* this construct is needed because we don't know /* this construct is needed because we don't know
* if this file is compiled with -maltivec. * if this file is compiled with -maltivec.
* (I plan to add altivec support outside of * (I plan to add altivec support outside of

View File

@@ -905,8 +905,10 @@ do_dssall (void)
* MSR_VE is set hoping that * MSR_VE is set hoping that
* a) on non-altivec CPUs MSR_VE reads as zero * a) on non-altivec CPUs MSR_VE reads as zero
* b) all altivec CPUs use the same bit * b) all altivec CPUs use the same bit
*
* NOTE: psim doesn't implement dssall so we skip if we run on psim
*/ */
if (_read_MSR () & MSR_VE) { if ( (_read_MSR () & MSR_VE) && PPC_PSIM != get_ppc_cpu_type() ) {
/* this construct is needed because we don't know /* this construct is needed because we don't know
* if this file is compiled with -maltivec. * if this file is compiled with -maltivec.
* (I plan to add altivec support outside of * (I plan to add altivec support outside of