This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
CGEN patch
Richard Sandiford writes:
> 2000-12-21 Richard Sandiford <rsandifo@redhat.com>
>
> * cgen-dis.c (hash_insn_array): Use bfd_put_bits().
> (hash_insn_list): Likewise
> * cgen-ibld.in (insert_1): Use bfd_put_bits() and bfd_get_bits().
> (extract_1): Use bfd_get_bits().
> (extract_normal): Apply sign extension to both extraction
> methods.
> * include/opcode/cgen.h (cgen_get_insn_value): Now a macro
> (cgen_put_insn_value): Likewise
> * cgen-op.c (cgen_get_insn_value): Removed
> (cgen_put_insn_value): Likewise
fwiw, I'd prefer to keep cgen_get/put_insn_value kept as functions.
They can still call the bfd routines, but I'd rather not
have them as functions.