1/* SPDX-License-Identifier: MIT */ 2/* 3 * Target independent opcode generation functions. 4 * 5 * Copyright (c) 2008 Fabrice Bellard 6 */ 7 8#ifndef TCG_TCG_OP_COMMON_H 9#define TCG_TCG_OP_COMMON_H 10 11#include "tcg/tcg.h" 12#include "exec/helper-proto-common.h" 13#include "exec/helper-gen-common.h" 14 15TCGv_i32 tcg_constant_i32(int32_t val); 16TCGv_i64 tcg_constant_i64(int64_t val); 17TCGv_vec tcg_constant_vec(TCGType type, unsigned vece, int64_t val); 18TCGv_vec tcg_constant_vec_matching(TCGv_vec match, unsigned vece, int64_t val); 19
| 1/* SPDX-License-Identifier: MIT */ 2/* 3 * Target independent opcode generation functions. 4 * 5 * Copyright (c) 2008 Fabrice Bellard 6 */ 7 8#ifndef TCG_TCG_OP_COMMON_H 9#define TCG_TCG_OP_COMMON_H 10 11#include "tcg/tcg.h" 12#include "exec/helper-proto-common.h" 13#include "exec/helper-gen-common.h" 14 15TCGv_i32 tcg_constant_i32(int32_t val); 16TCGv_i64 tcg_constant_i64(int64_t val); 17TCGv_vec tcg_constant_vec(TCGType type, unsigned vece, int64_t val); 18TCGv_vec tcg_constant_vec_matching(TCGv_vec match, unsigned vece, int64_t val); 19
|
| 20TCGv_i32 tcg_temp_new_i32(void); 21TCGv_i64 tcg_temp_new_i64(void); 22TCGv_ptr tcg_temp_new_ptr(void); 23TCGv_i128 tcg_temp_new_i128(void); 24TCGv_vec tcg_temp_new_vec(TCGType type); 25TCGv_vec tcg_temp_new_vec_matching(TCGv_vec match); 26 27TCGv_i32 tcg_global_mem_new_i32(TCGv_ptr reg, intptr_t off, const char *name); 28TCGv_i64 tcg_global_mem_new_i64(TCGv_ptr reg, intptr_t off, const char *name); 29TCGv_ptr tcg_global_mem_new_ptr(TCGv_ptr reg, intptr_t off, const char *name); 30
|
20/* Generic ops. */ 21 22void gen_set_label(TCGLabel *l); 23void tcg_gen_br(TCGLabel *l); 24void tcg_gen_mb(TCGBar); 25 26/** 27 * tcg_gen_exit_tb() - output exit_tb TCG operation
--- 523 unchanged lines hidden --- | 31/* Generic ops. */ 32 33void gen_set_label(TCGLabel *l); 34void tcg_gen_br(TCGLabel *l); 35void tcg_gen_mb(TCGBar); 36 37/** 38 * tcg_gen_exit_tb() - output exit_tb TCG operation
--- 523 unchanged lines hidden --- |