alpha: remove unused variable
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
b6fb147cc0
commit
efa6435159
|
@ -1661,7 +1661,10 @@ static void gen_mtpr(int rb, int regno)
|
||||||
static ExitStatus translate_one(DisasContext *ctx, uint32_t insn)
|
static ExitStatus translate_one(DisasContext *ctx, uint32_t insn)
|
||||||
{
|
{
|
||||||
uint32_t palcode;
|
uint32_t palcode;
|
||||||
int32_t disp21, disp16, disp12;
|
int32_t disp21, disp16;
|
||||||
|
#ifndef CONFIG_USER_ONLY
|
||||||
|
int32_t disp12;
|
||||||
|
#endif
|
||||||
uint16_t fn11;
|
uint16_t fn11;
|
||||||
uint8_t opc, ra, rb, rc, fpfn, fn7, islit, real_islit;
|
uint8_t opc, ra, rb, rc, fpfn, fn7, islit, real_islit;
|
||||||
uint8_t lit;
|
uint8_t lit;
|
||||||
|
@ -1681,7 +1684,9 @@ static ExitStatus translate_one(DisasContext *ctx, uint32_t insn)
|
||||||
palcode = insn & 0x03FFFFFF;
|
palcode = insn & 0x03FFFFFF;
|
||||||
disp21 = ((int32_t)((insn & 0x001FFFFF) << 11)) >> 11;
|
disp21 = ((int32_t)((insn & 0x001FFFFF) << 11)) >> 11;
|
||||||
disp16 = (int16_t)(insn & 0x0000FFFF);
|
disp16 = (int16_t)(insn & 0x0000FFFF);
|
||||||
|
#ifndef CONFIG_USER_ONLY
|
||||||
disp12 = (int32_t)((insn & 0x00000FFF) << 20) >> 20;
|
disp12 = (int32_t)((insn & 0x00000FFF) << 20) >> 20;
|
||||||
|
#endif
|
||||||
fn11 = (insn >> 5) & 0x000007FF;
|
fn11 = (insn >> 5) & 0x000007FF;
|
||||||
fpfn = fn11 & 0x3F;
|
fpfn = fn11 & 0x3F;
|
||||||
fn7 = (insn >> 5) & 0x0000007F;
|
fn7 = (insn >> 5) & 0x0000007F;
|
||||||
|
|
Loading…
Reference in a new issue