mirror of
https://github.com/Vita3K/unicorn.git
synced 2024-11-23 21:39:44 +00:00
another attempt to fix #766
This commit is contained in:
parent
70db329749
commit
c3808179e1
@ -2,6 +2,7 @@
|
||||
#ifndef UNICORN_AUTOGEN_AARCH64_H
|
||||
#define UNICORN_AUTOGEN_AARCH64_H
|
||||
#define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_aarch64
|
||||
#define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_aarch64
|
||||
#define use_idiv_instructions_rt use_idiv_instructions_rt_aarch64
|
||||
#define tcg_target_deposit_valid tcg_target_deposit_valid_aarch64
|
||||
#define helper_power_down helper_power_down_aarch64
|
||||
|
@ -2,6 +2,7 @@
|
||||
#ifndef UNICORN_AUTOGEN_ARM_H
|
||||
#define UNICORN_AUTOGEN_ARM_H
|
||||
#define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_arm
|
||||
#define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_arm
|
||||
#define use_idiv_instructions_rt use_idiv_instructions_rt_arm
|
||||
#define tcg_target_deposit_valid tcg_target_deposit_valid_arm
|
||||
#define helper_power_down helper_power_down_arm
|
||||
|
@ -8,6 +8,7 @@ import sys
|
||||
|
||||
symbols = (
|
||||
'aarch64_tb_set_jmp_target',
|
||||
'ppc_tb_set_jmp_target',
|
||||
'use_idiv_instructions_rt',
|
||||
'tcg_target_deposit_valid',
|
||||
'helper_power_down',
|
||||
|
@ -2,6 +2,7 @@
|
||||
#ifndef UNICORN_AUTOGEN_M68K_H
|
||||
#define UNICORN_AUTOGEN_M68K_H
|
||||
#define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_m68k
|
||||
#define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_m68k
|
||||
#define use_idiv_instructions_rt use_idiv_instructions_rt_m68k
|
||||
#define tcg_target_deposit_valid tcg_target_deposit_valid_m68k
|
||||
#define helper_power_down helper_power_down_m68k
|
||||
|
@ -2,6 +2,7 @@
|
||||
#ifndef UNICORN_AUTOGEN_MIPS_H
|
||||
#define UNICORN_AUTOGEN_MIPS_H
|
||||
#define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_mips
|
||||
#define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_mips
|
||||
#define use_idiv_instructions_rt use_idiv_instructions_rt_mips
|
||||
#define tcg_target_deposit_valid tcg_target_deposit_valid_mips
|
||||
#define helper_power_down helper_power_down_mips
|
||||
|
@ -2,6 +2,7 @@
|
||||
#ifndef UNICORN_AUTOGEN_MIPS64_H
|
||||
#define UNICORN_AUTOGEN_MIPS64_H
|
||||
#define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_mips64
|
||||
#define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_mips64
|
||||
#define use_idiv_instructions_rt use_idiv_instructions_rt_mips64
|
||||
#define tcg_target_deposit_valid tcg_target_deposit_valid_mips64
|
||||
#define helper_power_down helper_power_down_mips64
|
||||
|
@ -2,6 +2,7 @@
|
||||
#ifndef UNICORN_AUTOGEN_MIPS64EL_H
|
||||
#define UNICORN_AUTOGEN_MIPS64EL_H
|
||||
#define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_mips64el
|
||||
#define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_mips64el
|
||||
#define use_idiv_instructions_rt use_idiv_instructions_rt_mips64el
|
||||
#define tcg_target_deposit_valid tcg_target_deposit_valid_mips64el
|
||||
#define helper_power_down helper_power_down_mips64el
|
||||
|
@ -2,6 +2,7 @@
|
||||
#ifndef UNICORN_AUTOGEN_MIPSEL_H
|
||||
#define UNICORN_AUTOGEN_MIPSEL_H
|
||||
#define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_mipsel
|
||||
#define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_mipsel
|
||||
#define use_idiv_instructions_rt use_idiv_instructions_rt_mipsel
|
||||
#define tcg_target_deposit_valid tcg_target_deposit_valid_mipsel
|
||||
#define helper_power_down helper_power_down_mipsel
|
||||
|
@ -2,6 +2,7 @@
|
||||
#ifndef UNICORN_AUTOGEN_POWERPC_H
|
||||
#define UNICORN_AUTOGEN_POWERPC_H
|
||||
#define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_powerpc
|
||||
#define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_powerpc
|
||||
#define use_idiv_instructions_rt use_idiv_instructions_rt_powerpc
|
||||
#define tcg_target_deposit_valid tcg_target_deposit_valid_powerpc
|
||||
#define helper_power_down helper_power_down_powerpc
|
||||
|
@ -2,6 +2,7 @@
|
||||
#ifndef UNICORN_AUTOGEN_SPARC_H
|
||||
#define UNICORN_AUTOGEN_SPARC_H
|
||||
#define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_sparc
|
||||
#define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_sparc
|
||||
#define use_idiv_instructions_rt use_idiv_instructions_rt_sparc
|
||||
#define tcg_target_deposit_valid tcg_target_deposit_valid_sparc
|
||||
#define helper_power_down helper_power_down_sparc
|
||||
|
@ -2,6 +2,7 @@
|
||||
#ifndef UNICORN_AUTOGEN_SPARC64_H
|
||||
#define UNICORN_AUTOGEN_SPARC64_H
|
||||
#define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_sparc64
|
||||
#define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_sparc64
|
||||
#define use_idiv_instructions_rt use_idiv_instructions_rt_sparc64
|
||||
#define tcg_target_deposit_valid tcg_target_deposit_valid_sparc64
|
||||
#define helper_power_down helper_power_down_sparc64
|
||||
|
@ -740,7 +740,7 @@ void tcg_gen_callN(TCGContext *s, void *func, TCGArg ret,
|
||||
} else {
|
||||
tcg_gen_ext32u_i64(s, temp, orig);
|
||||
}
|
||||
args[i] = GET_TCGV_I64(s, temp);
|
||||
args[i] = GET_TCGV_I64(temp);
|
||||
}
|
||||
}
|
||||
#endif /* TCG_TARGET_EXTEND_ARGS */
|
||||
|
@ -2,6 +2,7 @@
|
||||
#ifndef UNICORN_AUTOGEN_X86_64_H
|
||||
#define UNICORN_AUTOGEN_X86_64_H
|
||||
#define aarch64_tb_set_jmp_target aarch64_tb_set_jmp_target_x86_64
|
||||
#define ppc_tb_set_jmp_target ppc_tb_set_jmp_target_x86_64
|
||||
#define use_idiv_instructions_rt use_idiv_instructions_rt_x86_64
|
||||
#define tcg_target_deposit_valid tcg_target_deposit_valid_x86_64
|
||||
#define helper_power_down helper_power_down_x86_64
|
||||
|
Loading…
Reference in New Issue
Block a user