qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: [RFC PATCH v1 0/1] Add helper_print functions for printing inter


From: Chao Liu
Subject: Re: Re: [RFC PATCH v1 0/1] Add helper_print functions for printing intermediate results of complex instructions in RISC-V target
Date: Sun, 24 Nov 2024 03:08:32 +0800

Currently, the v1-patch is not yet capable of achieving the desired effect.
It still requires passing the number of variable arguments to the helper_print()
function:

     static bool gen_lr(DisasContext *ctx, arg_atomic *a, MemOp mop)
     {
         TCGv src1;
 
         decode_save_opc(ctx, 0);
         src1 = get_address(ctx, a->rs1, 0);
         gen_helper_print(2, "src1 %x\n", src1);
         ...
         return true;
     }

Regards,
Chao




reply via email to

[Prev in Thread] Current Thread [Next in Thread]