bfin.md (define_attr "type"): Add "sync".
authorBernd Schmidt <bernd.schmidt@analog.com>
Mon, 11 Jul 2005 16:11:28 +0000 (16:11 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Mon, 11 Jul 2005 16:11:28 +0000 (16:11 +0000)
commit3fb192d2c7fd3ac8080d335d62ac9ad6754cd36f
treec7f52b707d3f9c206e1169f8eb194b6e9bfca2cc
parent2dd2d53e2c8c049a08ce582ee9354c884e5dd857
bfin.md (define_attr "type"): Add "sync".

* config/bfin/bfin.md (define_attr "type"): Add "sync".
(define_insn_reservation "alu"): Likewise.
(csync, ssync): Now of type sync.
* config/bfin/bfin.h (TARGET_DEFAULT): Defaults to
-mcsync-anomaly -mspecld-anomaly.
* config/bfin/bfin.opt (mcsync): Remove.
(mcsync-anomaly, mspecld-anomaly): Add.
* config/bfin/bfin.c: Include "insn-codes.h".
(bfin_reorg): Extend to handle the CSYNC anomaly as well.
(TARGET_DEFAULT_TARGET_FLAGS): New.
* doc/invoke.texi: Document -mcsync-anomaly, -mspecld-anomaly.

From-SVN: r101880
gcc/ChangeLog
gcc/config/bfin/bfin.c
gcc/config/bfin/bfin.h
gcc/config/bfin/bfin.md
gcc/config/bfin/bfin.opt
gcc/doc/invoke.texi