|
| From: | Richard Henderson |
| Subject: | Re: [Qemu-devel] [PATCH v1 06/10] target/ppc: use tcg ops for neg instruction |
| Date: | Tue, 21 Feb 2017 06:54:10 +1100 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
On 02/20/2017 09:11 PM, Nikunj A Dadhania wrote:
static void gen_neg(DisasContext *ctx)
{
- gen_op_arith_neg(ctx, 0);
+ tcg_gen_neg_tl(cpu_gpr[rD(ctx->opcode)], cpu_gpr[rA(ctx->opcode)]);
}
NACK. You're forgetting "neg.". r~
| [Prev in Thread] | Current Thread | [Next in Thread] |