<html>
<body>
  <div id="body" style="background-color:#ffffff;" >
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head" style="border-bottom-width:1px;border-bottom-style:solid;" ><td class="headtd" style="padding:0;padding-top:.2em;" colspan="4">Commit in <b><tt>lxdream/src/sh4</tt></b></td></tr>
<tr><td><tt><a href="#file1">sh4core.in</a></tt></td><td id="added" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ddffdd;" align="right">+2</td><td id="removed" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ffdddd;" align="right">-2</td><td class="headtd2" style="padding-left:.3em;padding-right:.3em;" nowrap="nowrap">dc935eee9767 -> d63c808ddcd3</td></tr>
</table>
<pre class="comment" style="white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word;padding:4px;border:1px dashed #000000;background-color:#ffffdd;" >
Merge emu sign-extension fix to top
</pre>
<hr /><a name="file1" /><div class="file" style="border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;" >
<span class="pathname" style="font-family:monospace; float:right;" >lxdream/src/sh4</span><br />
<div class="fileheader" style="margin-bottom:.5em;" ><big><b>sh4core.in</b></big> <small id="info" style="color: #888888;" >dc935eee9767 -> d63c808ddcd3</small></div>
<pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >--- lxdream/src/sh4/sh4core.in
+++ lxdream/src/sh4/sh4core.in
@@ -709,7 +709,7 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > :}
 MULS.W Rm, Rn {:
     sh4r.mac = (sh4r.mac&0xFFFFFFFF00000000LL) |
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >-               (uint32_t)(SIGNEXT32(sh4r.r[Rm]&0xFFFF) * SIGNEXT32(sh4r.r[Rn]&0xFFFF));
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+               (uint32_t)(SIGNEXT32((int16_t)(sh4r.r[Rm])) * SIGNEXT32((int16_t)(sh4r.r[Rn])));
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > :}
 NEGC Rm, Rn {:
     tmp = 0 - sh4r.r[Rm];
</pre><pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >@@ -1234,7 +1234,7 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" >     if( IS_FPU_DOUBLEPREC() ) {
         DR(FRn) += DR(FRm)*DR(0);
     } else {
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >-   FR(FRn) += FR(FRm)*FR(0);
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+     FR(FRn) += (double)FR(FRm)*(double)FR(0);
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" >     }
 :}
 FRCHG {: 
</pre></div>
<center><small>Chaos Theory</small></center>
</div></body></html>