diff options
author | Sterling Augustine <saugustine@google.com> | 2008-11-21 22:13:32 +0000 |
---|---|---|
committer | Sterling Augustine <saugustine@google.com> | 2008-11-21 22:13:32 +0000 |
commit | 1fa3cd83085778237f1f11a87eda7962f706fd1b (patch) | |
tree | dec8b3c24db8bce6d9cdb24ce3b5b454b9ee6937 /include/xtensa-isa.h | |
parent | e2ce1e4a4173cc5ddba48e83d74faef7c0738ed8 (diff) | |
download | gdb-1fa3cd83085778237f1f11a87eda7962f706fd1b.zip gdb-1fa3cd83085778237f1f11a87eda7962f706fd1b.tar.gz gdb-1fa3cd83085778237f1f11a87eda7962f706fd1b.tar.bz2 |
2008-11-21 Sterling Augustine <sterling@tensilica.com>
* xtensa-isa.c (xtensa_state_is_shared_or): New function.
2008-11-21 Sterling Augustine <sterling@tensilica.com>
* xtensa-isa-internal.h (XTENSA_STATE_IS_SHARED_OR): New flag.
* xtensa-isa.h (xtensa_state_is_shared_or): New prototype.
2008-11-21 Sterling Augustine <sterling@tensilica.com>
* config/tc-xtensa.c (check_t1_t2_reads_and_writes): Call
xtensa_state_is_shared_or to allow multiple opcodes within a
single FLIX bundle to write to these special states.
Diffstat (limited to 'include/xtensa-isa.h')
-rw-r--r-- | include/xtensa-isa.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/xtensa-isa.h b/include/xtensa-isa.h index c4e31ed..69ac60d 100644 --- a/include/xtensa-isa.h +++ b/include/xtensa-isa.h @@ -1,5 +1,5 @@ /* Interface definition for configurable Xtensa ISA support. - Copyright 2003, 2004, 2005, 2006 Free Software Foundation, Inc. + Copyright 2003, 2004, 2005, 2006, 2008 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -15,7 +15,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, + USA. */ #ifndef XTENSA_LIBISA_H #define XTENSA_LIBISA_H @@ -686,6 +687,13 @@ extern int xtensa_state_is_exported (xtensa_isa isa, xtensa_state st); +/* Check for a "shared_or" state. Returns 0 if the condition is false, + 1 if the condition is true, and XTENSA_UNDEFINED on error. */ + +extern int +xtensa_state_is_shared_or (xtensa_isa isa, xtensa_state st); + + /* Sysregs ("special registers" and "user registers"). */ |