This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src gas/ChangeLog gas/config/tc-xtensa.c gas/c ...
- From: bwilson at sourceware dot org
- To: binutils-cvs at sources dot redhat dot com
- Date: 30 Dec 2005 23:34:00 -0000
- Subject: src gas/ChangeLog gas/config/tc-xtensa.c gas/c ...
CVSROOT: /cvs/src
Module name: src
Changes by: bwilson@sourceware.org 2005-12-30 23:34:00
Modified files:
gas : ChangeLog
gas/config : tc-xtensa.c xtensa-relax.c
include : ChangeLog xtensa-config.h
Log message:
include:
* xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New.
gas:
* config/tc-xtensa.c (op_placement_info_struct): Delete single,
single_size, widest, and widest_size fields. Add narrowest_slot.
(xg_emit_insn_to_buf): Remove fmt parameter and compute it here.
Use xg_get_single_slot to find the slot.
(finish_vinsn): Use emit_single_op instead of bundle_single_op.
(bundle_single_op): Rename this to....
(bundle_tinsn): ...this function, which builds a vliw_insn but does
not call finish_vinsn.
(emit_single_op): Use bundle_tinsn instead of bundle_single_op.
(relax_frag_immed): Get num_slots from cur_vinsn.
(convert_frag_narrow): Update call to xg_emit_insn_to_buf.
(convert_frag_immed): Likewise. Also, get num_slots from cur_vinsn.
(init_op_placement_info_table): Set narrowest_slot field. Remove
code for deleted fields.
(xg_get_single_size): Return narrowest_size field, not single_size.
(xg_get_single_format): Return narrowest field, not single.
(xg_get_single_slot): New.
(tinsn_to_insnbuf): Rewrite to use tinsn_to_slotbuf.
* config/xtensa-relax.c (widen_spec_list): Add wide branch relaxations.
(transition_applies): Check wide branch option availability.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.2776&r2=1.2777
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-xtensa.c.diff?cvsroot=src&r1=1.52&r2=1.53
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/xtensa-relax.c.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/ChangeLog.diff?cvsroot=src&r1=1.348&r2=1.349
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/xtensa-config.h.diff?cvsroot=src&r1=1.6&r2=1.7