]> git.proxmox.com Git - mirror_qemu.git/commitdiff
PPC: Add VSX to hflags
authorAlexander Graf <agraf@suse.de>
Wed, 18 Dec 2013 08:21:02 +0000 (09:21 +0100)
committerAlexander Graf <agraf@suse.de>
Fri, 20 Dec 2013 00:58:10 +0000 (01:58 +0100)
We generate different code depending on whether MSR_VSX is set or
clear, so it needs to be part of our hflags too which indicate whether
we're still in the same translation block cache bucket.

Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/helper_regs.h

index a6d5e2fe2f1e75cbd436b5661b762af6956bb2d0..c02e8da4e40b84db1734630ef2e94ce31e437102 100644 (file)
@@ -56,7 +56,7 @@ static inline void hreg_compute_hflags(CPUPPCState *env)
     /* We 'forget' FE0 & FE1: we'll never generate imprecise exceptions */
     hflags_mask = (1 << MSR_VR) | (1 << MSR_AP) | (1 << MSR_SA) |
         (1 << MSR_PR) | (1 << MSR_FP) | (1 << MSR_SE) | (1 << MSR_BE) |
-        (1 << MSR_LE);
+        (1 << MSR_LE) | (1 << MSR_VSX);
     hflags_mask |= (1ULL << MSR_CM) | (1ULL << MSR_SF) | MSR_HVB;
     hreg_compute_mem_idx(env);
     env->hflags = env->msr & hflags_mask;