<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {mso-style-name:msochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
p.msochpdefault1, li.msochpdefault1, div.msochpdefault1
        {mso-style-name:msochpdefault1;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.emailstyle171
        {mso-style-name:emailstyle171;}
span.emailstyle23
        {mso-style-name:emailstyle23;}
p.msochpdefault2, li.msochpdefault2, div.msochpdefault2
        {mso-style-name:msochpdefault2;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.emailstyle1711
        {mso-style-name:emailstyle1711;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
p.msochpdefault11, li.msochpdefault11, div.msochpdefault11
        {mso-style-name:msochpdefault11;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
span.emailstyle231
        {mso-style-name:emailstyle231;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle26
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext">You forgot to include the compiler command but I believe I've spotted the problem anyway. The problem is that the compiler isn't aware that it needs to avoid
 using the odd-numbered single-precision registers on Mips2 because (at the time) they weren't intended to be usable in this way. The GNU assembler does know this and warns about it.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext">You should be able to work around this with –mno-odd-spreg for now. This option forbids the use of odd-numbered FPU registers for single precision values.
 Could you file a bug report at llvm.org/bugs so that we fix this at some point?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> Weitian Leung [mailto:weitianleung@gmail.com]
<br>
<b>Sent:</b> 16 June 2015 13:34<br>
<b>To:</b> Daniel Sanders; llvmdev@cs.uiuc.edu<br>
<b>Subject:</b> Re: [LLVMdev] How to pick default floating point ABI?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 06/16/2015 06:21 PM, Daniel Sanders wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt" id="mid_E484D272A3A61B4880CDF2E712E9279F459EE8AC_hhmail02_hh_imgtec_org">
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">> > the best I can suggest is to target mips2 and O32</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">> >
</span>It's not work for all, still get Assembler messages error on some source files<br>
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">>
</span>Warning: float register should be even, was 7<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext">Could you add –save-temps to the compiler command and send me the command along with the .i and
 .s file the compiler produces?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext">This warning is usually related to something called FPXX. FPXX is an extension to the O32 ABI
 that causes the compiler to generate objects that can be used on both a 32-bit and 64-bit FPU. In recent compilers it is enabled by default. The most likely cause of the warning is some inline assembly that doesn't obey the small restrictions that FPXX enforces.
 Assuming, this is the cause –mfp32/-mfp64 should provide a work around but I'd recommend updating the inline assembly since this will make it easier to port to newer Mips processors.</span><o:p></o:p></p>
</div>
</blockquote>
<p class="MsoNormal"><br>
Just tested with xercesc v3, got these warnings (sorry I said error message in last reply)
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal">DOMNodeIDMap.s:134: Warning: float register should be even, was 1<br>
DOMNodeIDMap.s:134: Warning: float register should be even, was 1<br>
DOMNodeIDMap.s:136: Warning: float register should be even, was 1<br>
DOMNodeIDMap.s:141: Warning: float register should be even, was 1<br>
DOMNodeIDMap.s:148: Warning: float register should be even, was 1<br>
DOMNodeIDMap.s:758: Warning: float register should be even, was 1<br>
DOMNodeIDMap.s:758: Warning: float register should be even, was 1<br>
DOMNodeIDMap.s:759: Warning: float register should be even, was 1<br>
DOMNodeIDMap.s:764: Warning: float register should be even, was 1<br>
DOMNodeIDMap.s:771: Warning: float register should be even, was 1<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hope this helps.<o:p></o:p></p>
<div>
<p class="MsoNormal">-- <br>
<i>Regards</i><o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>