diff options
author | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-09-16 21:15:46 +0000 |
---|---|---|
committer | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-09-16 21:15:46 +0000 |
commit | c5a0ae5e13c60a19a053a901e505ac71c05f5a82 (patch) | |
tree | ca39e481d4043f5d69add06ef190a5ec3d62d059 /gcc/config/rl78/rl78.opt | |
parent | 043115ec2d2ce23d00b19598983d622d2d921e9c (diff) | |
download | gcc-c5a0ae5e13c60a19a053a901e505ac71c05f5a82.tar.gz |
* config/rl78/rl78.c (rl78_asm_file_start): Specify alternate
vregs location for RL78/G10.
(rl78_expand_prologue): Avoid SEL on G10.
(rl78_expand_epilogue): Likewise.
(rl78_peep_movhi_p): Can't move a constant to memory in HImode.
* config/rl78/rl78.h (TARGET_CPU_CPP_BUILTINS): Define
__RL78_G10__ when appropriate.
(ASM_SPEC): Pass -mg10 along to the assembler.
* config/rl78/rl78.md (sel_rb): Disable for G10.
* config/rl78/rl78.opt: Add -mg10 option.
* config/rl78/t-rl78: Add -mg10 multilib.
* config/rl78/lib2mul.c: Enable for RL78/G10.
* config/rl78/lib2div.c: Likewise.
* config/rl78/lshrsi3.S: Use vregs.h.
* config/rl78/cmpsi2.S: Likewise.
* config/rl78/trampoline.S: Likewise.
* config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202637 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rl78/rl78.opt')
-rw-r--r-- | gcc/config/rl78/rl78.opt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/rl78/rl78.opt b/gcc/config/rl78/rl78.opt index 1538b897c57..9b573c10363 100644 --- a/gcc/config/rl78/rl78.opt +++ b/gcc/config/rl78/rl78.opt @@ -45,3 +45,7 @@ Enum(rl78_mul_types) String(g13) Value(MUL_G13) mrelax Target Enable assembler and linker relaxation. + +mg10 +Target Mask(G10) +Target the RL78/G10 series |