tcg.h revision 4af48bf7c72ef1e201c64bd475377b5af9d8e8a1
1N/A#include "tcg-target.h"
1N/A#define tcg_regset_clear(d) (d) = 0
1N/A#define tcg_regset_set(d, s) (d) = (s)
1N/A#define tcg_regset_or(d, a, b) (d) = (a) | (b)
1N/A#define tcg_regset_and(d, a, b) (d) = (a) & (b)
1N/A#define tcg_regset_andnot(d, a, b) (d) = (a) & ~(b)
1N/A#define tcg_regset_not(d, a) (d) = ~(a)
1N/Atypedef struct TCGRelocation {
1N/A#define TCG_TYPE_I32 0
1N/A#ifdef DEBUG_TCGV
1N/A#define MAKE_TCGV_I32(x) (x)
1N/A#define MAKE_TCGV_I64(x) (x)
1N/A#define GET_TCGV_I32(t) (t)
1N/A#define GET_TCGV_I64(t) (t)
1N/A#define TEMP_VAL_DEAD 0
1N/A int next_free_temp;
1N/Atypedef struct TCGHelperInfo {
1N/Astruct TCGContext {
1N/A int nb_globals;
1N/A int nb_helpers;
1N/A int allocated_helpers;
1N/A int helpers_sorted;
1N/A#ifdef CONFIG_PROFILER
1N/A int temp_count_max;
1N/A return tcg_temp_new_internal_i32(0);
1N/A return tcg_temp_new_internal_i64(0);
1N/Atypedef struct TCGArgConstraint {
1N/A int *sorted_args;
1N/Atypedef struct TCGTargetOpDef {
unsigned int dead_iargs);
/* tcg-runtime.c */
#ifndef VBOX
__asm__ __volatile__("call *%%ecx" : "=a"(ret) : "a"(tb_ptr), "c" (&code_gen_prologue[0]) : "memory", "%edx", "cc")