|
97 | 97 | <opt:booleanOption opt:id="no-pcode-opt" opt:name="Disable pCode optimazion" opt:trueemission="--no-pcode-opt" opt:unsuppressif="${is.pic14}">
|
98 | 98 | <opt:xhtml>Disable (slightly faulty) optimization on pCode.</opt:xhtml>
|
99 | 99 | </opt:booleanOption>
|
| 100 | + <opt:stringOption opt:id="stack-size14" opt:name="Stack size" opt:emissionprefix="--stack-size " opt:validatorclass="com.microchip.mplab.nbide.toolchainCommon.opt.validation.CSyntaxNumberValidator" opt:unsuppressif="${is.pic14}"> |
| 101 | + <opt:xhtml>Sets the size if the argument passing stack (default: 16, minimum: 4)</opt:xhtml> |
| 102 | + </opt:stringOption> |
100 | 103 | <opt:booleanOption opt:id="no-extended-instr" opt:name="No extended instructions" opt:trueemission="--no-extended-instructions" opt:unsuppressif="${is.pic14}">
|
101 | 104 | <opt:xhtml>Forbid use of the extended instruction set.</opt:xhtml>
|
102 | 105 | </opt:booleanOption>
|
|
138 | 141 | <opt:xhtml>Tries to check the location of (even different) symbols and removes BANKSELs if they are in the same bank.</opt:xhtml>
|
139 | 142 | </opt:selection>
|
140 | 143 | </opt:enumOption>
|
| 144 | + <opt:booleanOption opt:id="denable-peeps" opt:name="Enable peepholes" opt:trueemission="--denable-peeps" opt:unsuppressif="${is.pic16}"> |
| 145 | + <opt:xhtml>Explicit enable of peepholes</opt:xhtml> |
| 146 | + </opt:booleanOption> |
141 | 147 | <opt:booleanOption opt:id="no-optimize-goto" opt:name="Don't optimize goto's" opt:trueemission="--no-optimize-goto" opt:unsuppressif="${is.pic16}">
|
142 | 148 | <opt:xhtml>Do not use (conditional) BRA instead of GOTO.</opt:xhtml>
|
143 | 149 | </opt:booleanOption>
|
|
147 | 153 | <opt:booleanOption opt:id="optimize-df" opt:name="Dataflow optimize" opt:trueemission="--optimize-df" opt:unsuppressif="${is.pic16}">
|
148 | 154 | <opt:xhtml>Analyze the dataflow of the generated code and improve it.</opt:xhtml>
|
149 | 155 | </opt:booleanOption>
|
| 156 | + <opt:enumOption opt:id="preplace-udata-with" opt:name="Location of constants" opt:textdefault="" opt:emissionprefix="--preplace-udata-with=" opt:emitswhendefault="false" opt:unsuppressif="${is.pic16}"> |
| 157 | + <opt:selection opt:text="" opt:name="No replace"> |
| 158 | + <opt:xhtml>No replace.</opt:xhtml> |
| 159 | + </opt:selection> |
| 160 | + <opt:selection opt:text="udata_acs" opt:name="udata_acs"> |
| 161 | + <opt:xhtml>udata_acs</opt:xhtml> |
| 162 | + </opt:selection> |
| 163 | + <opt:selection opt:text="udata_ovr" opt:name="udata_ovr"> |
| 164 | + <opt:xhtml>udata_ovr</opt:xhtml> |
| 165 | + </opt:selection> |
| 166 | + <opt:selection opt:text="udata_shr" opt:name="udata_shr"> |
| 167 | + <opt:xhtml>udata_shr</opt:xhtml> |
| 168 | + </opt:selection> |
| 169 | + </opt:enumOption> |
150 | 170 | <opt:booleanOption opt:id="debug-xtra16" opt:name="Output more debug info" opt:trueemission="--debug-xtra" opt:unsuppressif="${is.pic16}">
|
151 | 171 | <opt:xhtml>Similar to --debug, but dumps more information.</opt:xhtml>
|
152 | 172 | </opt:booleanOption>
|
|
156 | 176 | <opt:booleanOption opt:id="nodefaultlibs" opt:name="No default librarys" opt:trueemission="--nodefaultlibs" opt:unsuppressif="${is.pic16}">
|
157 | 177 | <opt:xhtml>Do not link default libraries when linking.</opt:xhtml>
|
158 | 178 | </opt:booleanOption>
|
| 179 | + <opt:booleanOption opt:id="calltree" opt:name="Dump call tree" opt:trueemission="--calltree" opt:unsuppressif="${is.pic16}"> |
| 180 | + <opt:xhtml>Dump call tree in .calltree file.</opt:xhtml> |
| 181 | + </opt:booleanOption> |
| 182 | + <opt:booleanOption opt:id="gstack" opt:name="Trace stack pointer push/pop" opt:trueemission="--gstack" opt:unsuppressif="${is.pic16}"> |
| 183 | + <opt:xhtml>Trace stack pointer push/pop to overflow.</opt:xhtml> |
| 184 | + </opt:booleanOption> |
159 | 185 | <opt:booleanOption opt:id="no-crt" opt:name="No runtime library" opt:trueemission="--no-crt" opt:unsuppressif="${is.pic16}">
|
160 | 186 | <opt:xhtml>Don’t link the default run-time modules.</opt:xhtml>
|
161 | 187 | </opt:booleanOption>
|
|
190 | 216 | <opt:enablePattern opt:idref="allow-unsafe-read" opt:expr="--allow-unsafe-read"/>
|
191 | 217 |
|
192 | 218 | <opt:enablePattern opt:idref="debug-xtra14" opt:expr="--debug-xtra"/>
|
| 219 | + <opt:submatchPattern opt:idref="stack-size14" opt:expr="--stack-size (\d)"/> |
193 | 220 | <opt:enablePattern opt:idref="no-pcode-opt" opt:expr="--no-pcode-opt"/>
|
194 | 221 | <opt:enablePattern opt:idref="no-extended-instr" opt:expr="--no-extended-instructions"/>
|
195 | 222 |
|
|
204 | 231 | <opt:enablePattern opt:idref="no-optimize-goto" opt:expr="--no-optimize-goto"/>
|
205 | 232 | <opt:enablePattern opt:idref="optimize-cmp" opt:expr="--optimize-cmp"/>
|
206 | 233 | <opt:enablePattern opt:idref="optimize-df" opt:expr="--optimize-df"/>
|
| 234 | + <opt:submatchPattern opt:idref="preplace-udata-with" opt:expr="--preplace-udata-with=(udata_acs|udata_ovr|udata_shr)"/> |
207 | 235 | <opt:enablePattern opt:idref="debug-xtra16" opt:expr="--debug-xtra"/>
|
208 | 236 | <opt:enablePattern opt:idref="pcode-verbose" opt:expr="--pcode-verbose"/>
|
209 | 237 | <opt:enablePattern opt:idref="nodefaultlibs" opt:expr="--nodefaultlibs"/>
|
| 238 | + <opt:enablePattern opt:idref="calltree" opt:expr="--calltree"/> |
| 239 | + <opt:enablePattern opt:idref="gstack" opt:expr="--gstack"/> |
210 | 240 | <opt:enablePattern opt:idref="no-crt" opt:expr="--no-crt"/>
|
211 | 241 | <opt:submatchPattern opt:idref="use-crt" opt:expr="--use-crt=(.+)"/>
|
212 | 242 | </opt:optionLanguage>
|
0 commit comments