aboutsummaryrefslogtreecommitdiff
path: root/gas/config/xtensa-istack.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2005-12-20 18:13:32 +0000
committerBob Wilson <bob.wilson@acm.org>2005-12-20 18:13:32 +0000
commit65738a7dbcb8f057258b0e3c6391a45c80f1dcc8 (patch)
tree03a83292583bd177318a30e6c4c4d762a271f3a0 /gas/config/xtensa-istack.h
parent0bcc32ae3bfa56e5beee79f1db5dc1324de6c53b (diff)
downloadgdb-65738a7dbcb8f057258b0e3c6391a45c80f1dcc8.zip
gdb-65738a7dbcb8f057258b0e3c6391a45c80f1dcc8.tar.gz
gdb-65738a7dbcb8f057258b0e3c6391a45c80f1dcc8.tar.bz2
* config/tc-xtensa.c (xg_find_narrowest_format): Optimize 1 slot case.
(xg_init_vinsn): Remove redundant initialization. (xg_clear_vinsn): Zero all the slots with a single memset. * config/xtensa-istack.h (vliw_insn): Move insnbuf field after slots.
Diffstat (limited to 'gas/config/xtensa-istack.h')
-rw-r--r--gas/config/xtensa-istack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/xtensa-istack.h b/gas/config/xtensa-istack.h
index c7eaad7..248e73f 100644
--- a/gas/config/xtensa-istack.h
+++ b/gas/config/xtensa-istack.h
@@ -89,10 +89,10 @@ expressionS *tinsn_get_tok (TInsn *, int);
typedef struct vliw_insn
{
xtensa_format format;
- xtensa_insnbuf insnbuf;
int num_slots;
unsigned int inside_bundle;
TInsn slots[MAX_SLOTS];
+ xtensa_insnbuf insnbuf;
xtensa_insnbuf slotbuf[MAX_SLOTS];
} vliw_insn;