bsps/powerpc: Fix AltiVec enable

There must be an isync after the mtmsr to ensure that the AltiVec is
enabled for subsequent instructions.
This commit is contained in:
Sebastian Huber
2016-07-12 10:13:01 +02:00
parent 6f6cf78501
commit 814bd6e3ba
3 changed files with 3 additions and 0 deletions
@@ -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
*/
@@ -103,6 +103,7 @@ _start:
mfmsr r0
oris r0, r0, (1<<(31-16-6))
mtmsr r0
isync
/*
* set vscr and vrsave to known values
*/
@@ -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
*/