m32r.opt revision 1.6
1; Options for the Renesas M32R port of the compiler. 2 3; Copyright (C) 2005-2016 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 21HeaderInclude 22config/m32r/m32r-opts.h 23 24; Selected code model. 25Variable 26enum m32r_model m32r_model_selected = M32R_MODEL_DEFAULT 27 28; Selected SDA support. 29Variable 30enum m32r_sdata m32r_sdata_selected = M32R_SDATA_DEFAULT 31 32m32rx 33Target Report RejectNegative Mask(M32RX) 34Compile for the m32rx. 35 36m32r2 37Target Report RejectNegative Mask(M32R2) 38Compile for the m32r2. 39 40m32r 41Target RejectNegative 42Compile for the m32r. 43 44malign-loops 45Target Report Mask(ALIGN_LOOPS) 46Align all loops to 32 byte boundary. 47 48mbranch-cost=1 49Target Report RejectNegative Mask(BRANCH_COST) 50Prefer branches over conditional execution. 51 52mbranch-cost=2 53Target Report RejectNegative InverseMask(BRANCH_COST) 54Give branches their default cost. 55 56mdebug 57Target Mask(DEBUG) 58Display compile time statistics. 59 60mflush-func= 61Target RejectNegative Joined Var(m32r_cache_flush_func) Init(CACHE_FLUSH_FUNC) 62Specify cache flush function. 63 64mflush-trap= 65Target RejectNegative Joined UInteger Var(m32r_cache_flush_trap) Init(CACHE_FLUSH_TRAP) 66Specify cache flush trap number. 67 68missue-rate=1 69Target Report RejectNegative Mask(LOW_ISSUE_RATE) 70Only issue one instruction per cycle. 71 72missue-rate=2 73Target Report RejectNegative InverseMask(LOW_ISSUE_RATE) 74Allow two instructions to be issued per cycle. 75 76mmodel= 77Target RejectNegative Joined Enum(m32r_model) Var(m32r_model_selected) 78Code size: small, medium or large. 79 80Enum 81Name(m32r_model) Type(enum m32r_model) 82 83EnumValue 84Enum(m32r_model) String(small) Value(M32R_MODEL_SMALL) 85 86EnumValue 87Enum(m32r_model) String(medium) Value(M32R_MODEL_MEDIUM) 88 89EnumValue 90Enum(m32r_model) String(large) Value(M32R_MODEL_LARGE) 91 92mno-flush-func 93Target RejectNegative 94Don't call any cache flush functions. 95 96mno-flush-trap 97Target RejectNegative Var(m32r_cache_flush_trap, -1) 98Don't call any cache flush trap. 99 100; mrelax 101; Target Mask(RELAX) 102 103msdata= 104Target RejectNegative Joined Enum(m32r_sdata) Var(m32r_sdata_selected) 105Small data area: none, sdata, use. 106 107Enum 108Name(m32r_sdata) Type(enum m32r_sdata) 109 110EnumValue 111Enum(m32r_sdata) String(none) Value(M32R_SDATA_NONE) 112 113EnumValue 114Enum(m32r_sdata) String(sdata) Value(M32R_SDATA_SDATA) 115 116EnumValue 117Enum(m32r_sdata) String(use) Value(M32R_SDATA_USE) 118