bsps/powerpc: Fix AltiVec enable

There must be an isync after the mtmsr to ensure that the AltiVec is
enabled for subsequent instructions.

Close #2760.
This commit is contained in:
Sebastian Huber
2016-07-12 10:02:40 +02:00
parent 3f72dda6ee
commit c6c4fce942
3 changed files with 3 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ __rtems_entry_point:
mfmsr r0
oris r0, r0, (1<<(31-16-6))
mtmsr r0
isync
/*
* set vscr and vrsave to known values
*/

View File

@@ -103,6 +103,7 @@ _start:
mfmsr r0
oris r0, r0, (1<<(31-16-6))
mtmsr r0
isync
/*
* set vscr and vrsave to known values
*/

View File

@@ -64,6 +64,7 @@ __rtems_entry_point:
mfmsr r0
oris r0, r0, (1<<(31-16-6))
mtmsr r0
isync
/*
* set vscr and vrsave to known values
*/