On Oct 31, 2016, at 4:39 AM, Peter Maydell wrote:
> On 31 October 2016 at 03:13, Programmingkid wrote:
>> I'm trying to print the value of the arguments sent to
>> gen_fmadds() in target-ppc/translate/fp-impl.inc.c. How
>> do I do this? I have tried printf("cpu_fpr[rA(ctx->opcode)] = %d\n",
>> c
On 31 October 2016 at 03:13, Programmingkid wrote:
> I'm trying to print the value of the arguments sent to
> gen_fmadds() in target-ppc/translate/fp-impl.inc.c. How
> do I do this? I have tried printf("cpu_fpr[rA(ctx->opcode)] = %d\n",
> cpu_fpr[rA(ctx->opcode)]), but that always prints the same
I'm trying to print the value of the arguments sent to gen_fmadds() in
target-ppc/translate/fp-impl.inc.c. How do I do this? I have tried
printf("cpu_fpr[rA(ctx->opcode)] = %d\n", cpu_fpr[rA(ctx->opcode)]), but that
always prints the same value of 138 even if I change the values sent to fmadds.