mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-09 17:02:22 +08:00
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.
This commit is contained in:
@ -1526,6 +1526,17 @@ xtensa_state_is_exported (xtensa_isa isa, xtensa_state st)
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
xtensa_state_is_shared_or (xtensa_isa isa, xtensa_state st)
|
||||
{
|
||||
xtensa_isa_internal *intisa = (xtensa_isa_internal *) isa;
|
||||
CHECK_STATE (intisa, st, XTENSA_UNDEFINED);
|
||||
if ((intisa->states[st].flags & XTENSA_STATE_IS_SHARED_OR) != 0)
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Sysregs. */
|
||||
|
||||
|
Reference in New Issue
Block a user