diff options
author | Richard Sandiford <richard@codesourcery.com> | 2007-01-12 09:25:27 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2007-01-12 09:25:27 +0000 |
commit | 3197c4892e63fc15402ade12fe9d10db38a5272a (patch) | |
tree | 7233e64ba78036df08187dffda6d47060432e807 /gcc/config/m68k/m68k.opt | |
parent | 986e74d58eea13066c05f662ba87fdad4e20b4b6 (diff) | |
download | gcc-3197c4892e63fc15402ade12fe9d10db38a5272a.zip gcc-3197c4892e63fc15402ade12fe9d10db38a5272a.tar.gz gcc-3197c4892e63fc15402ade12fe9d10db38a5272a.tar.bz2 |
config.gcc (m68010-*-netbsdelf*): Add MASK_68010.
gcc/
* config.gcc (m68010-*-netbsdelf*): Add MASK_68010.
(m68k*-*-netbsdelf*, m68k*-*-openbsd*, m68k*-linux*): Add
MASK_68010 alongside MASK_68020.
* doc/invoke.texi: Document -m68010.
* config/m68k/m68k.opt (m68010): New.
* config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Define mc68010
if TUNE_68010.
(TUNE_68010): New macro.
* config/m68k/m68k-none.h (M68K_CPU_m68k, M68K_CPU_m68010)
(M68K_CPU_m68020, M68K_CPU_m68030, M68K_CPU_m68040)
(M68K_CPU_m68332): Add MASK_68010.
* config/m68k/linux.h (TARGET_DEFAULT): Add MASK_68010 to
fallback definition.
* config/m68k/netbsd-elf.h (CPP_CPU_SPEC): Remove now-redundant
defines.
* config/m68k/m68k.c (MASK_ALL_CPU_BITS): Add MASK_68010.
(m68k_handle_option): Handle OPT_m68010. Add MASK_68010
to all entries that use MASK_68020.
(output_move_simode_const, output_move_himode, output_move_qimode)
(output_move_stricthi, output_move_strictqi): Use TARGET_68010
instead of TARGET_68020 to select clr behavior. Remove comment
about there being no TARGET_68010.
* config/m68k/m68k.md: Likewise throughout.
From-SVN: r120710
Diffstat (limited to 'gcc/config/m68k/m68k.opt')
-rw-r--r-- | gcc/config/m68k/m68k.opt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/m68k/m68k.opt b/gcc/config/m68k/m68k.opt index ec2c466..1379172 100644 --- a/gcc/config/m68k/m68k.opt +++ b/gcc/config/m68k/m68k.opt @@ -47,6 +47,10 @@ m68000 Target RejectNegative Generate code for a 68000 +m68010 +Target RejectNegative Mask(68010) +Generate code for a 68010 + m68020 Target RejectNegative Mask(68020) Generate code for a 68020 |