31 const char *symbolic_mnemonic, uint32_t sr_index,
349 uint32_t field_value;
358 if (field_value == ex_reg_value->
ex_value) {
359 LOG_WARNING(
"It will generate exceptions as setting %" PRIu32
" to %s",
enum esirisc_reg_num number
#define LOG_WARNING(expr ...)
const char * nds32_reg_symbolic_name(uint32_t number)
uint8_t nds32_reg_size(uint32_t number)
static bool nds32_reg_init_done
uint32_t nds32_reg_sr_index(uint32_t number)
static struct nds32_reg_s nds32_regs[TOTAL_REG_NUM]
enum nds32_reg_type_s nds32_reg_type(uint32_t number)
void nds32_reg_init(void)
static void nds32_reg_set(uint32_t number, const char *simple_mnemonic, const char *symbolic_mnemonic, uint32_t sr_index, enum nds32_reg_type_s type, uint8_t size)
bool nds32_reg_exception(uint32_t number, uint32_t value)
const char * nds32_reg_simple_name(uint32_t number)
static const struct nds32_reg_exception_s nds32_ex_reg_values[]
size_t size
Size of the control block search area.
uint32_t ex_value_bit_pos
const char * simple_mnemonic
enum nds32_reg_type_s type
const char * symbolic_mnemonic