frv.opt revision 1.1.1.1
1; Options for the FR-V port of the compiler. 2 3; Copyright (C) 2005, 2007 Free Software Foundation, Inc. 4; 5; This file is part of GCC. 6; 7; GCC is free software; you can redistribute it and/or modify it under 8; the terms of the GNU General Public License as published by the Free 9; Software Foundation; either version 3, or (at your option) any later 10; version. 11; 12; GCC is distributed in the hope that it will be useful, but WITHOUT ANY 13; WARRANTY; without even the implied warranty of MERCHANTABILITY or 14; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 15; for more details. 16; 17; You should have received a copy of the GNU General Public License 18; along with GCC; see the file COPYING3. If not see 19; <http://www.gnu.org/licenses/>. 20 21macc-4 22Target Report RejectNegative Mask(ACC_4) 23Use 4 media accumulators 24 25macc-8 26Target Report RejectNegative InverseMask(ACC_4, ACC_8) 27Use 8 media accumulators 28 29malign-labels 30Target Report Mask(ALIGN_LABELS) 31Enable label alignment optimizations 32 33malloc-cc 34Target Report RejectNegative Mask(ALLOC_CC) 35Dynamically allocate cc registers 36 37; We used to default the branch cost to 2, but it was changed it to 1 to avoid 38; generating SCC instructions and or/and-ing them together, and then doing the 39; branch on the result, which collectively generate much worse code. 40mbranch-cost= 41Target RejectNegative Joined UInteger Var(frv_branch_cost_int) Init(1) 42Set the cost of branches 43 44mcond-exec 45Target Report Mask(COND_EXEC) 46Enable conditional execution other than moves/scc 47 48mcond-exec-insns= 49Target RejectNegative Joined UInteger Var(frv_condexec_insns) Init(8) 50Change the maximum length of conditionally-executed sequences 51 52mcond-exec-temps= 53Target RejectNegative Joined UInteger Var(frv_condexec_temps) Init(4) 54Change the number of temporary registers that are available to conditionally-executed sequences 55 56mcond-move 57Target Report Mask(COND_MOVE) 58Enable conditional moves 59 60mcpu= 61Target RejectNegative Joined 62Set the target CPU type 63 64mdebug 65Target Undocumented Var(TARGET_DEBUG) 66 67mdebug-arg 68Target Undocumented Var(TARGET_DEBUG_ARG) 69 70mdebug-addr 71Target Undocumented Var(TARGET_DEBUG_ADDR) 72 73mdebug-cond-exec 74Target Undocumented Var(TARGET_DEBUG_COND_EXEC) 75 76mdebug-loc 77Target Undocumented Var(TARGET_DEBUG_LOC) 78 79mdebug-stack 80Target Undocumented Var(TARGET_DEBUG_STACK) 81 82mdouble 83Target Report Mask(DOUBLE) 84Use fp double instructions 85 86mdword 87Target Report Mask(DWORD) 88Change the ABI to allow double word insns 89 90mfdpic 91Target Report Mask(FDPIC) 92Enable Function Descriptor PIC mode 93 94mfixed-cc 95Target Report RejectNegative InverseMask(ALLOC_CC, FIXED_CC) 96Just use icc0/fcc0 97 98mfpr-32 99Target Report RejectNegative Mask(FPR_32) 100Only use 32 FPRs 101 102mfpr-64 103Target Report RejectNegative InverseMask(FPR_32, FPR_64) 104Use 64 FPRs 105 106mgpr-32 107Target Report RejectNegative Mask(GPR_32) 108Only use 32 GPRs 109 110mgpr-64 111Target Report RejectNegative InverseMask(GPR_32, GPR_64) 112Use 64 GPRs 113 114mgprel-ro 115Target Report Mask(GPREL_RO) 116Enable use of GPREL for read-only data in FDPIC 117 118mhard-float 119Target Report RejectNegative InverseMask(SOFT_FLOAT, HARD_FLOAT) 120Use hardware floating point 121 122minline-plt 123Target Report Mask(INLINE_PLT) 124Enable inlining of PLT in function calls 125 126mlibrary-pic 127Target Report Mask(LIBPIC) 128Enable PIC support for building libraries 129 130mlinked-fp 131Target Report Mask(LINKED_FP) 132Follow the EABI linkage requirements 133 134mlong-calls 135Target Report Mask(LONG_CALLS) 136Disallow direct calls to global functions 137 138mmedia 139Target Report Mask(MEDIA) 140Use media instructions 141 142mmuladd 143Target Report Mask(MULADD) 144Use multiply add/subtract instructions 145 146mmulti-cond-exec 147Target Report Mask(MULTI_CE) 148Enable optimizing &&/|| in conditional execution 149 150mnested-cond-exec 151Target Report Mask(NESTED_CE) 152Enable nested conditional execution optimizations 153 154; Not used by the compiler proper. 155mno-eflags 156Target RejectNegative 157Do not mark ABI switches in e_flags 158 159moptimize-membar 160Target Report Mask(OPTIMIZE_MEMBAR) 161Remove redundant membars 162 163mpack 164Target Report Mask(PACK) 165Pack VLIW instructions 166 167mscc 168Target Report Mask(SCC) 169Enable setting GPRs to the result of comparisons 170 171msched-lookahead= 172Target RejectNegative Joined UInteger Var(frv_sched_lookahead) Init(4) 173Change the amount of scheduler lookahead 174 175msoft-float 176Target Report RejectNegative Mask(SOFT_FLOAT) 177Use software floating point 178 179mTLS 180Target Report RejectNegative Mask(BIG_TLS) 181Assume a large TLS segment 182 183mtls 184Target Report RejectNegative InverseMask(BIG_TLS) 185Do not assume a large TLS segment 186 187; Not used by the compiler proper. 188mtomcat-stats 189Target 190Cause gas to print tomcat statistics 191 192; Not used by the compiler proper. 193multilib-library-pic 194Target RejectNegative 195Link with the library-pic libraries 196 197mvliw-branch 198Target Report Mask(VLIW_BRANCH) 199Allow branches to be packed with other instructions 200