arch/riscv/RiscvMapping.c
riscv_reg RISCV_map_insn(const char *name)
{
	// handle special alias first
	unsigned int i;

	// NOTE: skip first NULL name in insn_name_maps
	i = name2id(&insn_name_maps[1], ARR_SIZE(insn_name_maps) - 1, name);

	return (i != -1)? i : RISCV_REG_INVALID;
}
// map instruction name to public instruction ID
map instruction name to public instruction ID
map instruction name to public instruction ID
riscv_reg RISCV_map_insn(const char *name)
{
	unsigned int i;
	i = name2id(&insn_name_maps[1], ARR_SIZE(insn_name_maps) - 1, name);
	return (i != -1)? i : RISCV_REG_INVALID;
}
riscv_reg RISCV_map_insn ( const char * name ) { unsigned int i ; i = name2id ( & insn_name_maps [ 1 ] , ARR_SIZE ( insn_name_maps ) - 1 , name ) ; return ( i != -1 ) ? i : RISCV_REG_INVALID ; }
map instruction name to public instruction ID
map instruction name to public instruction ID
// handle special alias first // NOTE: skip first NULL name in insn_name_maps