templeos-info/public/Wb/Home/Src/Compiler/BackB.HC.HTML

751 lines
88 KiB
HTML
Executable File

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="generator" content="TempleOS V5.03">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="/style/templeos.css">
<script src="/script/templeos.js"></script>
<style type="text/css">
.cF0{color:#000000;background-color:#ffffff;}
.cF1{color:#0000aa;background-color:#ffffff;}
.cF2{color:#00aa00;background-color:#ffffff;}
.cF3{color:#00aaaa;background-color:#ffffff;}
.cF4{color:#aa0000;background-color:#ffffff;}
.cF5{color:#aa00aa;background-color:#ffffff;}
.cF6{color:#aa5500;background-color:#ffffff;}
.cF7{color:#aaaaaa;background-color:#ffffff;}
.cF8{color:#555555;background-color:#ffffff;}
.cF9{color:#5555ff;background-color:#ffffff;}
.cFA{color:#55ff55;background-color:#ffffff;}
.cFB{color:#55ffff;background-color:#ffffff;}
.cFC{color:#ff5555;background-color:#ffffff;}
.cFD{color:#ff55ff;background-color:#ffffff;}
.cFE{color:#ffff55;background-color:#ffffff;}
.cFF{color:#ffffff;background-color:#ffffff;}
</style>
</head>
<body>
<pre id="content">
<a name="l1"></a><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>ICUnaries</span><span class=cF0>(</span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,</span><span class=cF9>I64</span><span class=cF0> op,</span><span class=cF9>I64</span><span class=cF0> rip)
<a name="l2"></a>{
<a name="l3"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RAX</span><span class=cF0>,0,
<a name="l4"></a> tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,rip);
<a name="l5"></a> </span><span class=cFD>ICSlashOp</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RAX</span><span class=cF0>,0,op,rip);
<a name="l6"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,tmpi-&gt;res.type,tmpi-&gt;res.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;res.disp,
<a name="l7"></a> </span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RAX</span><span class=cF0>,0,rip);
<a name="l8"></a>}
<a name="l9"></a>
<a name="l10"></a></span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>ICNot</span><span class=cF0>(</span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,</span><span class=cF9>I64</span><span class=cF0> rip)
<a name="l11"></a>{
<a name="l12"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l13"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;arg1.type.raw_type&lt;=</span><span class=cF3>RT_U8</span><span class=cF0> &amp;&amp; tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDG_DISP_SIB_RIP</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l14"></a> i=</span><span class=cFD>ICModr1</span><span class=cF0>(tmpi,tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp);
<a name="l15"></a> </span><span class=cFD>ICRex</span><span class=cF0>(tmpi,i.u8[1]);
<a name="l16"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,i.u8[2]&lt;&lt;8+0xF6); </span><span class=cF2>//TEST ?,0xFF</span><span class=cF0>
<a name="l17"></a> </span><span class=cFD>ICModr2</span><span class=cF0>(tmpi,i,,tmpi-&gt;arg1.disp,rip+1);
<a name="l18"></a> </span><span class=cFD>ICU8</span><span class=cF0>(tmpi,0xFF);
<a name="l19"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l20"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RAX</span><span class=cF0>,0,
<a name="l21"></a> tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,rip);
<a name="l22"></a> </span><span class=cFD>ICTest</span><span class=cF0>(tmpi,</span><span class=cF3>REG_RAX</span><span class=cF0>);
<a name="l23"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l24"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0xC0940F); </span><span class=cF2>//SETZ AL</span><span class=cF0>
<a name="l25"></a> </span><span class=cFD>ICU32</span><span class=cF0>(tmpi,0xC0B60F48); </span><span class=cF2>//MOVZX RAX,AL</span><span class=cF0>
<a name="l26"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,tmpi-&gt;res.type,tmpi-&gt;res.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;res.disp,
<a name="l27"></a> </span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_U64</span><span class=cF0>,</span><span class=cF3>REG_RAX</span><span class=cF0>,0,rip);
<a name="l28"></a>}
<a name="l29"></a>
<a name="l30"></a></span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>ICAndAnd</span><span class=cF0>(</span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,</span><span class=cF9>I64</span><span class=cF0> rip)
<a name="l31"></a>{
<a name="l32"></a> </span><span class=cF9>I64</span><span class=cF0> r2;
<a name="l33"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RCX</span><span class=cF0>,0,
<a name="l34"></a> tmpi-&gt;arg2.type,tmpi-&gt;arg2.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg2.disp,rip);
<a name="l35"></a> </span><span class=cF1>if</span><span class=cF0> (!</span><span class=cF7>(</span><span class=cF0>tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDF_REG</span><span class=cF7>)</span><span class=cF0> || tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>==</span><span class=cF3>REG_RAX</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l36"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RDX</span><span class=cF0>,0,
<a name="l37"></a> tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,rip);
<a name="l38"></a> r2=</span><span class=cF3>REG_RDX</span><span class=cF0>;
<a name="l39"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0>
<a name="l40"></a> r2=tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>;
<a name="l41"></a> </span><span class=cFD>ICZero</span><span class=cF0>(tmpi,</span><span class=cF3>REG_RAX</span><span class=cF0>);
<a name="l42"></a> </span><span class=cFD>ICTest</span><span class=cF0>(tmpi,r2);
<a name="l43"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,0x0874);
<a name="l44"></a> </span><span class=cFD>ICTest</span><span class=cF0>(tmpi,</span><span class=cF3>REG_RCX</span><span class=cF0>);
<a name="l45"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,0x0374);
<a name="l46"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0xC0FF48);
<a name="l47"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,tmpi-&gt;res.type,tmpi-&gt;res.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;res.disp,
<a name="l48"></a> </span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RAX</span><span class=cF0>,0,rip);
<a name="l49"></a>}
<a name="l50"></a>
<a name="l51"></a></span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>ICOrOr</span><span class=cF0>(</span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,</span><span class=cF9>I64</span><span class=cF0> rip)
<a name="l52"></a>{
<a name="l53"></a> </span><span class=cF9>I64</span><span class=cF0> i=0x48,r2;
<a name="l54"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RCX</span><span class=cF0>,0,
<a name="l55"></a> tmpi-&gt;arg2.type,tmpi-&gt;arg2.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg2.disp,rip);
<a name="l56"></a> </span><span class=cF1>if</span><span class=cF0> (!</span><span class=cF7>(</span><span class=cF0>tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDF_REG</span><span class=cF7>)</span><span class=cF0> || tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>==</span><span class=cF3>REG_RAX</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l57"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RDX</span><span class=cF0>,0,
<a name="l58"></a> tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,rip);
<a name="l59"></a> r2=</span><span class=cF3>REG_RDX</span><span class=cF0>;
<a name="l60"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0>
<a name="l61"></a> r2=tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>;
<a name="l62"></a>
<a name="l63"></a> </span><span class=cF1>if</span><span class=cF0> (r2&gt;7) </span><span class=cF7>{</span><span class=cF0>
<a name="l64"></a> i++;
<a name="l65"></a> r2&amp;=7;
<a name="l66"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l67"></a> </span><span class=cFD>ICZero</span><span class=cF0>(tmpi,</span><span class=cF3>REG_RAX</span><span class=cF0>);
<a name="l68"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0xC80B00+i+r2&lt;&lt;16);
<a name="l69"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,0x0374);
<a name="l70"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0xC0FF48);
<a name="l71"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,tmpi-&gt;res.type,tmpi-&gt;res.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;res.disp,
<a name="l72"></a> </span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RAX</span><span class=cF0>,0,rip);
<a name="l73"></a>}
<a name="l74"></a>
<a name="l75"></a></span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>ICXorXor</span><span class=cF0>(</span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,</span><span class=cF9>I64</span><span class=cF0> rip)
<a name="l76"></a>{
<a name="l77"></a> </span><span class=cF9>I64</span><span class=cF0> r2;
<a name="l78"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RCX</span><span class=cF0>,0,
<a name="l79"></a> tmpi-&gt;arg2.type,tmpi-&gt;arg2.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg2.disp,rip);
<a name="l80"></a> </span><span class=cF1>if</span><span class=cF0> (!</span><span class=cF7>(</span><span class=cF0>tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDF_REG</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l81"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RDX</span><span class=cF0>,0,
<a name="l82"></a> tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,rip);
<a name="l83"></a> r2=</span><span class=cF3>REG_RDX</span><span class=cF0>;
<a name="l84"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0>
<a name="l85"></a> r2=tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>;
<a name="l86"></a> </span><span class=cFD>ICZero</span><span class=cF0>(tmpi,</span><span class=cF3>REG_RBX</span><span class=cF0>);
<a name="l87"></a> </span><span class=cFD>ICTest</span><span class=cF0>(tmpi,r2);
<a name="l88"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,0x0374);
<a name="l89"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0xC3FF48);
<a name="l90"></a>
<a name="l91"></a> </span><span class=cFD>ICZero</span><span class=cF0>(tmpi,</span><span class=cF3>REG_RAX</span><span class=cF0>);
<a name="l92"></a> </span><span class=cFD>ICTest</span><span class=cF0>(tmpi,</span><span class=cF3>REG_RCX</span><span class=cF0>);
<a name="l93"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,0x0374);
<a name="l94"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0xC0FF48);
<a name="l95"></a>
<a name="l96"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0xC33348);
<a name="l97"></a>
<a name="l98"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,tmpi-&gt;res.type,tmpi-&gt;res.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;res.disp,
<a name="l99"></a> </span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RAX</span><span class=cF0>,0,rip);
<a name="l100"></a>}
<a name="l101"></a>
<a name="l102"></a></span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>ICCmp</span><span class=cF0>(</span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,</span><span class=cF9>I64</span><span class=cF0> us,</span><span class=cF9>I64</span><span class=cF0> is,</span><span class=cF9>I64</span><span class=cF0> rip)
<a name="l103"></a>{
<a name="l104"></a> </span><span class=cF9>I64</span><span class=cF0> r1,d1,r2,i=0x48,j=tmpi-&gt;arg2.disp;
<a name="l105"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;arg2.type&amp;</span><span class=cF3>MDF_IMM</span><span class=cF0> &amp;&amp; </span><span class=cF3>I32_MIN</span><span class=cF0>&lt;=j&lt;=</span><span class=cF3>I32_MAX</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l106"></a> </span><span class=cF1>if</span><span class=cF0> (!</span><span class=cF7>(</span><span class=cF0>tmpi-&gt;ic_flags&amp;(</span><span class=cF3>ICF_POP_CMP</span><span class=cF0>|</span><span class=cF3>ICF_PUSH_CMP</span><span class=cF0>)</span><span class=cF7>)</span><span class=cF0> &amp;&amp;
<a name="l107"></a> tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDF_DISP</span><span class=cF0> &amp;&amp; </span><span class=cF2>//TODO</span><span class=cF0>
<a name="l108"></a> tmpi-&gt;arg1.type.raw_type&gt;=</span><span class=cF3>RT_I64</span><span class=cF0> &amp;&amp; tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>!=</span><span class=cF3>REG_RAX</span><span class=cF0>) {
<a name="l109"></a> r1=tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>;
<a name="l110"></a> d1=tmpi-&gt;arg1.disp;
<a name="l111"></a> </span><span class=cFD>ICZero</span><span class=cF0>(tmpi,</span><span class=cF3>REG_RAX</span><span class=cF0>);
<a name="l112"></a> </span><span class=cF1>if</span><span class=cF0> (r1&gt;7)
<a name="l113"></a> i++;
<a name="l114"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF3>I8_MIN</span><span class=cF0>&lt;=j&lt;=</span><span class=cF3>I8_MAX</span><span class=cF0>)
<a name="l115"></a> i+=0x388300;
<a name="l116"></a> </span><span class=cF1>else</span><span class=cF0>
<a name="l117"></a> i+=0x388100;
<a name="l118"></a> </span><span class=cF1>if</span><span class=cF0> (!d1) </span><span class=cF7>{</span><span class=cF0>
<a name="l119"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0x000000+i+</span><span class=cF7>(</span><span class=cF0>r1&amp;7</span><span class=cF7>)</span><span class=cF0>&lt;&lt;16);
<a name="l120"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF3>I8_MIN</span><span class=cF0>&lt;=d1&lt;=</span><span class=cF3>I8_MAX</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l121"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0x400000+i+</span><span class=cF7>(</span><span class=cF0>r1&amp;7</span><span class=cF7>)</span><span class=cF0>&lt;&lt;16);
<a name="l122"></a> </span><span class=cFD>ICU8</span><span class=cF0>(tmpi,d1);
<a name="l123"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l124"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0x800000+i+</span><span class=cF7>(</span><span class=cF0>r1&amp;7</span><span class=cF7>)</span><span class=cF0>&lt;&lt;16);
<a name="l125"></a> </span><span class=cFD>ICU32</span><span class=cF0>(tmpi,d1);
<a name="l126"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l127"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF3>I8_MIN</span><span class=cF0>&lt;=j&lt;=</span><span class=cF3>I8_MAX</span><span class=cF0>)
<a name="l128"></a> </span><span class=cFD>ICU8</span><span class=cF0>(tmpi,j);
<a name="l129"></a> </span><span class=cF1>else</span><span class=cF0>
<a name="l130"></a> </span><span class=cFD>ICU32</span><span class=cF0>(tmpi,j);
<a name="l131"></a> } </span><span class=cF1>else</span><span class=cF0> {
<a name="l132"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;ic_flags &amp; </span><span class=cF3>ICF_POP_CMP</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l133"></a> </span><span class=cFD>ICPopRegs</span><span class=cF0>(tmpi,1&lt;&lt;</span><span class=cF3>REG_RCX</span><span class=cF0>);
<a name="l134"></a> r1=</span><span class=cF3>REG_RCX</span><span class=cF0>;
<a name="l135"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l136"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDF_REG</span><span class=cF0> &amp;&amp; tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>!=</span><span class=cF3>REG_RAX</span><span class=cF0>)
<a name="l137"></a> r1=tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>;
<a name="l138"></a> </span><span class=cF1>else</span><span class=cF0> {
<a name="l139"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RCX</span><span class=cF0>,0,
<a name="l140"></a> tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,rip);
<a name="l141"></a> r1=</span><span class=cF3>REG_RCX</span><span class=cF0>;
<a name="l142"></a> }
<a name="l143"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l144"></a> </span><span class=cFD>ICZero</span><span class=cF0>(tmpi,</span><span class=cF3>REG_RAX</span><span class=cF0>);
<a name="l145"></a> </span><span class=cF1>if</span><span class=cF0> (r1&gt;7)
<a name="l146"></a> i++;
<a name="l147"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF3>I8_MIN</span><span class=cF0>&lt;=j&lt;=</span><span class=cF3>I8_MAX</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l148"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0xF88300+i+</span><span class=cF7>(</span><span class=cF0>r1&amp;7</span><span class=cF7>)</span><span class=cF0>&lt;&lt;16);
<a name="l149"></a> </span><span class=cFD>ICU8</span><span class=cF0>(tmpi,j);
<a name="l150"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l151"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0xF88100+i+</span><span class=cF7>(</span><span class=cF0>r1&amp;7</span><span class=cF7>)</span><span class=cF0>&lt;&lt;16);
<a name="l152"></a> </span><span class=cFD>ICU32</span><span class=cF0>(tmpi,j);
<a name="l153"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l154"></a> }
<a name="l155"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;ic_flags &amp; </span><span class=cF3>ICF_PUSH_CMP</span><span class=cF0>)
<a name="l156"></a> </span><span class=cFD>ICPush</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_IMM</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,0,j,rip);
<a name="l157"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;ic_class-&gt;raw_type&amp;</span><span class=cF3>RTF_UNSIGNED</span><span class=cF0> ||
<a name="l158"></a> tmpi-&gt;ic_flags &amp; </span><span class=cF3>ICF_USE_UNSIGNED</span><span class=cF0>)
<a name="l159"></a> is=us;
<a name="l160"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,0x300+is);
<a name="l161"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0xC0FF48);
<a name="l162"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,tmpi-&gt;res.type,tmpi-&gt;res.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;res.disp,
<a name="l163"></a> </span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RAX</span><span class=cF0>,0,rip);
<a name="l164"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l165"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;arg2.type&amp;</span><span class=cF3>MDF_REG</span><span class=cF0> &amp;&amp; tmpi-&gt;arg2.</span><span class=cF1>reg</span><span class=cF0>!=</span><span class=cF3>REG_RAX</span><span class=cF0>)
<a name="l166"></a> r2=tmpi-&gt;arg2.</span><span class=cF1>reg</span><span class=cF0>;
<a name="l167"></a> </span><span class=cF1>else</span><span class=cF0> {
<a name="l168"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RCX</span><span class=cF0>,0,
<a name="l169"></a> tmpi-&gt;arg2.type,tmpi-&gt;arg2.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg2.disp,rip);
<a name="l170"></a> r2=</span><span class=cF3>REG_RCX</span><span class=cF0>;
<a name="l171"></a> }
<a name="l172"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;ic_flags &amp; </span><span class=cF3>ICF_POP_CMP</span><span class=cF0>) {
<a name="l173"></a> </span><span class=cFD>ICPopRegs</span><span class=cF0>(tmpi,1&lt;&lt;</span><span class=cF3>REG_RDX</span><span class=cF0>);
<a name="l174"></a> r1=</span><span class=cF3>REG_RDX</span><span class=cF0>;
<a name="l175"></a> } </span><span class=cF1>else</span><span class=cF0> {
<a name="l176"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDF_REG</span><span class=cF0> &amp;&amp; tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>!=</span><span class=cF3>REG_RAX</span><span class=cF0>)
<a name="l177"></a> r1=tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>;
<a name="l178"></a> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l179"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RDX</span><span class=cF0>,0,
<a name="l180"></a> tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,rip);
<a name="l181"></a> r1=</span><span class=cF3>REG_RDX</span><span class=cF0>;
<a name="l182"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l183"></a> }
<a name="l184"></a> </span><span class=cFD>ICZero</span><span class=cF0>(tmpi,</span><span class=cF3>REG_RAX</span><span class=cF0>);
<a name="l185"></a> </span><span class=cF1>if</span><span class=cF0> (r2&gt;7)
<a name="l186"></a> i++;
<a name="l187"></a> </span><span class=cF1>if</span><span class=cF0> (r1&gt;7)
<a name="l188"></a> i+=4;
<a name="l189"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;ic_flags &amp; </span><span class=cF3>ICF_PUSH_CMP</span><span class=cF0>)
<a name="l190"></a> </span><span class=cFD>ICPushRegs</span><span class=cF0>(tmpi,1&lt;&lt;r2);
<a name="l191"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0xC03B00+i+</span><span class=cF7>(</span><span class=cF0>r2&amp;7</span><span class=cF7>)</span><span class=cF0>&lt;&lt;16+</span><span class=cF7>(</span><span class=cF0>r1&amp;7</span><span class=cF7>)</span><span class=cF0>&lt;&lt;19);
<a name="l192"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;ic_class-&gt;raw_type&amp;</span><span class=cF3>RTF_UNSIGNED</span><span class=cF0> ||
<a name="l193"></a> tmpi-&gt;ic_flags &amp; </span><span class=cF3>ICF_USE_UNSIGNED</span><span class=cF0>)
<a name="l194"></a> is=us;
<a name="l195"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,0x300+is);
<a name="l196"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0xC0FF48);
<a name="l197"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,tmpi-&gt;res.type,tmpi-&gt;res.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;res.disp,
<a name="l198"></a> </span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RAX</span><span class=cF0>,0,rip);
<a name="l199"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l200"></a>}
<a name="l201"></a>
<a name="l202"></a></span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>ICBitOps</span><span class=cF0>(</span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,</span><span class=cF9>CICArg</span><span class=cF0> *arg1,</span><span class=cF9>CICArg</span><span class=cF0> *arg2,
<a name="l203"></a> </span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi2,</span><span class=cF9>I64</span><span class=cF0> op,</span><span class=cF9>I64</span><span class=cF0> op_imm,</span><span class=cF9>I64</span><span class=cF0> rip)
<a name="l204"></a>{</span><span class=cF2>//TODO:not fully utilizing Modr</span><span class=cF0>
<a name="l205"></a> </span><span class=cF1>Bool</span><span class=cF0> res_not_used=</span><span class=cF5>ToBool</span><span class=cF0>(tmpi2-&gt;ic_flags&amp;</span><span class=cF3>ICF_RES_NOT_USED</span><span class=cF0>);
<a name="l206"></a> </span><span class=cF9>I64</span><span class=cF0> r1,t2,r2,d2,i=0x48;
<a name="l207"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;ic_flags &amp; </span><span class=cF3>ICF_BY_VAL</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l208"></a> t2=arg2-&gt;type&amp;</span><span class=cF3>MDG_MASK</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>; </span><span class=cF2>//TODO: check overflow</span><span class=cF0>
<a name="l209"></a> r2=arg2-&gt;</span><span class=cF1>reg</span><span class=cF0>;
<a name="l210"></a> d2=arg2-&gt;disp;
<a name="l211"></a> </span><span class=cF1>if</span><span class=cF0> (!</span><span class=cF7>(</span><span class=cF0>t2&amp;</span><span class=cF3>MDG_REG_DISP_SIB_RIP</span><span class=cF7>)</span><span class=cF0> || !</span><span class=cF7>(</span><span class=cF0>r2.u8[0]!=</span><span class=cF3>REG_RAX</span><span class=cF0>&amp;&amp;(!</span><span class=cF7>(</span><span class=cF0>t2&amp;</span><span class=cF3>MDF_SIB</span><span class=cF7>)</span><span class=cF0> ||
<a name="l212"></a> r2.u8[1]&amp;15!=</span><span class=cF3>REG_RAX</span><span class=cF0>) || res_not_used</span><span class=cF7>)</span><span class=cF0>) {
<a name="l213"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RCX</span><span class=cF0>,0,t2,r2,d2,rip);
<a name="l214"></a> t2=</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>;
<a name="l215"></a> r2=</span><span class=cF3>REG_RCX</span><span class=cF0>;
<a name="l216"></a> d2=0;
<a name="l217"></a> }
<a name="l218"></a> </span><span class=cF1>if</span><span class=cF0> (arg1-&gt;type&amp;</span><span class=cF3>MDF_REG</span><span class=cF0> &amp;&amp; </span><span class=cF7>(</span><span class=cF0>arg1-&gt;</span><span class=cF1>reg</span><span class=cF0>!=</span><span class=cF3>REG_RAX</span><span class=cF0>||res_not_used</span><span class=cF7>)</span><span class=cF0>)
<a name="l219"></a> r1=arg1-&gt;</span><span class=cF1>reg</span><span class=cF0>;
<a name="l220"></a> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (!</span><span class=cF7>(</span><span class=cF0>arg1-&gt;type&amp;</span><span class=cF3>MDF_IMM</span><span class=cF7>)</span><span class=cF0> || arg1-&gt;disp&gt;63) {
<a name="l221"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RDX</span><span class=cF0>,0,arg1-&gt;type,arg1-&gt;</span><span class=cF1>reg</span><span class=cF0>,arg1-&gt;disp,rip);
<a name="l222"></a> r1=</span><span class=cF3>REG_RDX</span><span class=cF0>;
<a name="l223"></a> } </span><span class=cF1>else</span><span class=cF0>
<a name="l224"></a> r1=0;
<a name="l225"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l226"></a> t2=</span><span class=cF3>MDF_DISP</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>;
<a name="l227"></a> d2=0;
<a name="l228"></a> </span><span class=cF1>if</span><span class=cF0> (arg2-&gt;type&amp;</span><span class=cF3>MDF_REG</span><span class=cF0> &amp;&amp; </span><span class=cF7>(</span><span class=cF0>arg2-&gt;</span><span class=cF1>reg</span><span class=cF0>!=</span><span class=cF3>REG_RAX</span><span class=cF0>||res_not_used</span><span class=cF7>)</span><span class=cF0>)
<a name="l229"></a> r2=arg2-&gt;</span><span class=cF1>reg</span><span class=cF0>;
<a name="l230"></a> </span><span class=cF1>else</span><span class=cF0> {
<a name="l231"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RCX</span><span class=cF0>,0,arg2-&gt;type,arg2-&gt;</span><span class=cF1>reg</span><span class=cF0>,arg2-&gt;disp,rip);
<a name="l232"></a> r2=</span><span class=cF3>REG_RCX</span><span class=cF0>;
<a name="l233"></a> }
<a name="l234"></a> </span><span class=cF1>if</span><span class=cF0> (arg1-&gt;type&amp;</span><span class=cF3>MDF_REG</span><span class=cF0> &amp;&amp; </span><span class=cF7>(</span><span class=cF0>arg1-&gt;</span><span class=cF1>reg</span><span class=cF0>!=</span><span class=cF3>REG_RAX</span><span class=cF0>||res_not_used</span><span class=cF7>)</span><span class=cF0>)
<a name="l235"></a> r1=arg1-&gt;</span><span class=cF1>reg</span><span class=cF0>;
<a name="l236"></a> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (!</span><span class=cF7>(</span><span class=cF0>arg1-&gt;type&amp;</span><span class=cF3>MDF_IMM</span><span class=cF7>)</span><span class=cF0> || arg1-&gt;disp&gt;63) {
<a name="l237"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RDX</span><span class=cF0>,0,arg1-&gt;type,arg1-&gt;</span><span class=cF1>reg</span><span class=cF0>,arg1-&gt;disp,rip);
<a name="l238"></a> r1=</span><span class=cF3>REG_RDX</span><span class=cF0>;
<a name="l239"></a> } </span><span class=cF1>else</span><span class=cF0>
<a name="l240"></a> r1=0;
<a name="l241"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l242"></a> </span><span class=cF1>if</span><span class=cF0> (!res_not_used)
<a name="l243"></a> </span><span class=cFD>ICZero</span><span class=cF0>(tmpi,</span><span class=cF3>REG_RAX</span><span class=cF0>);
<a name="l244"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;ic_flags&amp;</span><span class=cF3>ICF_LOCK</span><span class=cF0> &amp;&amp; op!=0xA30F)
<a name="l245"></a> </span><span class=cFD>ICU8</span><span class=cF0>(tmpi,</span><span class=cF3>OC_LOCK_PREFIX</span><span class=cF0>);
<a name="l246"></a> </span><span class=cF1>if</span><span class=cF0> (arg1-&gt;type&amp;</span><span class=cF3>MDF_IMM</span><span class=cF0> &amp;&amp; arg1-&gt;disp&lt;32)
<a name="l247"></a> t2=t2&amp;</span><span class=cF3>MDG_MASK</span><span class=cF0>+</span><span class=cF3>RT_U32</span><span class=cF0>;
<a name="l248"></a> i=</span><span class=cFD>ICModr1</span><span class=cF0>(r1,t2,r2,d2);
<a name="l249"></a> </span><span class=cFD>ICRex</span><span class=cF0>(tmpi,i.u8[1]);
<a name="l250"></a> </span><span class=cF1>if</span><span class=cF0> (arg1-&gt;type&amp;</span><span class=cF3>MDF_IMM</span><span class=cF0> &amp;&amp; arg1-&gt;disp&lt;64) </span><span class=cF7>{</span><span class=cF0>
<a name="l251"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,i.u8[2]&lt;&lt;16+op_imm);
<a name="l252"></a> </span><span class=cFD>ICModr2</span><span class=cF0>(tmpi,i,,d2,rip+1);
<a name="l253"></a> </span><span class=cFD>ICU8</span><span class=cF0>(tmpi,arg1-&gt;disp);
<a name="l254"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l255"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,i.u8[2]&lt;&lt;16+op);
<a name="l256"></a> </span><span class=cFD>ICModr2</span><span class=cF0>(tmpi,i,,d2,rip);
<a name="l257"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l258"></a> </span><span class=cF1>if</span><span class=cF0> (!res_not_used) </span><span class=cF7>{</span><span class=cF0>
<a name="l259"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0xC0920F); </span><span class=cF2>//SETC AL</span><span class=cF0>
<a name="l260"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;res.type.mode)
<a name="l261"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,tmpi-&gt;res.type,tmpi-&gt;res.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;res.disp,
<a name="l262"></a> </span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RAX</span><span class=cF0>,0,rip);
<a name="l263"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l264"></a>}
<a name="l265"></a>
<a name="l266"></a></span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>ICToUpper</span><span class=cF0>(</span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,</span><span class=cF9>I64</span><span class=cF0> rip)
<a name="l267"></a>{
<a name="l268"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RAX</span><span class=cF0>,0,
<a name="l269"></a> tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,rip);
<a name="l270"></a> </span><span class=cFD>ICU32</span><span class=cF0>(tmpi,0x61F88348);
<a name="l271"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,0x0A7C);
<a name="l272"></a> </span><span class=cFD>ICU32</span><span class=cF0>(tmpi,0x7AF88348);
<a name="l273"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,0x047F);
<a name="l274"></a> </span><span class=cFD>ICU32</span><span class=cF0>(tmpi,0xE0C08348);
<a name="l275"></a>}
<a name="l276"></a>
<a name="l277"></a></span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>ICToI64</span><span class=cF0>(</span><span class=cF9>CCmpCtrl</span><span class=cF0> *cc,</span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,</span><span class=cF9>I64</span><span class=cF0> rip)
<a name="l278"></a>{
<a name="l279"></a> </span><span class=cFD>ICFCvt</span><span class=cF0>(cc,tmpi,</span><span class=cF3>REG_RAX</span><span class=cF0>,
<a name="l280"></a> tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,</span><span class=cF3>TRUE</span><span class=cF0>,CN_INST,rip);
<a name="l281"></a>}
<a name="l282"></a>
<a name="l283"></a></span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>ICToF64</span><span class=cF0>(</span><span class=cF9>CCmpCtrl</span><span class=cF0> *cc,</span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,</span><span class=cF9>I64</span><span class=cF0> rip)
<a name="l284"></a>{
<a name="l285"></a> </span><span class=cFD>ICFCvt</span><span class=cF0>(cc,tmpi,</span><span class=cF3>REG_RAX</span><span class=cF0>,
<a name="l286"></a> tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,</span><span class=cF3>FALSE</span><span class=cF0>,CN_INST,rip);
<a name="l287"></a>}
<a name="l288"></a>
<a name="l289"></a></span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>ICToBool</span><span class=cF0>(</span><span class=cF9>CCmpCtrl</span><span class=cF0> *,</span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,</span><span class=cF9>I64</span><span class=cF0> rip)
<a name="l290"></a>{
<a name="l291"></a> </span><span class=cF9>I64</span><span class=cF0> r;
<a name="l292"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDF_REG</span><span class=cF0>)
<a name="l293"></a> r=tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>;
<a name="l294"></a> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l295"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RAX</span><span class=cF0>,0,
<a name="l296"></a> tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,rip);
<a name="l297"></a> r=</span><span class=cF3>REG_RAX</span><span class=cF0>;
<a name="l298"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l299"></a> </span><span class=cFD>ICTest</span><span class=cF0>(tmpi,r);
<a name="l300"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0xC0950F); </span><span class=cF2>//SETNZ AL</span><span class=cF0>
<a name="l301"></a> </span><span class=cFD>ICU32</span><span class=cF0>(tmpi,0xC0B60F48); </span><span class=cF2>//MOVZX RAX,AL</span><span class=cF0>
<a name="l302"></a>}
<a name="l303"></a>
<a name="l304"></a></span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>ICPreIncDec</span><span class=cF0>(</span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,</span><span class=cF9>I64</span><span class=cF0> op,</span><span class=cF9>I64</span><span class=cF0> rip)
<a name="l305"></a>{
<a name="l306"></a> </span><span class=cF9>I64</span><span class=cF0> r;
<a name="l307"></a> </span><span class=cF9>CHashClass</span><span class=cF0> *tmpc=tmpi-&gt;ic_class,*tmpc1=tmpc-1;
<a name="l308"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;ic_flags &amp; </span><span class=cF3>ICF_BY_VAL</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l309"></a> </span><span class=cF1>if</span><span class=cF0> (tmpc-&gt;ptr_stars_cnt &amp;&amp; tmpc1-&gt;size!=1) {
<a name="l310"></a> </span><span class=cFD>ICAddSubEctImm</span><span class=cF0>(tmpi,
<a name="l311"></a> tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDG_MASK</span><span class=cF0>+tmpi-&gt;arg1_type_pointed_to,
<a name="l312"></a> tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,
<a name="l313"></a> tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDG_MASK</span><span class=cF0>+tmpi-&gt;arg1_type_pointed_to,
<a name="l314"></a> tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,tmpc1-&gt;size,op.u16[3],rip);
<a name="l315"></a> } </span><span class=cF1>else</span><span class=cF0>
<a name="l316"></a> </span><span class=cFD>ICSlashOp</span><span class=cF0>(tmpi,
<a name="l317"></a> tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDG_MASK</span><span class=cF0>+tmpi-&gt;arg1_type_pointed_to,
<a name="l318"></a> tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,op,rip);
<a name="l319"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;res.type.mode)
<a name="l320"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,tmpi-&gt;res.type,tmpi-&gt;res.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;res.disp,
<a name="l321"></a> tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDG_MASK</span><span class=cF0>+tmpi-&gt;arg1_type_pointed_to,
<a name="l322"></a> tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,rip);
<a name="l323"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l324"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDF_REG</span><span class=cF0>)
<a name="l325"></a> r=tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>;
<a name="l326"></a> </span><span class=cF1>else</span><span class=cF0> {
<a name="l327"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RCX</span><span class=cF0>,0,
<a name="l328"></a> tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,rip);
<a name="l329"></a> r=</span><span class=cF3>REG_RCX</span><span class=cF0>;
<a name="l330"></a> }
<a name="l331"></a> </span><span class=cF1>if</span><span class=cF0> (tmpc-&gt;ptr_stars_cnt &amp;&amp;
<a name="l332"></a> tmpc1-&gt;size!=1) {
<a name="l333"></a> </span><span class=cFD>ICAddSubEctImm</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_DISP</span><span class=cF0>+tmpi-&gt;arg1_type_pointed_to,r,0,
<a name="l334"></a> </span><span class=cF3>MDF_DISP</span><span class=cF0>+tmpi-&gt;arg1_type_pointed_to,r,0,
<a name="l335"></a> tmpc1-&gt;size,op.u16[3],rip);
<a name="l336"></a> } </span><span class=cF1>else</span><span class=cF0>
<a name="l337"></a> </span><span class=cFD>ICSlashOp</span><span class=cF0>(tmpi,
<a name="l338"></a> </span><span class=cF3>MDF_DISP</span><span class=cF0>+tmpi-&gt;arg1_type_pointed_to,r,0,op,rip);
<a name="l339"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;res.type.mode)
<a name="l340"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,tmpi-&gt;res.type,tmpi-&gt;res.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;res.disp,
<a name="l341"></a> </span><span class=cF3>MDF_DISP</span><span class=cF0>+tmpi-&gt;arg1_type_pointed_to,r,0,rip);
<a name="l342"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l343"></a>}
<a name="l344"></a>
<a name="l345"></a></span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>ICPostIncDec</span><span class=cF0>(</span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,</span><span class=cF9>I64</span><span class=cF0> op,</span><span class=cF9>I64</span><span class=cF0> rip)
<a name="l346"></a>{
<a name="l347"></a> </span><span class=cF9>I64</span><span class=cF0> r;
<a name="l348"></a> </span><span class=cF9>CHashClass</span><span class=cF0> *tmpc=tmpi-&gt;ic_class,*tmpc1=tmpc-1;
<a name="l349"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;ic_flags &amp; </span><span class=cF3>ICF_BY_VAL</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l350"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;res.type.mode)
<a name="l351"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,tmpi-&gt;res.type,tmpi-&gt;res.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;res.disp,
<a name="l352"></a> tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDG_MASK</span><span class=cF0>+tmpi-&gt;arg1_type_pointed_to,
<a name="l353"></a> tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,rip);
<a name="l354"></a> </span><span class=cF1>if</span><span class=cF0> (tmpc-&gt;ptr_stars_cnt &amp;&amp; tmpc1-&gt;size!=1)
<a name="l355"></a> </span><span class=cFD>ICAddSubEctImm</span><span class=cF0>(tmpi,
<a name="l356"></a> tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDG_MASK</span><span class=cF0>+tmpi-&gt;arg1_type_pointed_to,
<a name="l357"></a> tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,
<a name="l358"></a> tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDG_MASK</span><span class=cF0>+tmpi-&gt;arg1_type_pointed_to,
<a name="l359"></a> tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,tmpc1-&gt;size,op.u16[3],rip);
<a name="l360"></a> </span><span class=cF1>else</span><span class=cF0>
<a name="l361"></a> </span><span class=cFD>ICSlashOp</span><span class=cF0>(tmpi,
<a name="l362"></a> tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDG_MASK</span><span class=cF0>+tmpi-&gt;arg1_type_pointed_to,
<a name="l363"></a> tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,op,rip);
<a name="l364"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l365"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDF_REG</span><span class=cF0> &amp;&amp;
<a name="l366"></a> !</span><span class=cF7>(</span><span class=cF0>tmpi-&gt;res.type&amp;</span><span class=cF3>MDF_REG</span><span class=cF0> &amp;&amp; tmpi-&gt;res.</span><span class=cF1>reg</span><span class=cF0>==tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF7>)</span><span class=cF0>)
<a name="l367"></a> r=tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>;
<a name="l368"></a> </span><span class=cF1>else</span><span class=cF0> {
<a name="l369"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RCX</span><span class=cF0>,0,
<a name="l370"></a> tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,rip);
<a name="l371"></a> r=</span><span class=cF3>REG_RCX</span><span class=cF0>;
<a name="l372"></a> }
<a name="l373"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;res.type.mode)
<a name="l374"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,tmpi-&gt;res.type,tmpi-&gt;res.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;res.disp,
<a name="l375"></a> </span><span class=cF3>MDF_DISP</span><span class=cF0>+tmpi-&gt;arg1_type_pointed_to,r,0,rip);
<a name="l376"></a> </span><span class=cF1>if</span><span class=cF0> (tmpc-&gt;ptr_stars_cnt &amp;&amp; tmpc1-&gt;size!=1)
<a name="l377"></a> </span><span class=cFD>ICAddSubEctImm</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_DISP</span><span class=cF0>+tmpi-&gt;arg1_type_pointed_to,r,0,
<a name="l378"></a> </span><span class=cF3>MDF_DISP</span><span class=cF0>+tmpi-&gt;arg1_type_pointed_to,r,0,tmpc1-&gt;size,op.u16[3],rip);
<a name="l379"></a> </span><span class=cF1>else</span><span class=cF0>
<a name="l380"></a> </span><span class=cFD>ICSlashOp</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_DISP</span><span class=cF0>+tmpi-&gt;arg1_type_pointed_to,r,0,op,rip);
<a name="l381"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l382"></a>}
<a name="l383"></a>
<a name="l384"></a></span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>ICDerefPostIncDec</span><span class=cF0>(</span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,</span><span class=cF9>I64</span><span class=cF0> op,</span><span class=cF9>I64</span><span class=cF0> rip)
<a name="l385"></a>{
<a name="l386"></a> </span><span class=cF9>CICType</span><span class=cF0> t;
<a name="l387"></a> </span><span class=cF9>I64</span><span class=cF0> r;
<a name="l388"></a> </span><span class=cF9>CHashClass</span><span class=cF0> *tmpc1=tmpi-&gt;ic_class;
<a name="l389"></a> t=tmpi-&gt;res.type.raw_type;
<a name="l390"></a> </span><span class=cF1>if</span><span class=cF0> (t&gt;tmpi-&gt;arg1_type_pointed_to)
<a name="l391"></a> t=tmpi-&gt;arg1_type_pointed_to;
<a name="l392"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;ic_flags &amp; </span><span class=cF3>ICF_BY_VAL</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l393"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDF_REG</span><span class=cF0>)
<a name="l394"></a> r=tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>;
<a name="l395"></a> </span><span class=cF1>else</span><span class=cF0> {
<a name="l396"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RDX</span><span class=cF0>,0,
<a name="l397"></a> tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDG_MASK</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,rip);
<a name="l398"></a> r=</span><span class=cF3>REG_RDX</span><span class=cF0>;
<a name="l399"></a> }
<a name="l400"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,tmpi-&gt;res.type,tmpi-&gt;res.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;res.disp,
<a name="l401"></a> </span><span class=cF3>MDF_DISP</span><span class=cF0>+t,r,0,rip);
<a name="l402"></a> </span><span class=cF1>if</span><span class=cF0> (tmpc1-&gt;size!=1)
<a name="l403"></a> </span><span class=cFD>ICAddSubEctImm</span><span class=cF0>(tmpi,
<a name="l404"></a> tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDG_MASK</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,
<a name="l405"></a> tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDG_MASK</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,
<a name="l406"></a> tmpc1-&gt;size,op.u16[3],rip);
<a name="l407"></a> </span><span class=cF1>else</span><span class=cF0>
<a name="l408"></a> </span><span class=cFD>ICSlashOp</span><span class=cF0>(tmpi,tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDG_MASK</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,
<a name="l409"></a> tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,op,rip);
<a name="l410"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l411"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDF_REG</span><span class=cF0>)
<a name="l412"></a> r=tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>;
<a name="l413"></a> </span><span class=cF1>else</span><span class=cF0> {
<a name="l414"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RCX</span><span class=cF0>,0,
<a name="l415"></a> tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDG_MASK</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,rip);
<a name="l416"></a> r=</span><span class=cF3>REG_RCX</span><span class=cF0>;
<a name="l417"></a> }
<a name="l418"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RDX</span><span class=cF0>,0,</span><span class=cF3>MDF_DISP</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,r,0,rip);
<a name="l419"></a> </span><span class=cF1>if</span><span class=cF0> (tmpc1-&gt;size!=1)
<a name="l420"></a> </span><span class=cFD>ICAddSubEctImm</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_DISP</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,r,0,</span><span class=cF3>MDF_DISP</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,r,0,
<a name="l421"></a> tmpc1-&gt;size,op.u16[3],rip);
<a name="l422"></a> </span><span class=cF1>else</span><span class=cF0>
<a name="l423"></a> </span><span class=cFD>ICSlashOp</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_DISP</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,r,0,op,rip);
<a name="l424"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,tmpi-&gt;res.type,tmpi-&gt;res.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;res.disp,
<a name="l425"></a> </span><span class=cF3>MDF_DISP</span><span class=cF0>+t,</span><span class=cF3>REG_RDX</span><span class=cF0>,0,rip);
<a name="l426"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l427"></a>}
<a name="l428"></a>
<a name="l429"></a></span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>ICAssignPostIncDec</span><span class=cF0>(</span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,</span><span class=cF9>I64</span><span class=cF0> op,</span><span class=cF9>I64</span><span class=cF0> rip)
<a name="l430"></a>{
<a name="l431"></a> </span><span class=cF9>CHashClass</span><span class=cF0> *tmpc1=tmpi-&gt;ic_class2-1;
<a name="l432"></a> </span><span class=cF9>I64</span><span class=cF0> r;
<a name="l433"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;ic_flags &amp; </span><span class=cF3>ICF_BY_VAL</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l434"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDF_REG</span><span class=cF0>)
<a name="l435"></a> r=tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>;
<a name="l436"></a> </span><span class=cF1>else</span><span class=cF0> {
<a name="l437"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RDX</span><span class=cF0>,0,
<a name="l438"></a> tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDG_MASK</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,rip);
<a name="l439"></a> r=</span><span class=cF3>REG_RDX</span><span class=cF0>;
<a name="l440"></a> }
<a name="l441"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_DISP</span><span class=cF0>+tmpi-&gt;arg1_type_pointed_to,r,0,
<a name="l442"></a> tmpi-&gt;arg2.type,tmpi-&gt;arg2.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg2.disp,rip);
<a name="l443"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;res.type.mode)
<a name="l444"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,tmpi-&gt;res.type,tmpi-&gt;res.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;res.disp,
<a name="l445"></a> tmpi-&gt;arg2.type,tmpi-&gt;arg2.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg2.disp,rip);
<a name="l446"></a> </span><span class=cF1>if</span><span class=cF0> (tmpc1-&gt;size!=1 || tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDF_STK</span><span class=cF0>)
<a name="l447"></a> </span><span class=cFD>ICAddSubEctImm</span><span class=cF0>(tmpi,tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,
<a name="l448"></a> </span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,r,0,tmpc1-&gt;size,op.u16[3],rip);
<a name="l449"></a> </span><span class=cF1>else</span><span class=cF0>
<a name="l450"></a> </span><span class=cFD>ICSlashOp</span><span class=cF0>(tmpi,tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,op,rip);
<a name="l451"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l452"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RDX</span><span class=cF0>,0,
<a name="l453"></a> tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,rip);
<a name="l454"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RCX</span><span class=cF0>,0,</span><span class=cF3>MDF_DISP</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RDX</span><span class=cF0>,0,rip);
<a name="l455"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_DISP</span><span class=cF0>+tmpi-&gt;arg1_type_pointed_to,</span><span class=cF3>REG_RCX</span><span class=cF0>,0,
<a name="l456"></a> tmpi-&gt;arg2.type,tmpi-&gt;arg2.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg2.disp,rip);
<a name="l457"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;res.type.mode)
<a name="l458"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,tmpi-&gt;res.type,tmpi-&gt;res.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;res.disp,
<a name="l459"></a> tmpi-&gt;arg2.type,tmpi-&gt;arg2.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg2.disp,rip);
<a name="l460"></a> </span><span class=cF1>if</span><span class=cF0> (tmpc1-&gt;size!=1)
<a name="l461"></a> </span><span class=cFD>ICAddSubEctImm</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_DISP</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RDX</span><span class=cF0>,0,
<a name="l462"></a> </span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RCX</span><span class=cF0>,0,tmpc1-&gt;size,op.u16[3],rip);
<a name="l463"></a> </span><span class=cF1>else</span><span class=cF0>
<a name="l464"></a> </span><span class=cFD>ICSlashOp</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_DISP</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RDX</span><span class=cF0>,0,op,rip);
<a name="l465"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l466"></a>}
<a name="l467"></a>
<a name="l468"></a></span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>ICCmpAndBranch</span><span class=cF0>(</span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,</span><span class=cF1>Bool</span><span class=cF0> has_res,</span><span class=cF9>I64</span><span class=cF0> rip,
<a name="l469"></a> </span><span class=cF9>I64</span><span class=cF0> us,</span><span class=cF9>I64</span><span class=cF0> is,</span><span class=cF9>I64</span><span class=cF0> not_us,</span><span class=cF9>I64</span><span class=cF0> not_is,</span><span class=cF1>U8</span><span class=cF0> *buf,</span><span class=cF9>I64</span><span class=cF0> rip2)
<a name="l470"></a>{
<a name="l471"></a> </span><span class=cF9>I64</span><span class=cF0> r1,r2,i=0x48,j,res_reg;
<a name="l472"></a> </span><span class=cF9>CICType</span><span class=cF0> t1,t2;
<a name="l473"></a> </span><span class=cF1>Bool</span><span class=cF0> short_jmp,swap,done;
<a name="l474"></a> </span><span class=cF9>CCodeMisc</span><span class=cF0> *lb;
<a name="l475"></a> </span><span class=cF9>CICArg</span><span class=cF0> *arg1=&amp;tmpi-&gt;arg1,*arg2=&amp;tmpi-&gt;arg2;
<a name="l476"></a>
<a name="l477"></a> j=arg1-&gt;disp;
<a name="l478"></a> </span><span class=cF1>if</span><span class=cF0> (arg1-&gt;type&amp;</span><span class=cF3>MDF_IMM</span><span class=cF0> &amp;&amp; </span><span class=cF3>I32_MIN</span><span class=cF0>&lt;=j&lt;=</span><span class=cF3>I32_MAX</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l479"></a> </span><span class=cF5>SwapI64</span><span class=cF0>(&amp;arg1,&amp;arg2);
<a name="l480"></a> swap=</span><span class=cF3>TRUE</span><span class=cF0>;
<a name="l481"></a> us=not_us;
<a name="l482"></a> is=not_is;
<a name="l483"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0>
<a name="l484"></a> swap=</span><span class=cF3>FALSE</span><span class=cF0>;
<a name="l485"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;ic_class-&gt;raw_type&amp;</span><span class=cF3>RTF_UNSIGNED</span><span class=cF0> ||
<a name="l486"></a> tmpi-&gt;ic_flags &amp; </span><span class=cF3>ICF_USE_UNSIGNED</span><span class=cF0>)
<a name="l487"></a> is=us;
<a name="l488"></a>
<a name="l489"></a> j=arg2-&gt;disp;
<a name="l490"></a> </span><span class=cF1>if</span><span class=cF0> (arg2-&gt;type&amp;</span><span class=cF3>MDF_IMM</span><span class=cF0> &amp;&amp; </span><span class=cF3>I32_MIN</span><span class=cF0>&lt;=j&lt;=</span><span class=cF3>I32_MAX</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l491"></a> </span><span class=cF1>if</span><span class=cF0> (!has_res &amp;&amp; arg1-&gt;type&amp;</span><span class=cF3>MDG_REG_DISP_SIB_RIP</span><span class=cF0>)
<a name="l492"></a> </span><span class=cFD>ICAddSubEctImm</span><span class=cF0>(tmpi,arg1-&gt;type,arg1-&gt;</span><span class=cF1>reg</span><span class=cF0>,arg1-&gt;disp,
<a name="l493"></a> arg1-&gt;type,arg1-&gt;</span><span class=cF1>reg</span><span class=cF0>,arg1-&gt;disp,j,0x073B,rip2);
<a name="l494"></a> </span><span class=cF1>else</span><span class=cF0> {
<a name="l495"></a> </span><span class=cF1>if</span><span class=cF0> (arg1-&gt;type&amp;</span><span class=cF3>MDF_REG</span><span class=cF0>)
<a name="l496"></a> r1=arg1-&gt;</span><span class=cF1>reg</span><span class=cF0>;
<a name="l497"></a> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l498"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RDX</span><span class=cF0>,0,arg1-&gt;type,
<a name="l499"></a> arg1-&gt;</span><span class=cF1>reg</span><span class=cF0>,arg1-&gt;disp,rip2);
<a name="l500"></a> r1=</span><span class=cF3>REG_RDX</span><span class=cF0>;
<a name="l501"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l502"></a> </span><span class=cF1>if</span><span class=cF0> (!j) </span><span class=cF7>{</span><span class=cF0>
<a name="l503"></a> </span><span class=cF1>if</span><span class=cF0> (is.u8[2]==0x7C) {
<a name="l504"></a> </span><span class=cFD>ICTest</span><span class=cF0>(tmpi,r1);
<a name="l505"></a> is=0x78880F;
<a name="l506"></a> } </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (is.u8[2]==0x7D) {
<a name="l507"></a> </span><span class=cFD>ICTest</span><span class=cF0>(tmpi,r1);
<a name="l508"></a> is=0x79890F;
<a name="l509"></a> } </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (is.u8[2]==0x74 || is.u8[2]==0x75)
<a name="l510"></a> </span><span class=cFD>ICTest</span><span class=cF0>(tmpi,r1);
<a name="l511"></a> </span><span class=cF1>else</span><span class=cF0> {
<a name="l512"></a> </span><span class=cF1>if</span><span class=cF0> (r1&gt;7)
<a name="l513"></a> i++;
<a name="l514"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0xF88300+i+</span><span class=cF7>(</span><span class=cF0>r1&amp;7</span><span class=cF7>)</span><span class=cF0>&lt;&lt;16);
<a name="l515"></a> </span><span class=cFD>ICU8</span><span class=cF0>(tmpi,j);
<a name="l516"></a> }
<a name="l517"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l518"></a> </span><span class=cF1>if</span><span class=cF0> (r1&gt;7)
<a name="l519"></a> i++;
<a name="l520"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF3>I8_MIN</span><span class=cF0>&lt;=j&lt;=</span><span class=cF3>I8_MAX</span><span class=cF0>) {
<a name="l521"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0xF88300+i+</span><span class=cF7>(</span><span class=cF0>r1&amp;7</span><span class=cF7>)</span><span class=cF0>&lt;&lt;16);
<a name="l522"></a> </span><span class=cFD>ICU8</span><span class=cF0>(tmpi,j);
<a name="l523"></a> } </span><span class=cF1>else</span><span class=cF0> {
<a name="l524"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0xF88100+i+</span><span class=cF7>(</span><span class=cF0>r1&amp;7</span><span class=cF7>)</span><span class=cF0>&lt;&lt;16);
<a name="l525"></a> </span><span class=cFD>ICU32</span><span class=cF0>(tmpi,j);
<a name="l526"></a> }
<a name="l527"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l528"></a> }
<a name="l529"></a> </span><span class=cF1>if</span><span class=cF0> (has_res) {
<a name="l530"></a> </span><span class=cF1>if</span><span class=cF0> (!swap) </span><span class=cF7>{</span><span class=cF0>
<a name="l531"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RCX</span><span class=cF0>,0,</span><span class=cF3>MDF_IMM</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,0,j,rip2);
<a name="l532"></a> res_reg=</span><span class=cF3>REG_RCX</span><span class=cF0>;
<a name="l533"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0>
<a name="l534"></a> res_reg=r1;
<a name="l535"></a> }
<a name="l536"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l537"></a> done=</span><span class=cF3>FALSE</span><span class=cF0>;
<a name="l538"></a> t1=arg1-&gt;type;
<a name="l539"></a> r1=arg1-&gt;</span><span class=cF1>reg</span><span class=cF0>;
<a name="l540"></a> r2=arg2-&gt;</span><span class=cF1>reg</span><span class=cF0>;
<a name="l541"></a> t2=arg2-&gt;type;
<a name="l542"></a> </span><span class=cF1>if</span><span class=cF0> (t2.raw_type&gt;=</span><span class=cF3>RT_I64</span><span class=cF0> &amp;&amp; !has_res &amp;&amp; t2&amp;</span><span class=cF3>MDG_DISP_SIB_RIP</span><span class=cF0>) {
<a name="l543"></a> </span><span class=cF1>if</span><span class=cF0> (!</span><span class=cF7>(</span><span class=cF0>t1&amp;</span><span class=cF3>MDF_REG</span><span class=cF7>)</span><span class=cF0> || t1.raw_type&lt;</span><span class=cF3>RT_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l544"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RAX</span><span class=cF0>,0,arg1-&gt;type,
<a name="l545"></a> arg1-&gt;</span><span class=cF1>reg</span><span class=cF0>,arg1-&gt;disp,rip2);
<a name="l546"></a> r1=</span><span class=cF3>REG_RAX</span><span class=cF0>;
<a name="l547"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l548"></a> i=</span><span class=cFD>ICModr1</span><span class=cF0>(r1,t2,r2,arg2-&gt;disp);
<a name="l549"></a> </span><span class=cFD>ICRex</span><span class=cF0>(tmpi,i.u8[1]);
<a name="l550"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,i.u8[2]&lt;&lt;8+0x3B);
<a name="l551"></a> </span><span class=cFD>ICModr2</span><span class=cF0>(tmpi,i,,arg2-&gt;disp,rip2);
<a name="l552"></a> done=</span><span class=cF3>TRUE</span><span class=cF0>;
<a name="l553"></a> } </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (t1.raw_type&gt;=</span><span class=cF3>RT_I64</span><span class=cF0> &amp;&amp; t1&amp;</span><span class=cF3>MDG_REG_DISP_SIB_RIP</span><span class=cF0>) {
<a name="l554"></a> </span><span class=cF1>if</span><span class=cF0> (!</span><span class=cF7>(</span><span class=cF0>t2&amp;</span><span class=cF3>MDF_REG</span><span class=cF7>)</span><span class=cF0> || t2.raw_type&lt;</span><span class=cF3>RT_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l555"></a> </span><span class=cF1>if</span><span class=cF0> (t1&amp;</span><span class=cF3>MDF_REG</span><span class=cF0> &amp;&amp; r1==</span><span class=cF3>REG_RAX</span><span class=cF0>) {
<a name="l556"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RCX</span><span class=cF0>,0,arg2-&gt;type,
<a name="l557"></a> arg2-&gt;</span><span class=cF1>reg</span><span class=cF0>,arg2-&gt;disp,rip2);
<a name="l558"></a> r2=</span><span class=cF3>REG_RCX</span><span class=cF0>;
<a name="l559"></a> } </span><span class=cF1>else</span><span class=cF0> {
<a name="l560"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RAX</span><span class=cF0>,0,arg2-&gt;type,
<a name="l561"></a> arg2-&gt;</span><span class=cF1>reg</span><span class=cF0>,arg2-&gt;disp,rip2);
<a name="l562"></a> r2=</span><span class=cF3>REG_RAX</span><span class=cF0>;
<a name="l563"></a> }
<a name="l564"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l565"></a> i=</span><span class=cFD>ICModr1</span><span class=cF0>(r2,t1,r1,arg1-&gt;disp);
<a name="l566"></a> </span><span class=cFD>ICRex</span><span class=cF0>(tmpi,i.u8[1]);
<a name="l567"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,i.u8[2]&lt;&lt;8+0x39);
<a name="l568"></a> </span><span class=cFD>ICModr2</span><span class=cF0>(tmpi,i,,arg1-&gt;disp,rip2);
<a name="l569"></a> </span><span class=cF1>if</span><span class=cF0> (has_res)
<a name="l570"></a> res_reg=r2;
<a name="l571"></a> done=</span><span class=cF3>TRUE</span><span class=cF0>;
<a name="l572"></a> }
<a name="l573"></a> </span><span class=cF1>if</span><span class=cF0> (!done) {
<a name="l574"></a> </span><span class=cF1>if</span><span class=cF0> (arg2-&gt;type&amp;</span><span class=cF3>MDF_REG</span><span class=cF0>)
<a name="l575"></a> r2=arg2-&gt;</span><span class=cF1>reg</span><span class=cF0>;
<a name="l576"></a> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l577"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RAX</span><span class=cF0>,0,arg2-&gt;type,
<a name="l578"></a> arg2-&gt;</span><span class=cF1>reg</span><span class=cF0>,arg2-&gt;disp,rip2);
<a name="l579"></a> r2=</span><span class=cF3>REG_RAX</span><span class=cF0>;
<a name="l580"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l581"></a> </span><span class=cF1>if</span><span class=cF0> (arg1-&gt;type&amp;</span><span class=cF3>MDF_REG</span><span class=cF0>)
<a name="l582"></a> r1=arg1-&gt;</span><span class=cF1>reg</span><span class=cF0>;
<a name="l583"></a> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l584"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RCX</span><span class=cF0>,0,arg1-&gt;type,
<a name="l585"></a> arg1-&gt;</span><span class=cF1>reg</span><span class=cF0>,arg1-&gt;disp,rip2);
<a name="l586"></a> r1=</span><span class=cF3>REG_RCX</span><span class=cF0>;
<a name="l587"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l588"></a> </span><span class=cF1>if</span><span class=cF0> (r2&gt;7)
<a name="l589"></a> i++;
<a name="l590"></a> </span><span class=cF1>if</span><span class=cF0> (r1&gt;7)
<a name="l591"></a> i+=4;
<a name="l592"></a> </span><span class=cFD>ICU24</span><span class=cF0>(tmpi,0xC03B00+i+</span><span class=cF7>(</span><span class=cF0>r2&amp;7</span><span class=cF7>)</span><span class=cF0>&lt;&lt;16+</span><span class=cF7>(</span><span class=cF0>r1&amp;7</span><span class=cF7>)</span><span class=cF0>&lt;&lt;19);
<a name="l593"></a> </span><span class=cF1>if</span><span class=cF0> (has_res)
<a name="l594"></a> res_reg=r2;
<a name="l595"></a> }
<a name="l596"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l597"></a>
<a name="l598"></a> rip+=tmpi-&gt;ic_cnt;
<a name="l599"></a> lb=</span><span class=cFD>OptLabelFwd</span><span class=cF0>(tmpi-&gt;ic_data);
<a name="l600"></a> short_jmp=</span><span class=cF5>ToBool</span><span class=cF0>(tmpi-&gt;ic_flags&amp;</span><span class=cF3>ICF_SHORT_JMP</span><span class=cF0>);
<a name="l601"></a> </span><span class=cF1>if</span><span class=cF0> (!buf &amp;&amp; lb-&gt;addr!=</span><span class=cF3>INVALID_PTR</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l602"></a> i=lb-&gt;addr-(rip+2);
<a name="l603"></a> </span><span class=cF1>if</span><span class=cF0> (lb-&gt;flags&amp;</span><span class=cF3>CMF_POP_CMP</span><span class=cF0>) {
<a name="l604"></a> </span><span class=cF1>if</span><span class=cF0>(tmpi-&gt;ic_flags&amp;</span><span class=cF3>ICF_PUSH_CMP</span><span class=cF0>)
<a name="l605"></a> i+=4;
<a name="l606"></a> </span><span class=cF1>else</span><span class=cF0>
<a name="l607"></a> i+=8;
<a name="l608"></a> }
<a name="l609"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF3>I8_MIN</span><span class=cF0>&lt;=i&lt;=</span><span class=cF3>I8_MAX</span><span class=cF0>)
<a name="l610"></a> short_jmp=</span><span class=cF3>TRUE</span><span class=cF0>;
<a name="l611"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l612"></a>
<a name="l613"></a> </span><span class=cF1>if</span><span class=cF0> (short_jmp) </span><span class=cF7>{</span><span class=cF0>
<a name="l614"></a> tmpi-&gt;ic_flags|=</span><span class=cF3>ICF_SHORT_JMP</span><span class=cF0>;
<a name="l615"></a> i=lb-&gt;addr-(rip+2);
<a name="l616"></a> </span><span class=cF1>if</span><span class=cF0> (lb-&gt;flags&amp;</span><span class=cF3>CMF_POP_CMP</span><span class=cF0>) {
<a name="l617"></a> </span><span class=cF1>if</span><span class=cF0>(tmpi-&gt;ic_flags&amp;</span><span class=cF3>ICF_PUSH_CMP</span><span class=cF0>)
<a name="l618"></a> i+=4;
<a name="l619"></a> </span><span class=cF1>else</span><span class=cF0>
<a name="l620"></a> i+=8;
<a name="l621"></a> }
<a name="l622"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,i&lt;&lt;8+is.u8[2]);
<a name="l623"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l624"></a> tmpi-&gt;ic_flags&amp;=~</span><span class=cF3>ICF_SHORT_JMP</span><span class=cF0>;
<a name="l625"></a> i=lb-&gt;addr-(rip+6);
<a name="l626"></a> </span><span class=cF1>if</span><span class=cF0> (lb-&gt;flags&amp;</span><span class=cF3>CMF_POP_CMP</span><span class=cF0>) {
<a name="l627"></a> </span><span class=cF1>if</span><span class=cF0>(tmpi-&gt;ic_flags&amp;</span><span class=cF3>ICF_PUSH_CMP</span><span class=cF0>)
<a name="l628"></a> i+=4;
<a name="l629"></a> </span><span class=cF1>else</span><span class=cF0>
<a name="l630"></a> i+=8;
<a name="l631"></a> }
<a name="l632"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,is.u16[0]);
<a name="l633"></a> </span><span class=cFD>ICU32</span><span class=cF0>(tmpi,i);
<a name="l634"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l635"></a> </span><span class=cF1>if</span><span class=cF0> (has_res)
<a name="l636"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,tmpi-&gt;res.type,tmpi-&gt;res.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;res.disp,
<a name="l637"></a> </span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,res_reg,0,rip2);
<a name="l638"></a>}
<a name="l639"></a>
<a name="l640"></a></span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>ICTestAndBranch</span><span class=cF0>(</span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,</span><span class=cF9>I64</span><span class=cF0> rip,</span><span class=cF9>I64</span><span class=cF0> is,</span><span class=cF1>U8</span><span class=cF0> *buf,</span><span class=cF9>I64</span><span class=cF0> rip2)
<a name="l641"></a>{
<a name="l642"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l643"></a> </span><span class=cF1>Bool</span><span class=cF0> short_jmp;
<a name="l644"></a> </span><span class=cF9>CCodeMisc</span><span class=cF0> *lb;
<a name="l645"></a>
<a name="l646"></a> </span><span class=cF1>if</span><span class=cF0> (!</span><span class=cF7>(</span><span class=cF0>tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDF_REG</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l647"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi-&gt;arg1.type.raw_type&lt;=</span><span class=cF3>RT_U8</span><span class=cF0> &amp;&amp; tmpi-&gt;arg1.type&amp;</span><span class=cF3>MDG_DISP_SIB_RIP</span><span class=cF0>) {
<a name="l648"></a> i=</span><span class=cFD>ICModr1</span><span class=cF0>(tmpi,tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp);
<a name="l649"></a> </span><span class=cFD>ICRex</span><span class=cF0>(tmpi,i.u8[1]);
<a name="l650"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,i.u8[2]&lt;&lt;8+0xF6);
<a name="l651"></a> </span><span class=cFD>ICModr2</span><span class=cF0>(tmpi,i,,tmpi-&gt;arg1.disp,rip2+1);
<a name="l652"></a> </span><span class=cFD>ICU8</span><span class=cF0>(tmpi,0xFF);
<a name="l653"></a> } </span><span class=cF1>else</span><span class=cF0> {
<a name="l654"></a> </span><span class=cFD>ICMov</span><span class=cF0>(tmpi,</span><span class=cF3>MDF_REG</span><span class=cF0>+</span><span class=cF3>RT_I64</span><span class=cF0>,</span><span class=cF3>REG_RAX</span><span class=cF0>,0,
<a name="l655"></a> tmpi-&gt;arg1.type,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>,tmpi-&gt;arg1.disp,rip2);
<a name="l656"></a> </span><span class=cFD>ICTest</span><span class=cF0>(tmpi,</span><span class=cF3>REG_RAX</span><span class=cF0>);
<a name="l657"></a> }
<a name="l658"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0>
<a name="l659"></a> </span><span class=cFD>ICTest</span><span class=cF0>(tmpi,tmpi-&gt;arg1.</span><span class=cF1>reg</span><span class=cF0>);
<a name="l660"></a>
<a name="l661"></a> rip+=tmpi-&gt;ic_cnt;
<a name="l662"></a> lb=</span><span class=cFD>OptLabelFwd</span><span class=cF0>(tmpi-&gt;ic_data);
<a name="l663"></a> short_jmp=</span><span class=cF5>ToBool</span><span class=cF0>(tmpi-&gt;ic_flags&amp;</span><span class=cF3>ICF_SHORT_JMP</span><span class=cF0>);
<a name="l664"></a> </span><span class=cF1>if</span><span class=cF0> (!buf &amp;&amp; lb-&gt;addr!=</span><span class=cF3>INVALID_PTR</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l665"></a> i=lb-&gt;addr-(rip+2);
<a name="l666"></a> </span><span class=cF1>if</span><span class=cF0> (lb-&gt;flags&amp;</span><span class=cF3>CMF_POP_CMP</span><span class=cF0>)
<a name="l667"></a> i+=8;
<a name="l668"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF3>I8_MIN</span><span class=cF0>&lt;=i&lt;=</span><span class=cF3>I8_MAX</span><span class=cF0>)
<a name="l669"></a> short_jmp=</span><span class=cF3>TRUE</span><span class=cF0>;
<a name="l670"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l671"></a>
<a name="l672"></a> </span><span class=cF1>if</span><span class=cF0> (short_jmp) </span><span class=cF7>{</span><span class=cF0>
<a name="l673"></a> tmpi-&gt;ic_flags|=</span><span class=cF3>ICF_SHORT_JMP</span><span class=cF0>;
<a name="l674"></a> i=lb-&gt;addr-(rip+2);
<a name="l675"></a> </span><span class=cF1>if</span><span class=cF0> (lb-&gt;flags&amp;</span><span class=cF3>CMF_POP_CMP</span><span class=cF0>)
<a name="l676"></a> i+=8;
<a name="l677"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,i&lt;&lt;8+is.u8[2]);
<a name="l678"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l679"></a> tmpi-&gt;ic_flags&amp;=~</span><span class=cF3>ICF_SHORT_JMP</span><span class=cF0>;
<a name="l680"></a> i=lb-&gt;addr-(rip+6);
<a name="l681"></a> </span><span class=cF1>if</span><span class=cF0> (lb-&gt;flags&amp;</span><span class=cF3>CMF_POP_CMP</span><span class=cF0>)
<a name="l682"></a> i+=8;
<a name="l683"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,is.u16[0]);
<a name="l684"></a> </span><span class=cFD>ICU32</span><span class=cF0>(tmpi,i);
<a name="l685"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l686"></a>}
<a name="l687"></a>
<a name="l688"></a></span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>ICFlagBranch</span><span class=cF0>(</span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,</span><span class=cF9>I64</span><span class=cF0> rip,</span><span class=cF9>I64</span><span class=cF0> is,</span><span class=cF1>U8</span><span class=cF0> *buf)
<a name="l689"></a>{
<a name="l690"></a> </span><span class=cF9>I64</span><span class=cF0> i;
<a name="l691"></a> </span><span class=cF1>Bool</span><span class=cF0> short_jmp;
<a name="l692"></a> </span><span class=cF9>CCodeMisc</span><span class=cF0> *lb;
<a name="l693"></a>
<a name="l694"></a> rip+=tmpi-&gt;ic_cnt;
<a name="l695"></a> lb=</span><span class=cFD>OptLabelFwd</span><span class=cF0>(tmpi-&gt;ic_data);
<a name="l696"></a> short_jmp=</span><span class=cF5>ToBool</span><span class=cF0>(tmpi-&gt;ic_flags&amp;</span><span class=cF3>ICF_SHORT_JMP</span><span class=cF0>);
<a name="l697"></a> </span><span class=cF1>if</span><span class=cF0> (!buf &amp;&amp; lb-&gt;addr!=</span><span class=cF3>INVALID_PTR</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
<a name="l698"></a> i=lb-&gt;addr-(rip+2);
<a name="l699"></a> </span><span class=cF1>if</span><span class=cF0> (lb-&gt;flags&amp;</span><span class=cF3>CMF_POP_CMP</span><span class=cF0>)
<a name="l700"></a> i+=8;
<a name="l701"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF3>I8_MIN</span><span class=cF0>&lt;=i&lt;=</span><span class=cF3>I8_MAX</span><span class=cF0>)
<a name="l702"></a> short_jmp=</span><span class=cF3>TRUE</span><span class=cF0>;
<a name="l703"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l704"></a>
<a name="l705"></a> </span><span class=cF1>if</span><span class=cF0> (short_jmp) </span><span class=cF7>{</span><span class=cF0>
<a name="l706"></a> tmpi-&gt;ic_flags|=</span><span class=cF3>ICF_SHORT_JMP</span><span class=cF0>;
<a name="l707"></a> i=lb-&gt;addr-(rip+2);
<a name="l708"></a> </span><span class=cF1>if</span><span class=cF0> (lb-&gt;flags&amp;</span><span class=cF3>CMF_POP_CMP</span><span class=cF0>)
<a name="l709"></a> i+=8;
<a name="l710"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,i&lt;&lt;8+is.u8[2]);
<a name="l711"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
<a name="l712"></a> tmpi-&gt;ic_flags&amp;=~</span><span class=cF3>ICF_SHORT_JMP</span><span class=cF0>;
<a name="l713"></a> i=lb-&gt;addr-(rip+6);
<a name="l714"></a> </span><span class=cF1>if</span><span class=cF0> (lb-&gt;flags&amp;</span><span class=cF3>CMF_POP_CMP</span><span class=cF0>)
<a name="l715"></a> i+=8;
<a name="l716"></a> </span><span class=cFD>ICU16</span><span class=cF0>(tmpi,is.u16[0]);
<a name="l717"></a> </span><span class=cFD>ICU32</span><span class=cF0>(tmpi,i);
<a name="l718"></a> </span><span class=cF7>}</span><span class=cF0>
<a name="l719"></a>}
</span></pre></body>
</html>