Re: [Qemu-devel] Adding a parameter to a helper

2012-07-31 Thread Jose Cano Reyes
Ok, I am going to try... In fact, I did it before posting Laurent, but I don't understand it completely. Anyway, thanks a lot for your help. Jose. El 31/07/12 17:14, Laurent Desnogues escribió: On Tue, Jul 31, 2012 at 5:09 PM, Jose Cano Reyes wrote: - So, how ca I obtain the

Re: [Qemu-devel] Adding a parameter to a helper

2012-07-31 Thread Jose Cano Reyes
btain the parameters "cpu_tmp2_i32" and "tcg_const_i32(MY_INT_VALUE)" from the args[0] and args[1] described in DEF_HELPER_FLAGS_2??? Jose. El 31/07/12 15:19, Laurent Desnogues escribió: On Mon, Jul 30, 2012 at 6:40 PM, Jose Cano Reyes wrote: I am trying to add a ne

[Qemu-devel] Adding a parameter to a helper

2012-07-30 Thread Jose Cano Reyes
Hi all, I am trying to add a new integer parameter to an existing helper and call this helper in "targeti386/translate.c". I have several problems: 1) I cannot add an integer parameter to the helper, the compiler says that it must be "TCGv_i32", despite I declare this new parameter as "int"