CGEN patch

Doug Evans dje@transmeta.com
Thu Dec 21 14:04:00 GMT 2000


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.


More information about the Binutils mailing list