1<html lang="en"> 2<head> 3<title>MicroBlaze Options - Using the GNU Compiler Collection (GCC)</title> 4<meta http-equiv="Content-Type" content="text/html"> 5<meta name="description" content="Using the GNU Compiler Collection (GCC)"> 6<meta name="generator" content="makeinfo 4.13"> 7<link title="Top" rel="start" href="index.html#Top"> 8<link rel="up" href="Submodel-Options.html#Submodel-Options" title="Submodel Options"> 9<link rel="prev" href="MeP-Options.html#MeP-Options" title="MeP Options"> 10<link rel="next" href="MIPS-Options.html#MIPS-Options" title="MIPS Options"> 11<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> 12<!-- 13Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 141998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 152010 Free Software Foundation, Inc. 16 17Permission is granted to copy, distribute and/or modify this document 18under the terms of the GNU Free Documentation License, Version 1.3 or 19any later version published by the Free Software Foundation; with the 20Invariant Sections being ``Funding Free Software'', the Front-Cover 21Texts being (a) (see below), and with the Back-Cover Texts being (b) 22(see below). A copy of the license is included in the section entitled 23``GNU Free Documentation License''. 24 25(a) The FSF's Front-Cover Text is: 26 27 A GNU Manual 28 29(b) The FSF's Back-Cover Text is: 30 31 You have freedom to copy and modify this GNU Manual, like GNU 32 software. Copies published by the Free Software Foundation raise 33 funds for GNU development.--> 34<meta http-equiv="Content-Style-Type" content="text/css"> 35<style type="text/css"><!-- 36 pre.display { font-family:inherit } 37 pre.format { font-family:inherit } 38 pre.smalldisplay { font-family:inherit; font-size:smaller } 39 pre.smallformat { font-family:inherit; font-size:smaller } 40 pre.smallexample { font-size:smaller } 41 pre.smalllisp { font-size:smaller } 42 span.sc { font-variant:small-caps } 43 span.roman { font-family:serif; font-weight:normal; } 44 span.sansserif { font-family:sans-serif; font-weight:normal; } 45--></style> 46<link rel="stylesheet" type="text/css" href="../cs.css"> 47</head> 48<body> 49<div class="node"> 50<a name="MicroBlaze-Options"></a> 51<p> 52Next: <a rel="next" accesskey="n" href="MIPS-Options.html#MIPS-Options">MIPS Options</a>, 53Previous: <a rel="previous" accesskey="p" href="MeP-Options.html#MeP-Options">MeP Options</a>, 54Up: <a rel="up" accesskey="u" href="Submodel-Options.html#Submodel-Options">Submodel Options</a> 55<hr> 56</div> 57 58<h4 class="subsection">3.17.26 MicroBlaze Options</h4> 59 60<p><a name="index-MicroBlaze-Options-1611"></a> 61 <dl> 62<dt><code>-msoft-float</code><dd><a name="index-msoft_002dfloat-1612"></a>Use software emulation for floating point (default). 63 64 <br><dt><code>-mhard-float</code><dd><a name="index-mhard_002dfloat-1613"></a>Use hardware floating point instructions. 65 66 <br><dt><code>-mmemcpy</code><dd><a name="index-mmemcpy-1614"></a>Do not optimize block moves, use <code>memcpy</code>. 67 68 <br><dt><code>-mno-clearbss</code><dd><a name="index-mno_002dclearbss-1615"></a>This option is deprecated. Use <samp><span class="option">-fno-zero-initialized-in-bss</span></samp> instead. 69 70 <br><dt><code>-mcpu=</code><var>cpu-type</var><dd><a name="index-mcpu_003d-1616"></a>Use features of and schedule code for given CPU. 71Supported values are in the format ‘<samp><span class="samp">v</span><var>X</var><span class="samp">.</span><var>YY</var><span class="samp">.</span><var>Z</var></samp>’, 72where <var>X</var> is a major version, <var>YY</var> is the minor version, and 73<var>Z</var> is compatibility code. Example values are ‘<samp><span class="samp">v3.00.a</span></samp>’, 74‘<samp><span class="samp">v4.00.b</span></samp>’, ‘<samp><span class="samp">v5.00.a</span></samp>’, ‘<samp><span class="samp">v5.00.b</span></samp>’, ‘<samp><span class="samp">v5.00.b</span></samp>’, ‘<samp><span class="samp">v6.00.a</span></samp>’. 75 76 <br><dt><code>-mxl-soft-mul</code><dd><a name="index-mxl_002dsoft_002dmul-1617"></a>Use software multiply emulation (default). 77 78 <br><dt><code>-mxl-soft-div</code><dd><a name="index-mxl_002dsoft_002ddiv-1618"></a>Use software emulation for divides (default). 79 80 <br><dt><code>-mxl-barrel-shift</code><dd><a name="index-mxl_002dbarrel_002dshift-1619"></a>Use the hardware barrel shifter. 81 82 <br><dt><code>-mxl-pattern-compare</code><dd><a name="index-mxl_002dpattern_002dcompare-1620"></a>Use pattern compare instructions. 83 84 <br><dt><code>-msmall-divides</code><dd><a name="index-msmall_002ddivides-1621"></a>Use table lookup optimization for small signed integer divisions. 85 86 <br><dt><code>-mxl-stack-check</code><dd><a name="index-mxl_002dstack_002dcheck-1622"></a>This option is deprecated. Use -fstack-check instead. 87 88 <br><dt><code>-mxl-gp-opt</code><dd><a name="index-mxl_002dgp_002dopt-1623"></a>Use GP relative sdata/sbss sections. 89 90 <br><dt><code>-mxl-multiply-high</code><dd><a name="index-mxl_002dmultiply_002dhigh-1624"></a>Use multiply high instructions for high part of 32x32 multiply. 91 92 <br><dt><code>-mxl-float-convert</code><dd><a name="index-mxl_002dfloat_002dconvert-1625"></a>Use hardware floating point conversion instructions. 93 94 <br><dt><code>-mxl-float-sqrt</code><dd><a name="index-mxl_002dfloat_002dsqrt-1626"></a>Use hardware floating point square root instruction. 95 96 <br><dt><code>-mxl-mode-</code><var>app-model</var><dd>Select application model <var>app-model</var>. Valid models are 97 <dl> 98<dt>‘<samp><span class="samp">executable</span></samp>’<dd>normal executable (default), uses startup code <samp><span class="file">crt0.o</span></samp>. 99 100 <br><dt>‘<samp><span class="samp">xmdstub</span></samp>’<dd>for use with Xilinx Microprocessor Debugger (XMD) based 101software intrusive debug agent called xmdstub. This uses startup file 102<samp><span class="file">crt1.o</span></samp> and sets the start address of the program to be 0x800. 103 104 <br><dt>‘<samp><span class="samp">bootstrap</span></samp>’<dd>for applications that are loaded using a bootloader. 105This model uses startup file <samp><span class="file">crt2.o</span></samp> which does not contain a processor 106reset vector handler. This is suitable for transferring control on a 107processor reset to the bootloader rather than the application. 108 109 <br><dt>‘<samp><span class="samp">novectors</span></samp>’<dd>for applications that do not require any of the 110MicroBlaze vectors. This option may be useful for applications running 111within a monitoring application. This model uses <samp><span class="file">crt3.o</span></samp> as a startup file. 112</dl> 113 114 <p>Option <samp><span class="option">-xl-mode-</span><var>app-model</var></samp> is a deprecated alias for 115<samp><span class="option">-mxl-mode-</span><var>app-model</var></samp>. 116 117 </dl> 118 119 </body></html> 120 121