#ifndef XC16X_CPU_H
#define XC16X_CPU_H
-#include "opcode/cgen-bitset.h"
-
#define CGEN_ARCH xc16x
/* Given symbol S, return xc16x_cgen_<S>. */
/* Enum declaration for xc16x hardware types. */
typedef enum cgen_hw_type {
HW_H_MEMORY, HW_H_SINT, HW_H_UINT, HW_H_ADDR
- , HW_H_IADDR, HW_H_PC, HW_H_GR, HW_H_EXT
- , HW_H_PSW, HW_H_GRB, HW_H_CC, HW_H_ECC
- , HW_H_GRB8, HW_H_R8, HW_H_REGMEM8, HW_H_REGDIV8
- , HW_H_R0, HW_H_R01, HW_H_REGBMEM8, HW_H_MEMGR8
- , HW_H_COND, HW_H_CBIT, HW_H_SGTDIS, HW_MAX
+ , HW_H_IADDR, HW_H_PC, HW_H_GR, HW_H_CR
+ , HW_H_EXT, HW_H_PSW, HW_H_GRB, HW_H_CC
+ , HW_H_ECC, HW_H_GRB8, HW_H_R8, HW_H_REGMEM8
+ , HW_H_REGDIV8, HW_H_R0, HW_H_R01, HW_H_REGBMEM8
+ , HW_H_MEMGR8, HW_H_COND, HW_H_CBIT, HW_H_SGTDIS
+ , HW_MAX
} CGEN_HW_TYPE;
#define MAX_HW ((int) HW_MAX)
/* Hardware decls. */
+extern CGEN_KEYWORD xc16x_cgen_opval_gr_names;
extern CGEN_KEYWORD xc16x_cgen_opval_gr_names;
extern CGEN_KEYWORD xc16x_cgen_opval_ext_names;
extern CGEN_KEYWORD xc16x_cgen_opval_psw_names;