📄 x-mips3.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title> MIPS R3000, R4000, R4650 </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="x-mips.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="x-mips2.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="x-mips4.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="84475">E.3 Interface Variations</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84476"> </a>This section describes particular routines and tools that are specific to MIPS targets in any of the following ways:</p></dl><dl class="margin"><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84477"> </a>available only on MIPS targets </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84478"> </a>parameters specific to MIPS targets </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84479"> </a>special restrictions or characteristics on MIPS targets </li></ul></p></dl><dl class="margin"><dd><p class="Body"><a name="84480"> </a>For complete documentation, see the reference entries for the libraries, subroutines, and tools discussed below. </p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84481"><b class="library">cacheR3kLib</b> and <b class="library">cacheR4kLib</b> </a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84484"> </a>The libraries <b class="library">cacheR3kLib</b> and <b class="library">cacheR4kLib</b> are specific to the MIPS release. They each contain a routine that initializes the R3000 or R4000 cache library.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84485"><b class="library">dbgLib</b> </a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84488"> </a><b class="library"></b>In the MIPS release, the routine <b class="routine"><i class="routine">tt</i></b><b>( )</b> displays the first four parameters of each subroutine call, as passed in registers <b class="symbol_lc">a0</b> through <b class="symbol_lc">a3</b>. For routines with less than four parameters, ignore the contents of the remaining registers.</p><dd><p class="Body"><a name="84491"> </a>For a complete stack trace, use GDB.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84492"><b class="library">intArchLib</b> </a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84496"> </a><b class="library"></b>In the MIPS release, the routines <b class="routine"><i class="routine">intLevelSet</i></b><b>( )</b> and <b class="routine"><i class="routine">intVecBaseSet</i></b><b>( )</b> have no effect. For a discussion of the MIPS interrupt architecture, see <a href="x-mips4.html#84694"><i class="title">Interrupts</i></a>.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84500"><b class="library">mathALib</b> </a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84502"> </a><b class="library"></b>VxWorks for MIPS supports the same set of <b class="library">mathALib</b> functions using either hardware facilities or software emulation.<sup><a href="#foot"><b class="FootnoteMarker">1</b></a></sup> </p><dd><p class="Body"><a name="84552"> </a>The following double-precision routines are supported for MIPS architectures: <p class="table"><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85305"> </a><b class="routine"><i class="routine">acos</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85307"> </a><b class="routine"><i class="routine">asin</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85309"> </a><b class="routine"><i class="routine">atan</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85311"> </a><b class="routine"><i class="routine">atan2</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85313"> </a><b class="routine"><i class="routine">ceil</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85315"> </a><b class="routine"><i class="routine">cos</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85317"> </a><b class="routine"><i class="routine">cosh</i></b><b>( )</b> </p></td></tr><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85319"> </a><b class="routine"><i class="routine">exp</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85321"> </a><b class="routine"><i class="routine">fabs</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85323"> </a><b class="routine"><i class="routine">floor</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85325"> </a><b class="routine"><i class="routine">fmod</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85327"> </a><b class="routine"><i class="routine">log10</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85329"> </a><b class="routine"><i class="routine">log</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85331"> </a><b class="routine"><i class="routine">pow</i></b><b>( )</b> </p></td></tr><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85333"> </a><b class="routine"><i class="routine">sin</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85335"> </a><b class="routine"><i class="routine">sincos</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85337"> </a><b class="routine"><i class="routine">sinh</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85339"> </a><b class="routine"><i class="routine">sqrt</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85341"> </a><b class="routine"><i class="routine">tan</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85343"> </a><b class="routine"><i class="routine">tanh</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85345"> </a><b class="routine"><i class="routine">trunc</i></b><b>( )</b> </p></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p> </p><dd><p class="Body"><a name="84596"> </a>The following single-precision routines are supported for MIPS architectures: <p class="table"><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85396"> </a><b class="routine"><i class="routine">acosf</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85398"> </a><b class="routine"><i class="routine">asinf</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85400"> </a><b class="routine"><i class="routine">atanf</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85402"> </a><b class="routine"><i class="routine">atan2f</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85404"> </a><b class="routine"><i class="routine">ceilf</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85406"> </a><b class="routine"><i class="routine">cosf</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85408"> </a><b class="routine"><i class="routine">coshf</i></b><b>( )</b> </p></td></tr><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85410"> </a><b class="routine"><i class="routine">expf</i></b><b>( )</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="85412"> </a><b class="routine"><i class="routine">floorf</i></b><b>( )</b><b class="routine"><i class="routine"> </i></b></p></td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -