diff options
author | Bob Wilson <bob.wilson@acm.org> | 2004-11-12 21:59:13 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@acm.org> | 2004-11-12 21:59:13 +0000 |
commit | a1ace8d8587718c6ccbd4bc9c7c4a2907866ee91 (patch) | |
tree | b694091a00edd14027076abdfacf7db9454f34f1 /bfd | |
parent | df407dfe2e8452c0a3edfcf50d55942ff0273433 (diff) | |
download | fsf-binutils-gdb-a1ace8d8587718c6ccbd4bc9c7c4a2907866ee91.zip fsf-binutils-gdb-a1ace8d8587718c6ccbd4bc9c7c4a2907866ee91.tar.gz fsf-binutils-gdb-a1ace8d8587718c6ccbd4bc9c7c4a2907866ee91.tar.bz2 |
2004-11-12 Bob Wilson <bob.wilson@acm.org>
include/ChangeLog
* xtensa-isa-internal.h (xtensa_interface_internal): Add class_id.
* xtensa-isa.h (xtensa_interface_class_id): New prototype.
bfd/ChangeLog
* xtensa-isa.c (xtensa_interface_class_id): New.
gas/ChangeLog
* config/tc-xtensa.c (finish_vinsn): Clear pending instruction if
there is a conflict.
(check_t1_t2_reads_and_writes): Check for both reads and writes to
interfaces that are related as determined by xtensa_interface_class_id.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/xtensa-isa.c | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ed41ba2..eb1b718 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2004-11-12 Bob Wilson <bob.wilson@acm.org> + + * xtensa-isa.c (xtensa_interface_class_id): New. + 2004-11-11 Bob Wilson <bob.wilson@acm.org> * elf32-xtensa.c (property_table_compare): Remove assertion about diff --git a/bfd/xtensa-isa.c b/bfd/xtensa-isa.c index 30ad80c..f5fa3c2 100644 --- a/bfd/xtensa-isa.c +++ b/bfd/xtensa-isa.c @@ -1677,6 +1677,15 @@ xtensa_interface_has_side_effect (xtensa_isa isa, xtensa_interface intf) return 0; } + +int +xtensa_interface_class_id (xtensa_isa isa, xtensa_interface intf) +{ + xtensa_isa_internal *intisa = (xtensa_isa_internal *) isa; + CHECK_INTERFACE (intisa, intf, XTENSA_UNDEFINED); + return intisa->interfaces[intf].class_id; +} + /* Functional Units. */ |