aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2007-03-26 23:01:46 +0000
committerBob Wilson <bob.wilson@acm.org>2007-03-26 23:01:46 +0000
commiteb6d9dce3452a3a3e3ec33223061de4923580f2d (patch)
tree12fb653dc9a65ade891ec500561c0dfcb5fc2087 /gas
parentae21e9552749bfbeae8ff0283c8c09254293fd9d (diff)
downloadgdb-eb6d9dce3452a3a3e3ec33223061de4923580f2d.zip
gdb-eb6d9dce3452a3a3e3ec33223061de4923580f2d.tar.gz
gdb-eb6d9dce3452a3a3e3ec33223061de4923580f2d.tar.bz2
* config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms
in FLIX instructions.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-xtensa.c9
2 files changed, 10 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 327863d..b8591f9 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-26 Sterling Augustine <sterling@tensilica.com>
+
+ * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms
+ in FLIX instructions.
+
2007-03-26 Julian Brown <julian@codesourcery.com>
* config/tc-arm.c (arm_it): Add immisfloat field.
diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c
index 7ef9f51..2531ac9 100644
--- a/gas/config/tc-xtensa.c
+++ b/gas/config/tc-xtensa.c
@@ -2337,9 +2337,6 @@ xg_translate_idioms (char **popname, int *pnum_args, char **arg_strings)
char *opname = *popname;
bfd_boolean has_underbar = FALSE;
- if (cur_vinsn.inside_bundle)
- return 0;
-
if (*opname == '_')
{
has_underbar = TRUE;
@@ -2382,7 +2379,11 @@ xg_translate_idioms (char **popname, int *pnum_args, char **arg_strings)
return 0;
}
- if (xtensa_nop_opcode == XTENSA_UNDEFINED
+ /* Don't do anything special with NOPs inside FLIX instructions. They
+ are handled elsewhere. Real NOP instructions are always available
+ in configurations with FLIX, so this should never be an issue but
+ check for it anyway. */
+ if (!cur_vinsn.inside_bundle && xtensa_nop_opcode == XTENSA_UNDEFINED
&& strcmp (opname, "nop") == 0)
{
if (use_transform () && !has_underbar && density_supported)