Add support for m32rx.
authorDoug Evans <dje@google.com>
Tue, 5 Oct 1999 00:37:17 +0000 (00:37 +0000)
committerDoug Evans <dje@google.com>
Tue, 5 Oct 1999 00:37:17 +0000 (00:37 +0000)
commit925c058e93fad05a75f1ece92fff206e9bbccfb9
treeb49cbc63baf67250db74280026df665288fbaef2
parent1fa60b5dde8d6e82e4c8589c1b76b4b8a8730f22
Add support for m32rx.
* config/tc-m32r.c (enable_m32rx): New static global.
(enable_special,warn_explicit_parallel_conflicts,optimize): Ditto.
(allow_m32rx): New function.
(M32R_SHORTOPTS): Add `O'.
(md_longopts): Add --m32rx plus several warning options.
(md_parse_option): Handle new options.
(md_show_usage): Print them.
(md_begin): Enable m32rx.
(OPERAND_IS_COND_BIT): New macro.
(first_writes_to_seconds_operands): New function.
(writes_to_pc,can_make_parallel,make_parallel): New functions.
(target_make_parallel,assemble_two_insns): New functions.
(md_assemble): Recognize "insn1 -> insn2" and "insn1 || insn2".
If optimizing and m32rx, try to make consecutive insns parallel.
gas/ChangeLog
gas/config/tc-m32r.c