mn10300.opt (mliw): New command line option.
authorNick Clifton <nickc@redhat.com>
Tue, 8 Feb 2011 09:55:07 +0000 (09:55 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Tue, 8 Feb 2011 09:55:07 +0000 (09:55 +0000)
commit298362c83f1e4250dc2598fa11e8f6a3bacd6153
tree1c0fb74b651b2e76acaebbf1cdc8a355f3ea96c6
parent30c4a23d026c9f3fb6d2f688b294d41c07ecbc51
mn10300.opt (mliw): New command line option.

* config/mn10300/mn10300.opt (mliw): New command line option.
* config/mn10300/mn10300.md (UNSPEC_LIW): New unspec.
(liw_bundling): New automaton.
(liw): New attribute.
(liw_op): New attribute.
(liw_op1, liw_op2, liw_both, liw_either): New reservations.
(movsi_internal): Add LIW attributes.
(andsi3): Likewise.
(iorsi3): Likewise.
(xorsi3): Likewise.
(addsi3): Separate register and immediate alternatives.
Add LIW attributes.
(subsi3): Likewise.
(cmpsi): Likewise.
(aslsi3): Likewise.
(lshrsi3): Likewise.
(ashrsi3): Likewise.
(liw): New pattern.
* config/mn10300/mn10300.c (liw_op_names): New
(mn10300_print_operand): Handle 'W' operand descriptor.
(extract_bundle): New function.
(check_liw_constraints): New function.
(liw_candidate): New function.
(mn10300_bundle_liw): New function.
(mn10300_reorg): New function.
(TARGET_MACHINE_DEPENDENT_REORG): Define.
(TARGET_DEFAULT_TARGET_FLAGS): Add MASK_ALLOW_LIW.
* config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Define
__LIW__ or __NO_LIW__.
* doc/invoke.texi: Describe the -mliw command line option.

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