CGEN_INSN_BASE_VALUE.
* cgen-asm.in (insert_normal): Change start,length to unsigned int.
New args word_offset, word_length. Rewrite.
(FLD): Define.
(insert_1): Fix lsb0 case.
* cgen-dis.in (extract_normal): Change start,length to unsigned int.
New args word_offset, word_length. Rewrite.
(FLD): Define.
(extract_1): Fix lsb0 case.
* cgen-opc.in (FLD): Define.
* m32r-opc.c,m32r-opc.h,m32r-asm.c,m32r-dis.c: Regenerate.
* fr30-opc.c,fr30-opc.h,fr30-asm.c,fr30-dis.c: Regenerate.
#include "@prefix@-opc.h"
#include "opintl.h"
+/* Used by the ifield rtx function. */
+#define FLD(f) (fields->f)
+
/* The hash functions are recorded here to help keep assembler code out of
the disassembler and vice versa. */
/* Basic bit mask must be correct. */
/* ??? May wish to allow target to defer this check until the
extract handler. */
- if ((base_insn & CGEN_INSN_MASK (insn)) == CGEN_INSN_VALUE (insn))
+ if ((base_insn & CGEN_INSN_BASE_MASK (insn))
+ == CGEN_INSN_BASE_VALUE (insn))
{
/* ??? 0 is passed for `pc' */
int elength = (*CGEN_EXTRACT_FN (insn)) (od, insn, info,