Commit cf4e9363 authored by Anton Blanchard's avatar Anton Blanchard Committed by David Gibson
Browse files

target/ppc: Fix xvxsigdp



Fix a typo in xvxsigdp where we put both results into the lower
doubleword.

Fixes: dd977e4f ("target/ppc: Optimize x[sv]xsigdp using deposit_i64()")
Signed-off-by: default avatarAnton Blanchard <anton@ozlabs.org>
Message-Id: <20190507004811.29968-1-anton@ozlabs.org>
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 83f192d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1820,7 +1820,7 @@ static void gen_xvxsigdp(DisasContext *ctx)
    tcg_gen_movi_i64(t0, 0x0010000000000000);
    tcg_gen_movcond_i64(TCG_COND_EQ, t0, exp, zr, zr, t0);
    tcg_gen_movcond_i64(TCG_COND_EQ, t0, exp, nan, zr, t0);
    tcg_gen_deposit_i64(xth, t0, xbl, 0, 52);
    tcg_gen_deposit_i64(xtl, t0, xbl, 0, 52);
    set_cpu_vsrl(xT(ctx->opcode), xtl);

    tcg_temp_free_i64(t0);