mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
proper helper definition registering (all targets must do that)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4530 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
4dc81f2822
commit
437a88a51c
3 changed files with 358 additions and 350 deletions
|
@ -7075,6 +7075,11 @@ void optimize_flags_init(void)
|
|||
TCG_AREG0, offsetof(CPUState, cc_src), "cc_src");
|
||||
cpu_cc_dst = tcg_global_mem_new(TCG_TYPE_TL,
|
||||
TCG_AREG0, offsetof(CPUState, cc_dst), "cc_dst");
|
||||
|
||||
/* register helpers */
|
||||
|
||||
#define DEF_HELPER(ret, name, params) tcg_register_helper(name, #name);
|
||||
#include "helper.h"
|
||||
}
|
||||
|
||||
/* generate intermediate code in gen_opc_buf and gen_opparam_buf for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue