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