gas:
authorJoseph Myers <joseph@codesourcery.com>
Fri, 18 Jun 2010 22:44:20 +0000 (22:44 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 18 Jun 2010 22:44:20 +0000 (22:44 +0000)
commit38bd8d09ffe9e298c29172609b358c34cfd7e11b
treee039928ad43fe500786d05e483c762399922b626
parent6aed2dbcba548376cdc0b98231fb9b174f9ca978
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]