diff options
author | Sterling Augustine <saugustine@google.com> | 2009-01-07 17:41:09 +0000 |
---|---|---|
committer | Sterling Augustine <saugustine@google.com> | 2009-01-07 17:41:09 +0000 |
commit | 19fc37235f75095174fe9d679e94b686b9c8ee9f (patch) | |
tree | bac02f0e2bded9db179afffc78713f1fcb87e49a /gas/config/xtensa-relax.h | |
parent | 60023297c354be3ac7f8a250c7681c1a409fdeec (diff) | |
download | gdb-19fc37235f75095174fe9d679e94b686b9c8ee9f.zip gdb-19fc37235f75095174fe9d679e94b686b9c8ee9f.tar.gz gdb-19fc37235f75095174fe9d679e94b686b9c8ee9f.tar.bz2 |
2009-01-07 Sterling Augustine <sterling@tensilica.com>
* config/tc-xtensa.c (produce_flix): New.
(option_flix, optoin_no_generate_flix, option_no_flix) Define.
(md_longopts): Add support for them.
(md_parse_option): Likewise.
(md_show_usage): Add help message.
(finish_vinsn): Don't allow multi-slot flix when produce_flix
option is set to FLIX_NONE.
* config/xtensa-relax.c (transition_applies): Only relax to
flix branches when produce_flix equals FLIX_ALL.
* config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
FLIX_NONE): New.
(produce_flix): Declare.
Diffstat (limited to 'gas/config/xtensa-relax.h')
-rw-r--r-- | gas/config/xtensa-relax.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/config/xtensa-relax.h b/gas/config/xtensa-relax.h index 6cb8fcc..f7fb574 100644 --- a/gas/config/xtensa-relax.h +++ b/gas/config/xtensa-relax.h @@ -177,4 +177,13 @@ extern TransitionTable *xg_build_widen_table (transition_cmp_fn); extern bfd_boolean xg_has_userdef_op_fn (OpType); extern long xg_apply_userdef_op_fn (OpType, long); +enum flix_level +{ + FLIX_ALL, + FLIX_NO_GENERATE, + FLIX_NONE +}; + +extern enum flix_level produce_flix; + #endif /* !XTENSA_RELAX_H */ |