mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8bded2e73e
The XT check for the lxvx/stxvx instructions is currently
inverted. This was introduced during the move to decodetree.
>From the ISA:
Chapter 7. Vector-Scalar Extension Facility
Load VSX Vector Indexed X-form
lxvx XT,RA,RB
if TX=0 & MSR.VSX=0 then VSX_Unavailable()
if TX=1 & MSR.VEC=0 then Vector_Unavailable()
...
Let XT be the value 32×TX + T.
The code currently does the opposite:
if (paired || a->rt >= 32) {
REQUIRE_VSX(ctx);
} else {
REQUIRE_VECTOR(ctx);
}
This was already fixed for lxv/stxv at commit "2cc0e449d1 (target/ppc:
Fix lxv/stxv MSR facility check)", but the indexed forms were missed.
Cc: qemu-stable@nongnu.org
Fixes:
|
2 months ago | |
---|---|---|
.. | ||
bhrb-impl.c.inc | 7 months ago | |
branch-impl.c.inc | 7 months ago | |
dfp-impl.c.inc | 1 year ago | |
fixedpoint-impl.c.inc | 7 months ago | |
fp-impl.c.inc | 7 months ago | |
fp-ops.c.inc | 7 months ago | |
misc-impl.c.inc | 7 months ago | |
processor-ctrl-impl.c.inc | 7 months ago | |
spe-impl.c.inc | 1 year ago | |
spe-ops.c.inc | ||
storage-ctrl-impl.c.inc | 7 months ago | |
vmx-impl.c.inc | 4 months ago | |
vmx-ops.c.inc | 4 months ago | |
vsx-impl.c.inc | 2 months ago | |
vsx-ops.c.inc | 4 months ago |