Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include <stdio.h>
#include <assert.h>
#include <strings.h>
#include "topcode.h"
#include "targ_isa_operands.h"
#include "targ_isa_print.h"
#include "targ_isa_pack.h"
#include "targ_isa_bundle.h"
#include "targ_isa_decode.h"
#include "targ_isa_pseudo.h"
#include "targ_isa_enums.h"
#include "targ_abi_properties.h"
#include "targ_proc_properties.h"
#include "ti_errors.h"
#include "ti_asm.h"
Go to the source code of this file.
Functions | |
INT | TI_ASM_Pack_Inst (TOP topcode, const INT64 *result, const INT64 *opnd, ISA_PACK_INST *pinst) |
INT | TI_ASM_Print_Inst (TOP topcode, const char **result, const char **opnd, FILE *f) |
static INT | Format_Operand (char *buf, INT64 pc, const ISA_OPERAND_VALTYP *vtype, ISA_OPERAND_USE use, INT64 val, INT flags) |
INT | TI_ASM_DisAsm_Inst (TOP topcode, INT64 *result, INT64 *opnd, INT64 pc, INT flags, char *bufptr) |
void | TI_ASM_Set_Bundle_Comp (ISA_BUNDLE *bundle, ISA_BUNDLE_PACK_COMP comp, UINT64 val) |
UINT64 | TI_ASM_Get_Bundle_Comp (const ISA_BUNDLE *bundle, ISA_BUNDLE_PACK_COMP comp) |
void | TI_ASM_Set_Bundle_Reloc_Value (ISA_BUNDLE *bundle, INT slot, UINT64 val) |
UINT64 | TI_ASM_Get_Bundle_Reloc_Value (const ISA_BUNDLE *bundle, INT slot) |
TOP | TI_ASM_Unpack_Inst (const ISA_PACK_INST *pinst, ISA_EXEC_UNIT ex_unit, INT64 *result, INT64 *opnd, BOOL xlate_pseudo) |
static INT Format_Operand | ( | char * | buf, |
INT64 | pc, | ||
const ISA_OPERAND_VALTYP * | vtype, | ||
ISA_OPERAND_USE | use, | ||
INT64 | val, | ||
INT | flags | ||
) | [static] |
Definition at line 221 of file ti_asm.c.
References TI_ASM_DISASM_ABI_REGS, and TI_ASM_DISASM_TRUE_PRED.
Referenced by TI_ASM_DisAsm_Inst().
INT TI_ASM_DisAsm_Inst | ( | TOP | topcode, |
INT64 * | result, | ||
INT64 * | opnd, | ||
INT64 | pc, | ||
INT | flags, | ||
char * | bufptr | ||
) |
Definition at line 273 of file ti_asm.c.
References arg, buf, and Format_Operand().
UINT64 TI_ASM_Get_Bundle_Comp | ( | const ISA_BUNDLE * | bundle, |
ISA_BUNDLE_PACK_COMP | comp | ||
) |
Definition at line 374 of file ti_asm.c.
References val.
Referenced by TI_ASM_Get_Bundle_Reloc_Value(), and TI_ASM_Set_Bundle_Reloc_Value().
UINT64 TI_ASM_Get_Bundle_Reloc_Value | ( | const ISA_BUNDLE * | bundle, |
INT | slot | ||
) |
INT TI_ASM_Print_Inst | ( | TOP | topcode, |
const char ** | result, | ||
const char ** | opnd, | ||
FILE * | f | ||
) |
void TI_ASM_Set_Bundle_Comp | ( | ISA_BUNDLE * | bundle, |
ISA_BUNDLE_PACK_COMP | comp, | ||
UINT64 | val | ||
) |
Definition at line 347 of file ti_asm.c.
Referenced by TI_ASM_Set_Bundle_Reloc_Value().
void TI_ASM_Set_Bundle_Reloc_Value | ( | ISA_BUNDLE * | bundle, |
INT | slot, | ||
UINT64 | val | ||
) |
Definition at line 400 of file ti_asm.c.
References FALSE, fprintf(), NULL, TI_ASM_Get_Bundle_Comp(), and TI_ASM_Set_Bundle_Comp().