mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
target-ppc: Support VSX in PPC User Mode
Some modern tool chains use VSX instructions. Therefore attempt to enable the VSX MSR bit by default, just like similar bits (FP, VEC, SPE, etc.). Signed-off-by: Tom Musta <tommusta@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
9c35126c56
commit
5b274ed74d
1 changed files with 1 additions and 0 deletions
|
@ -9313,6 +9313,7 @@ static void ppc_cpu_reset(CPUState *s)
|
|||
#if defined(CONFIG_USER_ONLY)
|
||||
msr |= (target_ulong)1 << MSR_FP; /* Allow floating point usage */
|
||||
msr |= (target_ulong)1 << MSR_VR; /* Allow altivec usage */
|
||||
msr |= (target_ulong)1 << MSR_VSX; /* Allow VSX usage */
|
||||
msr |= (target_ulong)1 << MSR_SPE; /* Allow SPE usage */
|
||||
msr |= (target_ulong)1 << MSR_PR;
|
||||
#if !defined(TARGET_WORDS_BIGENDIAN)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue