gas:
commit013ecb679c34788b99bff8745099a87c376399b4
authorJoseph Myers <joseph@codesourcery.com>
Fri, 18 Jun 2010 22:44:19 +0000 (18 22:44 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 18 Jun 2010 22:44:19 +0000 (18 22:44 +0000)
tree20f09a3fb38d234ff3fc003d761b3fc514647eb4
parentd6184c07e3f818a16148d9c5aa16419140a17139
gas:
* config/tc-tic6x.h (tic6x_segment_info_type): Add field
func_units_used.
* config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
(md_assemble): Clear func_units_used for new execute packet.
Check for duplicate functional units and update func_units_used
for instructions using a functional unit.

gas/testsuite:
* gas/tic6x/resource-func-unit-1.d,
gas/tic6x/resource-func-unit-1.l,
gas/tic6x/resource-func-unit-1.s,
gas/tic6x/resource-func-unit-2.d,
gas/tic6x/resource-func-unit-2.l,
gas/tic6x/resource-func-unit-2.s: New.
gas/ChangeLog
gas/config/tc-tic6x.c
gas/config/tc-tic6x.h
gas/testsuite/ChangeLog
gas/testsuite/gas/tic6x/resource-func-unit-1.d [new file with mode: 0644]
gas/testsuite/gas/tic6x/resource-func-unit-1.l [new file with mode: 0644]
gas/testsuite/gas/tic6x/resource-func-unit-1.s [new file with mode: 0644]
gas/testsuite/gas/tic6x/resource-func-unit-2.d [new file with mode: 0644]
gas/testsuite/gas/tic6x/resource-func-unit-2.l [new file with mode: 0644]
gas/testsuite/gas/tic6x/resource-func-unit-2.s [new file with mode: 0644]