forked from Imagelibrary/rtems
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:
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user