]> git.ipfire.org Git - thirdparty/gcc.git/commit
msp430.opt: (mcpu): New option.
authorNick Clifton <nickc@redhat.com>
Fri, 17 Jan 2014 11:35:46 +0000 (11:35 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Fri, 17 Jan 2014 11:35:46 +0000 (11:35 +0000)
commitd4f283a153449eb77df3fe4083538b5f191a6b38
tree45f78eb9fc0d83e901196ae36dfc52c2f5defb84
parent7be64667c127a0cdb9dc7e4f02dcd7720589919d
msp430.opt: (mcpu): New option.

* config/msp430/msp430.opt: (mcpu): New option.
* config/msp430/msp430.c (msp430_mcu_name): Use target_mcu.
(msp430_option_override): Parse target_cpu.  If the MCU name
matches a generic string, clear target_mcu.
(msp430_attr): Allow numeric interrupt values up to 63.
(msp430_expand_epilogue): No longer invert operand 1 of gen_popm.
* config/msp430/msp430.h (ASM_SPEC): Convert -mcpu into a -mmcu
option.
* config/msp430/t-msp430: (MULTILIB_MATCHES): Remove mcu matches.
Add mcpu matches.
* config/msp430/msp430.md (popm): Use %J rather than %I.
(addsi3): Use msp430_nonimmediate_operand for operand 2.
(addhi_cy_i): Use immediate_operand for operand 2.
* doc/invoke.texi: Document -mcpu option.

From-SVN: r206705
gcc/ChangeLog
gcc/config/msp430/constraints.md
gcc/config/msp430/msp430.c
gcc/config/msp430/msp430.h
gcc/config/msp430/msp430.md
gcc/config/msp430/msp430.opt
gcc/config/msp430/t-msp430
gcc/doc/invoke.texi