1320 lines
151 KiB
Plaintext
1320 lines
151 KiB
Plaintext
|
<!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=cF2>/*OptPass012</span><span class=cF0>
|
||
|
<a name="l2"></a>
|
||
|
<a name="l3"></a></span><span class=cF2>Pass#0</span><span class=cF0>
|
||
|
<a name="l4"></a></span><span class=cF2>When parsing the arg expressions to a function</span><span class=cF0>
|
||
|
<a name="l5"></a></span><span class=cF2>call, there is a call to OptPass012 to determine</span><span class=cF0>
|
||
|
<a name="l6"></a></span><span class=cF2>the type of the expression. </span><a href="/Wb/Compiler/PrsExp.HC.HTML#l474"><span class=cF4>OptPass012</span></a><span class=cF0>
|
||
|
<a name="l7"></a>
|
||
|
<a name="l8"></a></span><span class=cF2>Pass#1&2</span><span class=cF0>
|
||
|
<a name="l9"></a></span><span class=cF2>Constant expressions are simplified.</span><span class=cF0>
|
||
|
<a name="l10"></a></span><span class=cF2>Eliminated opcodes are set to NOP.</span><span class=cF0>
|
||
|
<a name="l11"></a></span><span class=cF2>Types are determined by reconstructing an</span><span class=cF0>
|
||
|
<a name="l12"></a></span><span class=cF2>expression tree for operators</span><span class=cF4>
|
||
|
<a name="l13"></a></span><a href="/Wb/Kernel/KernelA.HH.HTML#l1666"><span class=cF4>CIntermediateCode</span></a><span class=cF2>.</span><a href="/Wb/Kernel/KernelA.HH.HTML#l1650"><span class=cF4>CICTreeLinks</span></a><span class=cF2>.</span><span class=cF0>
|
||
|
<a name="l14"></a>
|
||
|
<a name="l15"></a></span><span class=cF2>Pointer arithmetic size is set, once</span><span class=cF0>
|
||
|
<a name="l16"></a></span><span class=cF2>the type is determined.</span><span class=cF0>
|
||
|
<a name="l17"></a>
|
||
|
<a name="l18"></a></span><span class=cF2>Branches are expressed with short-circuit</span><span class=cF0>
|
||
|
<a name="l19"></a></span><span class=cF2>logic. 3-Arg comparisons are established.</span><span class=cF0>
|
||
|
<a name="l20"></a>
|
||
|
<a name="l21"></a></span><span class=cF2>*/</span><span class=cF0>
|
||
|
<a name="l22"></a>
|
||
|
<a name="l23"></a></span><span class=cF9>CIntermediateCode</span><span class=cF0> *</span><span class=cFD>OptPass012</span><span class=cF0>(</span><span class=cF9>CCmpCtrl</span><span class=cF0> *cc)
|
||
|
<a name="l24"></a>{</span><span class=cF2>/*Simplify CONST arithmetic.</span><span class=cF0>
|
||
|
<a name="l25"></a></span><span class=cF2>Sets the class throughout Expression trees.</span><span class=cF0>
|
||
|
<a name="l26"></a></span><span class=cF2>Returns the type of an Expression for use</span><span class=cF0>
|
||
|
<a name="l27"></a></span><span class=cF2>in int<-->F64 conversions of fun</span><span class=cF0>
|
||
|
<a name="l28"></a></span><span class=cF2>args.</span><span class=cF0>
|
||
|
<a name="l29"></a></span><span class=cF2>*/</span><span class=cF0>
|
||
|
<a name="l30"></a> </span><span class=cF9>I64</span><span class=cF0> code,i;
|
||
|
<a name="l31"></a> </span><span class=cF1>Bool</span><span class=cF0> is_unsigned;
|
||
|
<a name="l32"></a> </span><span class=cF9>CHashClass</span><span class=cF0> *tmpc,*tmpc1,*tmpc2;
|
||
|
<a name="l33"></a> </span><span class=cF9>CIntermediateCode</span><span class=cF0> *tmpi,*tmpi1,*tmpi2,*tmpi3,*tmpi_push,
|
||
|
<a name="l34"></a> *last_with_class=</span><span class=cF3>NULL</span><span class=cF0>;
|
||
|
<a name="l35"></a> </span><span class=cF9>CCodeMisc</span><span class=cF0> *lb,*lb1,*lb2;
|
||
|
<a name="l36"></a> </span><span class=cF9>CPrsStk</span><span class=cF0> *ps;
|
||
|
<a name="l37"></a> </span><span class=cF1>if</span><span class=cF0> (!</span><span class=cF7>(</span><span class=cF0>ps=cc->ps</span><span class=cF7>)</span><span class=cF0>)
|
||
|
<a name="l38"></a> ps=cc->ps=</span><span class=cF5>MAlloc</span><span class=cF0>(</span><span class=cF1>sizeof</span><span class=cF7>(</span><span class=cF9>CPrsStk</span><span class=cF7>)</span><span class=cF0>);
|
||
|
<a name="l39"></a> ps->ptr=0;
|
||
|
<a name="l40"></a> ps->ptr2=0;
|
||
|
<a name="l41"></a> tmpi=cc->coc.coc_head.next;
|
||
|
<a name="l42"></a> </span><span class=cF1>while</span><span class=cF0> (code=tmpi->ic_code) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l43"></a> tmpc=tmpi->ic_class;
|
||
|
<a name="l44"></a> tmpi->ic_class2=tmpc;
|
||
|
<a name="l45"></a> tmpi_push=tmpi;
|
||
|
<a name="l46"></a> </span><span class=cF5>MemSet</span><span class=cF0>(&tmpi->arg1,0,3*</span><span class=cF1>sizeof</span><span class=cF7>(</span><span class=cF9>CICArg</span><span class=cF7>)</span><span class=cF0>);
|
||
|
<a name="l47"></a> tmpi->arg1_type_pointed_to=0;
|
||
|
<a name="l48"></a> </span><span class=cF1>switch</span><span class=cF0> [</span><span class=cFD>intermediate_code_table</span><span class=cF0>[code].arg_cnt] {
|
||
|
<a name="l49"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IS_V_ARG</span><span class=cF0>:
|
||
|
<a name="l50"></a> ps->ptr-=tmpi->ic_data>>2;
|
||
|
<a name="l51"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l52"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IS_2_ARG</span><span class=cF0>:
|
||
|
<a name="l53"></a> tmpi2=</span><span class=cFD>PrsPop</span><span class=cF0>(ps);
|
||
|
<a name="l54"></a> tmpc2=tmpi2->ic_class;
|
||
|
<a name="l55"></a> tmpi->t.arg2_tree=tmpi2;
|
||
|
<a name="l56"></a> tmpi->t.arg2_class=</span><span class=cFD>PrsPop</span><span class=cF0>(ps);
|
||
|
<a name="l57"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IS_1_ARG</span><span class=cF0>:
|
||
|
<a name="l58"></a> tmpi1=</span><span class=cFD>PrsPop</span><span class=cF0>(ps);
|
||
|
<a name="l59"></a> tmpc1=tmpi1->ic_class;
|
||
|
<a name="l60"></a> tmpi->t.arg1_tree=tmpi1;
|
||
|
<a name="l61"></a> tmpi->t.arg1_class=</span><span class=cFD>PrsPop</span><span class=cF0>(ps);
|
||
|
<a name="l62"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l63"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IS_0_ARG</span><span class=cF0>: </span><span class=cF2>//nobound switch</span><span class=cF0>
|
||
|
<a name="l64"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l65"></a> }
|
||
|
<a name="l66"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFD>intermediate_code_table</span><span class=cF0>[code].not_const)
|
||
|
<a name="l67"></a> cc->flags|=</span><span class=cF3>CCF_NOT_CONST</span><span class=cF0>;
|
||
|
<a name="l68"></a> </span><span class=cF1>switch</span><span class=cF0> [code] {
|
||
|
<a name="l69"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_IMM_F64</span><span class=cF0>:
|
||
|
<a name="l70"></a> tmpi->ic_flags&=~</span><span class=cF3>ICF_RES_TO_F64</span><span class=cF0>;
|
||
|
<a name="l71"></a> </span><span class=cF1>if</span><span class=cF0> (cc->pass==2 && tmpi->ic_flags&</span><span class=cF3>ICF_RES_TO_INT</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l72"></a> tmpi->ic_data=</span><span class=cF5>ToI64</span><span class=cF0>(tmpi->ic_data</span><span class=cF7>(</span><span class=cF1>F64</span><span class=cF7>)</span><span class=cF0>);
|
||
|
<a name="l73"></a> tmpi->ic_flags&=~</span><span class=cF3>ICF_RES_TO_INT</span><span class=cF0>;
|
||
|
<a name="l74"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l75"></a> tmpi->ic_class=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_I64</span><span class=cF0>];
|
||
|
<a name="l76"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l77"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l78"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_IMM_I64</span><span class=cF0>:
|
||
|
<a name="l79"></a> tmpi->ic_flags&=~</span><span class=cF3>ICF_RES_TO_INT</span><span class=cF0>;
|
||
|
<a name="l80"></a> </span><span class=cF1>if</span><span class=cF0> (cc->pass==2 && tmpi->ic_flags&</span><span class=cF3>ICF_RES_TO_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l81"></a> tmpi->ic_data(</span><span class=cF1>F64</span><span class=cF0>)=</span><span class=cF5>ToF64</span><span class=cF0>(tmpi->ic_data);
|
||
|
<a name="l82"></a> tmpi->ic_flags&=~</span><span class=cF3>ICF_RES_TO_F64</span><span class=cF0>;
|
||
|
<a name="l83"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_F64</span><span class=cF0>;
|
||
|
<a name="l84"></a> tmpi->ic_class=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_F64</span><span class=cF0>];
|
||
|
<a name="l85"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l86"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l87"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_HOLYC_TYPECAST</span><span class=cF0>:
|
||
|
<a name="l88"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0> || tmpi1->ic_code==</span><span class=cF3>IC_IMM_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l89"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi->ic_class->raw_type==</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l90"></a> tmpi1->ic_code=</span><span class=cF3>IC_IMM_F64</span><span class=cF0>;
|
||
|
<a name="l91"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l92"></a> tmpi1->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l93"></a> tmpi1->ic_class=tmpi->ic_class;
|
||
|
<a name="l94"></a> tmpi1->ic_flags|=tmpi->ic_flags;
|
||
|
<a name="l95"></a> tmpi_push=tmpi1;
|
||
|
<a name="l96"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l97"></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="l98"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi->ic_data) {</span><span class=cF2>//was paren</span><span class=cF0>
|
||
|
<a name="l99"></a> </span><span class=cF1>if</span><span class=cF0> (!tmpi_push->ic_class->ptr_stars_cnt) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l100"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi_push->ic_class->raw_type==</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l101"></a> tmpi_push->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_F64</span><span class=cF0>];
|
||
|
<a name="l102"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l103"></a> tmpi_push->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_I64</span><span class=cF0>];
|
||
|
<a name="l104"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l105"></a> } </span><span class=cF1>else</span><span class=cF0> {
|
||
|
<a name="l106"></a> tmpi1->ic_class=tmpi->ic_class;
|
||
|
<a name="l107"></a> tmpi1->ic_flags|=tmpi->ic_flags;
|
||
|
<a name="l108"></a> tmpi_push=tmpi1;
|
||
|
<a name="l109"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l110"></a> }
|
||
|
<a name="l111"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l112"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l113"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_FS</span><span class=cF0>:
|
||
|
<a name="l114"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_GS</span><span class=cF0>:
|
||
|
<a name="l115"></a></span><span class=cF2>//CALL,FS/GS,CALL_END,IMM,ADD,DEREF-->MOV_FS/GS</span><span class=cF0>
|
||
|
<a name="l116"></a> tmpi1=tmpi->next->next; </span><span class=cF2>//IMM</span><span class=cF0>
|
||
|
<a name="l117"></a> tmpi2=tmpi1->next; </span><span class=cF2>//ADD</span><span class=cF0>
|
||
|
<a name="l118"></a> tmpi3=tmpi2->next; </span><span class=cF2>//DEREF</span><span class=cF0>
|
||
|
<a name="l119"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0> && tmpi2->ic_code==</span><span class=cF3>IC_ADD</span><span class=cF0> &&
|
||
|
<a name="l120"></a> tmpi3->ic_code==</span><span class=cF3>IC_DEREF</span><span class=cF0> &&
|
||
|
<a name="l121"></a> !</span><span class=cF7>(</span><span class=cF0>tmpi3->ic_flags&~</span><span class=cF3>ICG_NO_CVT_MASK</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l122"></a> tmpi->ic_flags|=tmpi1->ic_flags|tmpi2->ic_flags|tmpi3->ic_flags;
|
||
|
<a name="l123"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi->ic_code==</span><span class=cF3>IC_FS</span><span class=cF0>)
|
||
|
<a name="l124"></a> tmpi->ic_code=</span><span class=cF3>IC_MOV_FS</span><span class=cF0>;
|
||
|
<a name="l125"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l126"></a> tmpi->ic_code=</span><span class=cF3>IC_MOV_GS</span><span class=cF0>;
|
||
|
<a name="l127"></a> tmpi->ic_data=tmpi1->ic_data;
|
||
|
<a name="l128"></a> tmpi->ic_class =tmpi3->ic_class;
|
||
|
<a name="l129"></a> tmpi->ic_class2=tmpi3->ic_class2;
|
||
|
<a name="l130"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l131"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l132"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi3);
|
||
|
<a name="l133"></a>
|
||
|
<a name="l134"></a> tmpi1=tmpi->last; </span><span class=cF2>//CALL</span><span class=cF0>
|
||
|
<a name="l135"></a> tmpi2=tmpi->next; </span><span class=cF2>//CALL_END</span><span class=cF0>
|
||
|
<a name="l136"></a> tmpi->ic_flags|=tmpi1->ic_flags|tmpi2->ic_flags;
|
||
|
<a name="l137"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l138"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l139"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l140"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l141"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_PUSH_CMP</span><span class=cF0>:
|
||
|
<a name="l142"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1=</span><span class=cFD>OptLag</span><span class=cF7>(</span><span class=cF0>tmpi</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l143"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_AND_AND</span><span class=cF0>)
|
||
|
<a name="l144"></a> tmpi1=</span><span class=cFD>OptLag</span><span class=cF0>(tmpi1);
|
||
|
<a name="l145"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1)
|
||
|
<a name="l146"></a> tmpi->ic_class=tmpi1->ic_class;
|
||
|
<a name="l147"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l148"></a> tmpi->ic_class2=tmpi->ic_class;
|
||
|
<a name="l149"></a> tmpi->ic_data=0;
|
||
|
<a name="l150"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi->ic_class->raw_type==</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l151"></a> tmpi->ic_flags|=</span><span class=cF3>ICF_USE_F64</span><span class=cF0>;
|
||
|
<a name="l152"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l153"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_COM</span><span class=cF0>:
|
||
|
<a name="l154"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l155"></a> tmpi->ic_data=~tmpi1->ic_data;
|
||
|
<a name="l156"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l157"></a> tmpi->ic_flags|=tmpi1->ic_flags;
|
||
|
<a name="l158"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l159"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l160"></a> tmpi_push->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_I64</span><span class=cF0>];
|
||
|
<a name="l161"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l162"></a> </span><span class=cF1>start</span><span class=cF0>:
|
||
|
<a name="l163"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_NOT</span><span class=cF0>:
|
||
|
<a name="l164"></a> </span><span class=cF1>if</span><span class=cF0> (tmpc->raw_type==</span><span class=cF3>RT_F64</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> (tmpi1->ic_code==</span><span class=cF3>IC_IMM_F64</span><span class=cF0>) {
|
||
|
<a name="l166"></a> tmpi->ic_data(</span><span class=cF1>F64</span><span class=cF0>)=!tmpi1->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l167"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_F64</span><span class=cF0>;
|
||
|
<a name="l168"></a> tmpi->ic_flags|=tmpi1->ic_flags;
|
||
|
<a name="l169"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l170"></a> }
|
||
|
<a name="l171"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l172"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l173"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l174"></a> tmpi->ic_data=!tmpi1->ic_data;
|
||
|
<a name="l175"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l176"></a> tmpi->ic_flags|=tmpi1->ic_flags;
|
||
|
<a name="l177"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l178"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l179"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l180"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_UNARY_MINUS</span><span class=cF0>:
|
||
|
<a name="l181"></a> </span><span class=cF1>if</span><span class=cF0> (i=</span><span class=cFD>OptFixupUnaryOp</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l182"></a> </span><span class=cF1>if</span><span class=cF0> (i==FBO1_INT) {
|
||
|
<a name="l183"></a> tmpi->ic_data=-tmpi1->ic_data(</span><span class=cF9>I64</span><span class=cF0>);
|
||
|
<a name="l184"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l185"></a> } </span><span class=cF1>else</span><span class=cF0> {
|
||
|
<a name="l186"></a> tmpi->ic_data(</span><span class=cF1>F64</span><span class=cF0>)=-tmpi1->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l187"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_F64</span><span class=cF0>;
|
||
|
<a name="l188"></a> }
|
||
|
<a name="l189"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l190"></a> </span><span class=cF1>if</span><span class=cF0> (tmpc1->type&</span><span class=cF3>HTT_INTERNAL_TYPE</span><span class=cF0> && tmpc1->raw_type&</span><span class=cF3>RTF_UNSIGNED</span><span class=cF0>)
|
||
|
<a name="l191"></a> tmpi->ic_class=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[tmpc1->raw_type-1];
|
||
|
<a name="l192"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l193"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SHL_CONST</span><span class=cF0>:
|
||
|
<a name="l194"></a> </span><span class=cF1>if</span><span class=cF0> (i=</span><span class=cFD>OptFixupUnaryOp</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l195"></a> </span><span class=cF1>if</span><span class=cF0> (i==FBO1_INT) {
|
||
|
<a name="l196"></a> </span><span class=cF1>if</span><span class=cF0> (is_unsigned)
|
||
|
<a name="l197"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>U64</span><span class=cF0>)<<tmpi->ic_data(</span><span class=cF9>U64</span><span class=cF0>);
|
||
|
<a name="l198"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l199"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>I64</span><span class=cF0>)<<tmpi->ic_data(</span><span class=cF9>I64</span><span class=cF0>);
|
||
|
<a name="l200"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l201"></a> } </span><span class=cF1>else</span><span class=cF0> {
|
||
|
<a name="l202"></a> tmpi->ic_data(</span><span class=cF1>F64</span><span class=cF0>)=tmpi1->ic_data(</span><span class=cF1>F64</span><span class=cF0>)<<tmpi->ic_data;
|
||
|
<a name="l203"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_F64</span><span class=cF0>;
|
||
|
<a name="l204"></a> }
|
||
|
<a name="l205"></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> (tmpi1->ic_code==</span><span class=cF3>IC_SHL_CONST</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l206"></a> tmpi->ic_flags|=tmpi1->ic_flags;
|
||
|
<a name="l207"></a> tmpi->ic_data+=tmpi1->ic_data;
|
||
|
<a name="l208"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l209"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l210"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l211"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SHR_CONST</span><span class=cF0>:
|
||
|
<a name="l212"></a> </span><span class=cF1>if</span><span class=cF0> (i=</span><span class=cFD>OptFixupUnaryOp</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l213"></a> </span><span class=cF1>if</span><span class=cF0> (i==FBO1_INT) {
|
||
|
<a name="l214"></a> </span><span class=cF1>if</span><span class=cF0> (is_unsigned)
|
||
|
<a name="l215"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>U64</span><span class=cF0>)>>tmpi->ic_data(</span><span class=cF9>U64</span><span class=cF0>);
|
||
|
<a name="l216"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l217"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>I64</span><span class=cF0>)>>tmpi->ic_data(</span><span class=cF9>I64</span><span class=cF0>);
|
||
|
<a name="l218"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l219"></a> } </span><span class=cF1>else</span><span class=cF0> {
|
||
|
<a name="l220"></a> tmpi->ic_data(</span><span class=cF1>F64</span><span class=cF0>)=tmpi1->ic_data(</span><span class=cF1>F64</span><span class=cF0>)>>tmpi->ic_data;
|
||
|
<a name="l221"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_F64</span><span class=cF0>;
|
||
|
<a name="l222"></a> }
|
||
|
<a name="l223"></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> (tmpi1->ic_code==</span><span class=cF3>IC_SHR_CONST</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l224"></a> tmpi->ic_flags|=tmpi1->ic_flags;
|
||
|
<a name="l225"></a> tmpi->ic_data+=tmpi1->ic_data;
|
||
|
<a name="l226"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l227"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l228"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l229"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SHL</span><span class=cF0>:
|
||
|
<a name="l230"></a> </span><span class=cF1>if</span><span class=cF0> (i=</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,tmpi2,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l231"></a> </span><span class=cF1>if</span><span class=cF0> (i==FBO1_INT) {
|
||
|
<a name="l232"></a> </span><span class=cF1>if</span><span class=cF0> (is_unsigned)
|
||
|
<a name="l233"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>U64</span><span class=cF0>)<<tmpi2->ic_data(</span><span class=cF9>U64</span><span class=cF0>);
|
||
|
<a name="l234"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l235"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>I64</span><span class=cF0>)<<tmpi2->ic_data(</span><span class=cF9>I64</span><span class=cF0>);
|
||
|
<a name="l236"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l237"></a> } </span><span class=cF1>else</span><span class=cF0> {
|
||
|
<a name="l238"></a> tmpi->ic_data(</span><span class=cF1>F64</span><span class=cF0>)=tmpi1->ic_data(</span><span class=cF1>F64</span><span class=cF0>) << tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l239"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_F64</span><span class=cF0>;
|
||
|
<a name="l240"></a> }
|
||
|
<a name="l241"></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> (tmpi2->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l242"></a> tmpi->ic_flags|=tmpi2->ic_flags;
|
||
|
<a name="l243"></a> tmpi->ic_data=tmpi2->ic_data;
|
||
|
<a name="l244"></a> tmpi->ic_code=</span><span class=cF3>IC_SHL_CONST</span><span class=cF0>;
|
||
|
<a name="l245"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l246"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l247"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l248"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SHR</span><span class=cF0>:
|
||
|
<a name="l249"></a> </span><span class=cF1>if</span><span class=cF0> (i=</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,tmpi2,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l250"></a> </span><span class=cF1>if</span><span class=cF0> (i==FBO1_INT) {
|
||
|
<a name="l251"></a> </span><span class=cF1>if</span><span class=cF0> (is_unsigned)
|
||
|
<a name="l252"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>U64</span><span class=cF0>)>>tmpi2->ic_data(</span><span class=cF9>U64</span><span class=cF0>);
|
||
|
<a name="l253"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l254"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>I64</span><span class=cF0>)>>tmpi2->ic_data(</span><span class=cF9>I64</span><span class=cF0>);
|
||
|
<a name="l255"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l256"></a> } </span><span class=cF1>else</span><span class=cF0> {
|
||
|
<a name="l257"></a> tmpi->ic_data(</span><span class=cF1>F64</span><span class=cF0>)=tmpi1->ic_data(</span><span class=cF1>F64</span><span class=cF0>) >> tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l258"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_F64</span><span class=cF0>;
|
||
|
<a name="l259"></a> }
|
||
|
<a name="l260"></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> (tmpi2->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l261"></a> tmpi->ic_flags|=tmpi2->ic_flags;
|
||
|
<a name="l262"></a> tmpi->ic_data=tmpi2->ic_data;
|
||
|
<a name="l263"></a> tmpi->ic_code=</span><span class=cF3>IC_SHR_CONST</span><span class=cF0>;
|
||
|
<a name="l264"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l265"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l266"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l267"></a> </span><span class=cF1>end</span><span class=cF0>:
|
||
|
<a name="l268"></a> </span><span class=cF1>if</span><span class=cF0> (!tmpi_push->ic_class->ptr_stars_cnt) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l269"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi_push->ic_class->raw_type==</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l270"></a> tmpi_push->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_F64</span><span class=cF0>];
|
||
|
<a name="l271"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l272"></a> tmpi_push->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_I64</span><span class=cF0>];
|
||
|
<a name="l273"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l274"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l275"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_DEREF</span><span class=cF0>:
|
||
|
<a name="l276"></a> </span><span class=cF1>if</span><span class=cF0> (cc->pass==2) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l277"></a> </span><span class=cF1>if</span><span class=cF0> (!tmpc->size)
|
||
|
<a name="l278"></a> </span><span class=cF5>LexWarn</span><span class=cF0>(cc,</span><span class=cF6>"Dereference U0 "</span><span class=cF0>);
|
||
|
<a name="l279"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_class->raw_type!=</span><span class=cF3>RT_F64</span><span class=cF0>) {
|
||
|
<a name="l280"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC__PP</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l281"></a> tmpi->ic_code=</span><span class=cF3>IC_DEREF_PP</span><span class=cF0>;
|
||
|
<a name="l282"></a> tmpi->ic_flags|=tmpi1->ic_flags;
|
||
|
<a name="l283"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l284"></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> (tmpi1->ic_code==</span><span class=cF3>IC__MM</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l285"></a> tmpi->ic_code=</span><span class=cF3>IC_DEREF_MM</span><span class=cF0>;
|
||
|
<a name="l286"></a> tmpi->ic_flags|=tmpi1->ic_flags;
|
||
|
<a name="l287"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l288"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l289"></a> }
|
||
|
<a name="l290"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l291"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l292"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC__PP</span><span class=cF0>:
|
||
|
<a name="l293"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC__MM</span><span class=cF0>:
|
||
|
<a name="l294"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_PP_</span><span class=cF0>:
|
||
|
<a name="l295"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_MM_</span><span class=cF0>:
|
||
|
<a name="l296"></a> </span><span class=cF1>if</span><span class=cF0> (cc->pass==2 && !tmpc->size)
|
||
|
<a name="l297"></a> </span><span class=cF5>LexWarn</span><span class=cF0>(cc,</span><span class=cF6>"Dereference U0 "</span><span class=cF0>);
|
||
|
<a name="l298"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l299"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_POWER</span><span class=cF0>:
|
||
|
<a name="l300"></a> tmpc=tmpi->ic_class=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_F64</span><span class=cF0>];
|
||
|
<a name="l301"></a> </span><span class=cF1>if</span><span class=cF0> (tmpc1->raw_type!=</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l302"></a> tmpi1->ic_flags|=</span><span class=cF3>ICF_RES_TO_F64</span><span class=cF0>;
|
||
|
<a name="l303"></a> </span><span class=cF1>if</span><span class=cF0> (tmpc2->raw_type!=</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l304"></a> tmpi2->ic_flags|=</span><span class=cF3>ICF_RES_TO_F64</span><span class=cF0>;
|
||
|
<a name="l305"></a> tmpi_push->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_F64</span><span class=cF0>];
|
||
|
<a name="l306"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l307"></a> </span><span class=cF1>start</span><span class=cF0>:
|
||
|
<a name="l308"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_MUL</span><span class=cF0>:
|
||
|
<a name="l309"></a> </span><span class=cF1>if</span><span class=cF0> (i=</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,tmpi2,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l310"></a> </span><span class=cF1>if</span><span class=cF0> (i==FBO1_INT) {
|
||
|
<a name="l311"></a> </span><span class=cF1>if</span><span class=cF0> (is_unsigned)
|
||
|
<a name="l312"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>U64</span><span class=cF0>)*tmpi2->ic_data(</span><span class=cF9>U64</span><span class=cF0>);
|
||
|
<a name="l313"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l314"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>I64</span><span class=cF0>)*tmpi2->ic_data(</span><span class=cF9>I64</span><span class=cF0>);
|
||
|
<a name="l315"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l316"></a> } </span><span class=cF1>else</span><span class=cF0> {
|
||
|
<a name="l317"></a> tmpi->ic_data(</span><span class=cF1>F64</span><span class=cF0>)=tmpi1->ic_data(</span><span class=cF1>F64</span><span class=cF0>)*tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l318"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_F64</span><span class=cF0>;
|
||
|
<a name="l319"></a> }
|
||
|
<a name="l320"></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="l321"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0> && cc->pass==2) {
|
||
|
<a name="l322"></a> </span><span class=cF1>switch</span><span class=cF0> (i=tmpi1->ic_data) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l323"></a> </span><span class=cF1>case</span><span class=cF0> 0:
|
||
|
<a name="l324"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l325"></a> </span><span class=cF1>case</span><span class=cF0> 1:
|
||
|
<a name="l326"></a> tmpi2->ic_flags|=tmpi->ic_flags|tmpi1->ic_flags;
|
||
|
<a name="l327"></a> tmpi2->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l328"></a> tmpi_push=tmpi2;
|
||
|
<a name="l329"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l330"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l331"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l332"></a> </span><span class=cF1>default</span><span class=cF0>:
|
||
|
<a name="l333"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>Bsf</span><span class=cF7>(</span><span class=cF0>i</span><span class=cF7>)</span><span class=cF0>==</span><span class=cF5>Bsr</span><span class=cF7>(</span><span class=cF0>i</span><span class=cF7>)</span><span class=cF0>) {
|
||
|
<a name="l334"></a> tmpi->ic_flags|=tmpi1->ic_flags;
|
||
|
<a name="l335"></a> tmpi->t.arg1_class=tmpi->t.arg2_class;
|
||
|
<a name="l336"></a> tmpi->ic_data=</span><span class=cF5>Bsf</span><span class=cF0>(i);
|
||
|
<a name="l337"></a> tmpi->ic_code=</span><span class=cF3>IC_SHL_CONST</span><span class=cF0>;
|
||
|
<a name="l338"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l339"></a> }
|
||
|
<a name="l340"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l341"></a> } </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (tmpi2->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) {
|
||
|
<a name="l342"></a> </span><span class=cF1>switch</span><span class=cF0> (i=tmpi2->ic_data) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l343"></a> </span><span class=cF1>case</span><span class=cF0> 0:
|
||
|
<a name="l344"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l345"></a> </span><span class=cF1>case</span><span class=cF0> 1:
|
||
|
<a name="l346"></a> tmpi1->ic_flags|=tmpi->ic_flags|tmpi2->ic_flags;
|
||
|
<a name="l347"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l348"></a> tmpi_push=tmpi1;
|
||
|
<a name="l349"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l350"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l351"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l352"></a> </span><span class=cF1>default</span><span class=cF0>:
|
||
|
<a name="l353"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>Bsf</span><span class=cF7>(</span><span class=cF0>i</span><span class=cF7>)</span><span class=cF0>==</span><span class=cF5>Bsr</span><span class=cF7>(</span><span class=cF0>i</span><span class=cF7>)</span><span class=cF0>) {
|
||
|
<a name="l354"></a> tmpi->ic_flags|=tmpi2->ic_flags;
|
||
|
<a name="l355"></a> tmpi->ic_data=</span><span class=cF5>Bsf</span><span class=cF0>(i);
|
||
|
<a name="l356"></a> tmpi->ic_code=</span><span class=cF3>IC_SHL_CONST</span><span class=cF0>;
|
||
|
<a name="l357"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l358"></a> } </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_MUL</span><span class=cF0> && cc->pass==2) {
|
||
|
<a name="l359"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->t.arg1_tree->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l360"></a> tmpi1->ic_flags|=tmpi->ic_flags;
|
||
|
<a name="l361"></a> tmpi1->t.arg1_tree->ic_data*=tmpi2->ic_data;
|
||
|
<a name="l362"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l363"></a> tmpi_push=tmpi1;
|
||
|
<a name="l364"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l365"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l366"></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> (tmpi1->t.arg2_tree->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l367"></a> tmpi1->ic_flags|=tmpi->ic_flags;
|
||
|
<a name="l368"></a> tmpi1->t.arg2_tree->ic_data*=tmpi2->ic_data;
|
||
|
<a name="l369"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l370"></a> tmpi_push=tmpi1;
|
||
|
<a name="l371"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l372"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l373"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l374"></a> }
|
||
|
<a name="l375"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l376"></a> } </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (tmpi2->ic_code==</span><span class=cF3>IC_IMM_F64</span><span class=cF0> && cc->pass==2) {
|
||
|
<a name="l377"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi2->ic_data</span><span class=cF7>(</span><span class=cF1>F64</span><span class=cF7>)</span><span class=cF0>==1.0) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l378"></a> tmpi1->ic_flags|=tmpi->ic_flags|tmpi2->ic_flags;
|
||
|
<a name="l379"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l380"></a> tmpi_push=tmpi1;
|
||
|
<a name="l381"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l382"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l383"></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> (tmpi1->ic_code==</span><span class=cF3>IC_MUL</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l384"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->t.arg1_tree->ic_code==</span><span class=cF3>IC_IMM_F64</span><span class=cF0>) {
|
||
|
<a name="l385"></a> tmpi1->ic_flags|=tmpi->ic_flags|tmpi2->ic_flags;
|
||
|
<a name="l386"></a> tmpi1->t.arg1_tree->ic_data(</span><span class=cF1>F64</span><span class=cF0>)*=tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l387"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l388"></a> tmpi_push=tmpi1;
|
||
|
<a name="l389"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l390"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l391"></a> } </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (tmpi1->t.arg2_tree->ic_code==</span><span class=cF3>IC_IMM_F64</span><span class=cF0>) {
|
||
|
<a name="l392"></a> tmpi1->ic_flags|=tmpi->ic_flags|tmpi2->ic_flags;
|
||
|
<a name="l393"></a> tmpi1->t.arg2_tree->ic_data(</span><span class=cF1>F64</span><span class=cF0>)*=tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l394"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l395"></a> tmpi_push=tmpi1;
|
||
|
<a name="l396"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l397"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l398"></a> }
|
||
|
<a name="l399"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l400"></a> }
|
||
|
<a name="l401"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l402"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l403"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_DIV</span><span class=cF0>:
|
||
|
<a name="l404"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF7>(</span><span class=cF0>tmpi2->ic_data || tmpi2->ic_code!=</span><span class=cF3>IC_IMM_I64</span><span class=cF0> &&
|
||
|
<a name="l405"></a> tmpi2->ic_code!=</span><span class=cF3>IC_IMM_F64</span><span class=cF7>)</span><span class=cF0> &&
|
||
|
<a name="l406"></a> </span><span class=cF7>(</span><span class=cF0>i=</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF0>(tmpi,tmpi1,tmpi2,&is_unsigned)</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l407"></a> </span><span class=cF1>if</span><span class=cF0> (i==FBO1_INT) {
|
||
|
<a name="l408"></a> </span><span class=cF1>if</span><span class=cF0> (is_unsigned)
|
||
|
<a name="l409"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>U64</span><span class=cF0>)/tmpi2->ic_data(</span><span class=cF9>U64</span><span class=cF0>);
|
||
|
<a name="l410"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l411"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>I64</span><span class=cF0>)/tmpi2->ic_data(</span><span class=cF9>I64</span><span class=cF0>);
|
||
|
<a name="l412"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l413"></a> } </span><span class=cF1>else</span><span class=cF0> {
|
||
|
<a name="l414"></a> tmpi->ic_data(</span><span class=cF1>F64</span><span class=cF0>)=tmpi1->ic_data(</span><span class=cF1>F64</span><span class=cF0>)/
|
||
|
<a name="l415"></a> tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l416"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_F64</span><span class=cF0>;
|
||
|
<a name="l417"></a> }
|
||
|
<a name="l418"></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="l419"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi2->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0> && </span><span class=cF7>(</span><span class=cF0>i=tmpi2->ic_data</span><span class=cF7>)</span><span class=cF0>) {
|
||
|
<a name="l420"></a> </span><span class=cF1>if</span><span class=cF0> (i==1) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l421"></a> tmpi1->ic_flags|=tmpi2->ic_flags|tmpi->ic_flags;
|
||
|
<a name="l422"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l423"></a> tmpi_push=tmpi1;
|
||
|
<a name="l424"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l425"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l426"></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=cF5>Bsf</span><span class=cF7>(</span><span class=cF0>i</span><span class=cF7>)</span><span class=cF0>==</span><span class=cF5>Bsr</span><span class=cF7>(</span><span class=cF0>i</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l427"></a> tmpi->ic_flags|=tmpi2->ic_flags;
|
||
|
<a name="l428"></a> tmpi->ic_data=</span><span class=cF5>Bsf</span><span class=cF0>(i);
|
||
|
<a name="l429"></a> tmpi->ic_code=</span><span class=cF3>IC_SHR_CONST</span><span class=cF0>;
|
||
|
<a name="l430"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l431"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l432"></a> }
|
||
|
<a name="l433"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l434"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l435"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_MOD</span><span class=cF0>:
|
||
|
<a name="l436"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF7>(</span><span class=cF0>tmpi2->ic_data || tmpi2->ic_code!=</span><span class=cF3>IC_IMM_I64</span><span class=cF0> &&
|
||
|
<a name="l437"></a> tmpi2->ic_code!=</span><span class=cF3>IC_IMM_F64</span><span class=cF7>)</span><span class=cF0> &&
|
||
|
<a name="l438"></a> </span><span class=cF7>(</span><span class=cF0>i=</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF0>(tmpi,tmpi1,tmpi2,&is_unsigned)</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l439"></a> </span><span class=cF1>if</span><span class=cF0> (i==FBO1_INT) {
|
||
|
<a name="l440"></a> </span><span class=cF1>if</span><span class=cF0> (is_unsigned)
|
||
|
<a name="l441"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>U64</span><span class=cF0>)%tmpi2->ic_data(</span><span class=cF9>U64</span><span class=cF0>);
|
||
|
<a name="l442"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l443"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>I64</span><span class=cF0>)%tmpi2->ic_data(</span><span class=cF9>I64</span><span class=cF0>);
|
||
|
<a name="l444"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l445"></a> } </span><span class=cF1>else</span><span class=cF0> {
|
||
|
<a name="l446"></a> tmpi->ic_data(</span><span class=cF1>F64</span><span class=cF0>)=tmpi1->ic_data(</span><span class=cF1>F64</span><span class=cF0>)%
|
||
|
<a name="l447"></a> tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l448"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_F64</span><span class=cF0>;
|
||
|
<a name="l449"></a> }
|
||
|
<a name="l450"></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> (cc->pass==2 && tmpi2->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0> &&
|
||
|
<a name="l451"></a> </span><span class=cF7>(</span><span class=cF0>i=tmpi2->ic_data</span><span class=cF7>)</span><span class=cF0> && </span><span class=cF5>Bsf</span><span class=cF7>(</span><span class=cF0>i</span><span class=cF7>)</span><span class=cF0>==</span><span class=cF5>Bsr</span><span class=cF7>(</span><span class=cF0>i</span><span class=cF7>)</span><span class=cF0> &&
|
||
|
<a name="l452"></a> tmpi_push->ic_class->raw_type!=</span><span class=cF3>RT_F64</span><span class=cF0> &&
|
||
|
<a name="l453"></a> tmpi_push->ic_class->raw_type&</span><span class=cF3>RTF_UNSIGNED</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF2>//do only unsigned</span><span class=cF0>
|
||
|
<a name="l454"></a> tmpi2->ic_data=i-1;
|
||
|
<a name="l455"></a> tmpi->ic_code=</span><span class=cF3>IC_AND</span><span class=cF0>;
|
||
|
<a name="l456"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l457"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l458"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_AND</span><span class=cF0>:
|
||
|
<a name="l459"></a> </span><span class=cF1>if</span><span class=cF0> (i=</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,tmpi2,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l460"></a> tmpi->ic_data=tmpi1->ic_data&tmpi2->ic_data;
|
||
|
<a name="l461"></a> </span><span class=cF1>if</span><span class=cF0> (i==FBO1_INT)
|
||
|
<a name="l462"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l463"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l464"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_F64</span><span class=cF0>;
|
||
|
<a name="l465"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l466"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l467"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_OR</span><span class=cF0>:
|
||
|
<a name="l468"></a> </span><span class=cF1>if</span><span class=cF0> (i=</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,tmpi2,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l469"></a> tmpi->ic_data=tmpi1->ic_data|tmpi2->ic_data;
|
||
|
<a name="l470"></a> </span><span class=cF1>if</span><span class=cF0> (i==FBO1_INT)
|
||
|
<a name="l471"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l472"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l473"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_F64</span><span class=cF0>;
|
||
|
<a name="l474"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l475"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l476"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_XOR</span><span class=cF0>:
|
||
|
<a name="l477"></a> </span><span class=cF1>if</span><span class=cF0> (i=</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,tmpi2,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l478"></a> tmpi->ic_data=tmpi1->ic_data^tmpi2->ic_data;
|
||
|
<a name="l479"></a> </span><span class=cF1>if</span><span class=cF0> (i==FBO1_INT)
|
||
|
<a name="l480"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l481"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l482"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_F64</span><span class=cF0>;
|
||
|
<a name="l483"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l484"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l485"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_ADD</span><span class=cF0>:
|
||
|
<a name="l486"></a> </span><span class=cF1>if</span><span class=cF0> (i=</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,tmpi2,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l487"></a> </span><span class=cF1>if</span><span class=cF0> (i==FBO1_INT) {
|
||
|
<a name="l488"></a> tmpi->ic_data=tmpi1->ic_data+tmpi2->ic_data;
|
||
|
<a name="l489"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l490"></a> } </span><span class=cF1>else</span><span class=cF0> {
|
||
|
<a name="l491"></a> tmpi->ic_data(</span><span class=cF1>F64</span><span class=cF0>)=tmpi1->ic_data(</span><span class=cF1>F64</span><span class=cF0>)+
|
||
|
<a name="l492"></a> tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l493"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_F64</span><span class=cF0>;
|
||
|
<a name="l494"></a> }
|
||
|
<a name="l495"></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="l496"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_ABS_ADDR</span><span class=cF0>&&tmpi2->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) {
|
||
|
<a name="l497"></a> tmpi->ic_flags|=tmpi1->ic_flags|tmpi2->ic_flags;
|
||
|
<a name="l498"></a> tmpi->ic_data=tmpi1->ic_data+tmpi2->ic_data;
|
||
|
<a name="l499"></a> tmpi->ic_code=</span><span class=cF3>IC_ABS_ADDR</span><span class=cF0>;
|
||
|
<a name="l500"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l501"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l502"></a> } </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (cc->pass==2) {
|
||
|
<a name="l503"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l504"></a> </span><span class=cF1>if</span><span class=cF0> (!tmpi1->ic_data) {
|
||
|
<a name="l505"></a> tmpi2->ic_flags|=tmpi1->ic_flags|tmpi->ic_flags;
|
||
|
<a name="l506"></a> tmpi2->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l507"></a> tmpi_push=tmpi2;
|
||
|
<a name="l508"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l509"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l510"></a> } </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (tmpi2->ic_code==</span><span class=cF3>IC_ADD</span><span class=cF0>||
|
||
|
<a name="l511"></a> tmpi2->ic_code==</span><span class=cF3>IC_SUB</span><span class=cF0>) {
|
||
|
<a name="l512"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi2->t.arg1_tree->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l513"></a> tmpi2->ic_flags|=tmpi->ic_flags;
|
||
|
<a name="l514"></a> tmpi2->t.arg1_tree->ic_data+=tmpi1->ic_data;
|
||
|
<a name="l515"></a> tmpi2->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l516"></a> tmpi_push=tmpi2;
|
||
|
<a name="l517"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l518"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l519"></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> (tmpi2->t.arg2_tree->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l520"></a> tmpi2->ic_flags|=tmpi->ic_flags;
|
||
|
<a name="l521"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi2->ic_code==</span><span class=cF3>IC_ADD</span><span class=cF0>)
|
||
|
<a name="l522"></a> tmpi2->t.arg2_tree->ic_data+=tmpi1->ic_data;
|
||
|
<a name="l523"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l524"></a> tmpi2->t.arg2_tree->ic_data-=tmpi1->ic_data;
|
||
|
<a name="l525"></a> tmpi2->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l526"></a> tmpi_push=tmpi2;
|
||
|
<a name="l527"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l528"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l529"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l530"></a> }
|
||
|
<a name="l531"></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> (tmpi2->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l532"></a> </span><span class=cF1>if</span><span class=cF0> (!tmpi2->ic_data) {
|
||
|
<a name="l533"></a> tmpi1->ic_flags|=tmpi2->ic_flags|tmpi->ic_flags;
|
||
|
<a name="l534"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l535"></a> tmpi_push=tmpi1;
|
||
|
<a name="l536"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l537"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l538"></a> } </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_ADD</span><span class=cF0> ||
|
||
|
<a name="l539"></a> tmpi1->ic_code==</span><span class=cF3>IC_SUB</span><span class=cF0>) {
|
||
|
<a name="l540"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->t.arg1_tree->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l541"></a> tmpi1->ic_flags|=tmpi->ic_flags;
|
||
|
<a name="l542"></a> tmpi1->t.arg1_tree->ic_data+=tmpi2->ic_data;
|
||
|
<a name="l543"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l544"></a> tmpi_push=tmpi1;
|
||
|
<a name="l545"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l546"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l547"></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> (tmpi1->t.arg2_tree->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l548"></a> tmpi1->ic_flags|=tmpi->ic_flags;
|
||
|
<a name="l549"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_ADD</span><span class=cF0>)
|
||
|
<a name="l550"></a> tmpi1->t.arg2_tree->ic_data+=tmpi2->ic_data;
|
||
|
<a name="l551"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l552"></a> tmpi1->t.arg2_tree->ic_data-=tmpi2->ic_data;
|
||
|
<a name="l553"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l554"></a> tmpi_push=tmpi1;
|
||
|
<a name="l555"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l556"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l557"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l558"></a> }
|
||
|
<a name="l559"></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> (tmpi1->ic_code==</span><span class=cF3>IC_IMM_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l560"></a> </span><span class=cF1>if</span><span class=cF0> (!tmpi1->ic_data) {
|
||
|
<a name="l561"></a> tmpi2->ic_flags|=tmpi1->ic_flags|tmpi->ic_flags;
|
||
|
<a name="l562"></a> tmpi2->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l563"></a> tmpi_push=tmpi2;
|
||
|
<a name="l564"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l565"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l566"></a> } </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (tmpi2->ic_code==</span><span class=cF3>IC_ADD</span><span class=cF0>||
|
||
|
<a name="l567"></a> tmpi2->ic_code==</span><span class=cF3>IC_SUB</span><span class=cF0>) {
|
||
|
<a name="l568"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi2->t.arg1_tree->ic_code==</span><span class=cF3>IC_IMM_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l569"></a> tmpi2->ic_flags|=tmpi->ic_flags;
|
||
|
<a name="l570"></a> tmpi2->t.arg1_tree->ic_data(</span><span class=cF1>F64</span><span class=cF0>)+=tmpi1->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l571"></a> tmpi2->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l572"></a> tmpi_push=tmpi2;
|
||
|
<a name="l573"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l574"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l575"></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> (tmpi2->t.arg2_tree->ic_code==</span><span class=cF3>IC_IMM_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l576"></a> tmpi2->ic_flags|=tmpi->ic_flags;
|
||
|
<a name="l577"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi2->ic_code==</span><span class=cF3>IC_ADD</span><span class=cF0>)
|
||
|
<a name="l578"></a> tmpi2->t.arg2_tree->ic_data(</span><span class=cF1>F64</span><span class=cF0>)+=tmpi1->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l579"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l580"></a> tmpi2->t.arg2_tree->ic_data(</span><span class=cF1>F64</span><span class=cF0>)-=tmpi1->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l581"></a> tmpi2->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l582"></a> tmpi_push=tmpi2;
|
||
|
<a name="l583"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l584"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l585"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l586"></a> }
|
||
|
<a name="l587"></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> (tmpi2->ic_code==</span><span class=cF3>IC_IMM_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l588"></a> </span><span class=cF1>if</span><span class=cF0> (!tmpi2->ic_data) {
|
||
|
<a name="l589"></a> tmpi1->ic_flags|=tmpi2->ic_flags|tmpi->ic_flags;
|
||
|
<a name="l590"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l591"></a> tmpi_push=tmpi1;
|
||
|
<a name="l592"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l593"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l594"></a> } </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_ADD</span><span class=cF0> ||
|
||
|
<a name="l595"></a> tmpi1->ic_code==</span><span class=cF3>IC_SUB</span><span class=cF0>) {
|
||
|
<a name="l596"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->t.arg1_tree->ic_code==</span><span class=cF3>IC_IMM_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l597"></a> tmpi1->ic_flags|=tmpi->ic_flags;
|
||
|
<a name="l598"></a> tmpi1->t.arg1_tree->ic_data(</span><span class=cF1>F64</span><span class=cF0>)+=tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l599"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l600"></a> tmpi_push=tmpi1;
|
||
|
<a name="l601"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l602"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l603"></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> (tmpi1->t.arg2_tree->ic_code==</span><span class=cF3>IC_IMM_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l604"></a> tmpi1->ic_flags|=tmpi->ic_flags;
|
||
|
<a name="l605"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_ADD</span><span class=cF0>)
|
||
|
<a name="l606"></a> tmpi1->t.arg2_tree->ic_data(</span><span class=cF1>F64</span><span class=cF0>)+=tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l607"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l608"></a> tmpi1->t.arg2_tree->ic_data(</span><span class=cF1>F64</span><span class=cF0>)-=tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l609"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l610"></a> tmpi_push=tmpi1;
|
||
|
<a name="l611"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l612"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l613"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l614"></a> }
|
||
|
<a name="l615"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l616"></a> }
|
||
|
<a name="l617"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l618"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l619"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SUB</span><span class=cF0>:
|
||
|
<a name="l620"></a> </span><span class=cF1>if</span><span class=cF0> (i=</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,tmpi2,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l621"></a> </span><span class=cF1>if</span><span class=cF0> (i==FBO1_INT) {
|
||
|
<a name="l622"></a> tmpi->ic_data=tmpi1->ic_data-tmpi2->ic_data;
|
||
|
<a name="l623"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l624"></a> } </span><span class=cF1>else</span><span class=cF0> {
|
||
|
<a name="l625"></a> tmpi->ic_data(</span><span class=cF1>F64</span><span class=cF0>)=tmpi1->ic_data(</span><span class=cF1>F64</span><span class=cF0>)-
|
||
|
<a name="l626"></a> tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l627"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_F64</span><span class=cF0>;
|
||
|
<a name="l628"></a> }
|
||
|
<a name="l629"></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="l630"></a> </span><span class=cF1>if</span><span class=cF0> (cc->pass==2) {
|
||
|
<a name="l631"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi2->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l632"></a> </span><span class=cF1>if</span><span class=cF0> (!tmpi2->ic_data) {
|
||
|
<a name="l633"></a> tmpi1->ic_flags|=tmpi2->ic_flags|tmpi->ic_flags;
|
||
|
<a name="l634"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l635"></a> tmpi_push=tmpi1;
|
||
|
<a name="l636"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l637"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l638"></a> } </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l639"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_ADD</span><span class=cF0> ||
|
||
|
<a name="l640"></a> tmpi1->ic_code==</span><span class=cF3>IC_SUB</span><span class=cF0>) {
|
||
|
<a name="l641"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->t.arg1_tree->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l642"></a> tmpi1->ic_flags|=tmpi->ic_flags;
|
||
|
<a name="l643"></a> tmpi1->t.arg1_tree->ic_data-=tmpi2->ic_data;
|
||
|
<a name="l644"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l645"></a> tmpi_push=tmpi1;
|
||
|
<a name="l646"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l647"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l648"></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> (tmpi1->t.arg2_tree->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l649"></a> tmpi1->ic_flags|=tmpi->ic_flags;
|
||
|
<a name="l650"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_ADD</span><span class=cF0>)
|
||
|
<a name="l651"></a> tmpi1->t.arg2_tree->ic_data-=tmpi2->ic_data;
|
||
|
<a name="l652"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l653"></a> tmpi1->t.arg2_tree->ic_data+=tmpi2->ic_data;
|
||
|
<a name="l654"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l655"></a> tmpi_push=tmpi1;
|
||
|
<a name="l656"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l657"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l658"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l659"></a> }
|
||
|
<a name="l660"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l661"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi2->ic_code==</span><span class=cF3>IC_IMM_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l662"></a> </span><span class=cF1>if</span><span class=cF0> (!tmpi2->ic_data) {
|
||
|
<a name="l663"></a> tmpi1->ic_flags|=tmpi2->ic_flags|tmpi->ic_flags;
|
||
|
<a name="l664"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l665"></a> tmpi_push=tmpi1;
|
||
|
<a name="l666"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l667"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l668"></a> } </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l669"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_ADD</span><span class=cF0> || tmpi1->ic_code==</span><span class=cF3>IC_SUB</span><span class=cF0>) {
|
||
|
<a name="l670"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->t.arg1_tree->ic_code==</span><span class=cF3>IC_IMM_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l671"></a> tmpi1->ic_flags|=tmpi->ic_flags|tmpi2->ic_flags;
|
||
|
<a name="l672"></a> tmpi1->t.arg1_tree->ic_data(</span><span class=cF1>F64</span><span class=cF0>)-=tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l673"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l674"></a> tmpi_push=tmpi1;
|
||
|
<a name="l675"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l676"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l677"></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> (tmpi1->t.arg2_tree->ic_code==</span><span class=cF3>IC_IMM_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l678"></a> tmpi1->ic_flags|=tmpi->ic_flags|tmpi2->ic_flags;
|
||
|
<a name="l679"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_ADD</span><span class=cF0>)
|
||
|
<a name="l680"></a> tmpi1->t.arg2_tree->ic_data(</span><span class=cF1>F64</span><span class=cF0>)-=tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l681"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l682"></a> tmpi1->t.arg2_tree->ic_data(</span><span class=cF1>F64</span><span class=cF0>)+=tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l683"></a> tmpi1->ic_class2=tmpi->ic_class2;
|
||
|
<a name="l684"></a> tmpi_push=tmpi1;
|
||
|
<a name="l685"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l686"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l687"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l688"></a> }
|
||
|
<a name="l689"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l690"></a> }
|
||
|
<a name="l691"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l692"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l693"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_AND_AND</span><span class=cF0>:
|
||
|
<a name="l694"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,tmpi2,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l695"></a> tmpi->ic_data=tmpi1->ic_data&&tmpi2->ic_data;
|
||
|
<a name="l696"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l697"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l698"></a> tmpi->ic_class=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_I64</span><span class=cF0>];
|
||
|
<a name="l699"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l700"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_OR_OR</span><span class=cF0>:
|
||
|
<a name="l701"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,tmpi2,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l702"></a> tmpi->ic_data=tmpi1->ic_data||tmpi2->ic_data;
|
||
|
<a name="l703"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l704"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l705"></a> tmpi->ic_class=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_I64</span><span class=cF0>];
|
||
|
<a name="l706"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l707"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_XOR_XOR</span><span class=cF0>:
|
||
|
<a name="l708"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,tmpi2,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l709"></a> tmpi->ic_data=tmpi1->ic_data^^tmpi2->ic_data;
|
||
|
<a name="l710"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l711"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l712"></a> tmpi->ic_class=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_I64</span><span class=cF0>];
|
||
|
<a name="l713"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l714"></a> </span><span class=cF1>end</span><span class=cF0>:
|
||
|
<a name="l715"></a> </span><span class=cF1>if</span><span class=cF0> (!tmpi_push->ic_class->ptr_stars_cnt) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l716"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi_push->ic_class->raw_type==</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l717"></a> tmpi_push->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_F64</span><span class=cF0>];
|
||
|
<a name="l718"></a> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (is_unsigned)
|
||
|
<a name="l719"></a> tmpi_push->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_U64</span><span class=cF0>];
|
||
|
<a name="l720"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l721"></a> tmpi_push->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_I64</span><span class=cF0>];
|
||
|
<a name="l722"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l723"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l724"></a> </span><span class=cF1>start</span><span class=cF0>:
|
||
|
<a name="l725"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_EQU_EQU</span><span class=cF0>:
|
||
|
<a name="l726"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,tmpi2,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l727"></a> tmpi->ic_data=tmpi1->ic_data==tmpi2->ic_data;
|
||
|
<a name="l728"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l729"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l730"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi->ic_class->raw_type==</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l731"></a> tmpi->ic_flags|=</span><span class=cF3>ICF_USE_F64</span><span class=cF0>;
|
||
|
<a name="l732"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l733"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_NOT_EQU</span><span class=cF0>:
|
||
|
<a name="l734"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,tmpi2,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l735"></a> tmpi->ic_data=tmpi1->ic_data!=tmpi2->ic_data;
|
||
|
<a name="l736"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l737"></a> </span><span class=cF7>}</span><span class=cF0> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l738"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi->ic_class->raw_type==</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l739"></a> tmpi->ic_flags|=</span><span class=cF3>ICF_USE_F64</span><span class=cF0>;
|
||
|
<a name="l740"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l741"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_LESS</span><span class=cF0>:
|
||
|
<a name="l742"></a> </span><span class=cF1>if</span><span class=cF0> (i=</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,tmpi2,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l743"></a> </span><span class=cF1>if</span><span class=cF0> (i==FBO1_INT) {
|
||
|
<a name="l744"></a> </span><span class=cF1>if</span><span class=cF0> (is_unsigned)
|
||
|
<a name="l745"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>U64</span><span class=cF0>)<tmpi2->ic_data(</span><span class=cF9>U64</span><span class=cF0>);
|
||
|
<a name="l746"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l747"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>I64</span><span class=cF0>)<tmpi2->ic_data(</span><span class=cF9>I64</span><span class=cF0>);
|
||
|
<a name="l748"></a> } </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l749"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF1>F64</span><span class=cF0>)<tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l750"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l751"></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="l752"></a> </span><span class=cF1>if</span><span class=cF0> (is_unsigned)
|
||
|
<a name="l753"></a> tmpi->ic_flags|=</span><span class=cF3>ICF_USE_UNSIGNED</span><span class=cF0>;
|
||
|
<a name="l754"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi->ic_class->raw_type==</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l755"></a> tmpi->ic_flags|=</span><span class=cF3>ICF_USE_F64</span><span class=cF0>;
|
||
|
<a name="l756"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l757"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l758"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_GREATER_EQU</span><span class=cF0>:
|
||
|
<a name="l759"></a> </span><span class=cF1>if</span><span class=cF0> (i=</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,tmpi2,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l760"></a> </span><span class=cF1>if</span><span class=cF0> (i==FBO1_INT) {
|
||
|
<a name="l761"></a> </span><span class=cF1>if</span><span class=cF0> (is_unsigned)
|
||
|
<a name="l762"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>U64</span><span class=cF0>)>=tmpi2->ic_data(</span><span class=cF9>U64</span><span class=cF0>);
|
||
|
<a name="l763"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l764"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>I64</span><span class=cF0>)>=tmpi2->ic_data(</span><span class=cF9>I64</span><span class=cF0>);
|
||
|
<a name="l765"></a> } </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l766"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF1>F64</span><span class=cF0>)>=tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l767"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l768"></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="l769"></a> </span><span class=cF1>if</span><span class=cF0> (is_unsigned)
|
||
|
<a name="l770"></a> tmpi->ic_flags|=</span><span class=cF3>ICF_USE_UNSIGNED</span><span class=cF0>;
|
||
|
<a name="l771"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi->ic_class->raw_type==</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l772"></a> tmpi->ic_flags|=</span><span class=cF3>ICF_USE_F64</span><span class=cF0>;
|
||
|
<a name="l773"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l774"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l775"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_GREATER</span><span class=cF0>:
|
||
|
<a name="l776"></a> </span><span class=cF1>if</span><span class=cF0> (i=</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,tmpi2,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l777"></a> </span><span class=cF1>if</span><span class=cF0> (i==FBO1_INT) {
|
||
|
<a name="l778"></a> </span><span class=cF1>if</span><span class=cF0> (is_unsigned)
|
||
|
<a name="l779"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>U64</span><span class=cF0>)>tmpi2->ic_data(</span><span class=cF9>U64</span><span class=cF0>);
|
||
|
<a name="l780"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l781"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>I64</span><span class=cF0>)>tmpi2->ic_data(</span><span class=cF9>I64</span><span class=cF0>);
|
||
|
<a name="l782"></a> } </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l783"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF1>F64</span><span class=cF0>)>tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l784"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l785"></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="l786"></a> </span><span class=cF1>if</span><span class=cF0> (is_unsigned)
|
||
|
<a name="l787"></a> tmpi->ic_flags|=</span><span class=cF3>ICF_USE_UNSIGNED</span><span class=cF0>;
|
||
|
<a name="l788"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi->ic_class->raw_type==</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l789"></a> tmpi->ic_flags|=</span><span class=cF3>ICF_USE_F64</span><span class=cF0>;
|
||
|
<a name="l790"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l791"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l792"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_LESS_EQU</span><span class=cF0>:
|
||
|
<a name="l793"></a> </span><span class=cF1>if</span><span class=cF0> (i=</span><span class=cFD>OptFixupBinaryOp1</span><span class=cF7>(</span><span class=cF0>tmpi,tmpi1,tmpi2,&is_unsigned</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l794"></a> </span><span class=cF1>if</span><span class=cF0> (i==FBO1_INT) {
|
||
|
<a name="l795"></a> </span><span class=cF1>if</span><span class=cF0> (is_unsigned)
|
||
|
<a name="l796"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>U64</span><span class=cF0>)<=tmpi2->ic_data(</span><span class=cF9>U64</span><span class=cF0>);
|
||
|
<a name="l797"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l798"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF9>I64</span><span class=cF0>)<=tmpi2->ic_data(</span><span class=cF9>I64</span><span class=cF0>);
|
||
|
<a name="l799"></a> } </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l800"></a> tmpi->ic_data=tmpi1->ic_data(</span><span class=cF1>F64</span><span class=cF0>)<=tmpi2->ic_data(</span><span class=cF1>F64</span><span class=cF0>);
|
||
|
<a name="l801"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l802"></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="l803"></a> </span><span class=cF1>if</span><span class=cF0> (is_unsigned)
|
||
|
<a name="l804"></a> tmpi->ic_flags|=</span><span class=cF3>ICF_USE_UNSIGNED</span><span class=cF0>;
|
||
|
<a name="l805"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi->ic_class->raw_type==</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l806"></a> tmpi->ic_flags|=</span><span class=cF3>ICF_USE_F64</span><span class=cF0>;
|
||
|
<a name="l807"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l808"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l809"></a> </span><span class=cF1>end</span><span class=cF0>:
|
||
|
<a name="l810"></a> tmpi->ic_flags&=~</span><span class=cF3>ICF_RES_TO_INT</span><span class=cF0>;
|
||
|
<a name="l811"></a> </span><span class=cF1>if</span><span class=cF0> (!tmpi_push->ic_class->ptr_stars_cnt) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l812"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi_push->ic_class->raw_type==</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l813"></a> tmpi_push->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_F64</span><span class=cF0>];
|
||
|
<a name="l814"></a> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (is_unsigned)
|
||
|
<a name="l815"></a> tmpi_push->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_U64</span><span class=cF0>];
|
||
|
<a name="l816"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l817"></a> tmpi_push->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_I64</span><span class=cF0>];
|
||
|
<a name="l818"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l819"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi_push->ic_flags & </span><span class=cF3>ICF_PUSH_CMP</span><span class=cF0>)
|
||
|
<a name="l820"></a> tmpi->ic_class=tmpi->ic_class2;
|
||
|
<a name="l821"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l822"></a> tmpi->ic_class=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_I64</span><span class=cF0>];
|
||
|
<a name="l823"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l824"></a> </span><span class=cF1>start</span><span class=cF0>:
|
||
|
<a name="l825"></a> </span><span class=cF1>if</span><span class=cF0> (cc->pass==2 && </span><span class=cF7>(</span><span class=cF0>!tmpc->size||!tmpc2->size</span><span class=cF7>)</span><span class=cF0>)
|
||
|
<a name="l826"></a> </span><span class=cF5>LexWarn</span><span class=cF0>(cc,</span><span class=cF6>"Assign U0 "</span><span class=cF0>);
|
||
|
<a name="l827"></a> </span><span class=cF1>start</span><span class=cF0>:
|
||
|
<a name="l828"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_MUL_EQU</span><span class=cF0>:
|
||
|
<a name="l829"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi2->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0> && tmpc->raw_type!=</span><span class=cF3>RT_F64</span><span class=cF0> &&
|
||
|
<a name="l830"></a> tmpc2->raw_type!=</span><span class=cF3>RT_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l831"></a> </span><span class=cF1>if</span><span class=cF0> (i=tmpi2->ic_data) {
|
||
|
<a name="l832"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cF5>Bsf</span><span class=cF7>(</span><span class=cF0>i</span><span class=cF7>)</span><span class=cF0>==</span><span class=cF5>Bsr</span><span class=cF7>(</span><span class=cF0>i</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l833"></a> tmpi2->ic_data=</span><span class=cF5>Bsf</span><span class=cF0>(i);
|
||
|
<a name="l834"></a> tmpi->ic_code=</span><span class=cF3>IC_SHL_EQU</span><span class=cF0>;
|
||
|
<a name="l835"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l836"></a> }
|
||
|
<a name="l837"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l838"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l839"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_DIV_EQU</span><span class=cF0>:
|
||
|
<a name="l840"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi2->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0> && tmpc->raw_type!=</span><span class=cF3>RT_F64</span><span class=cF0> &&
|
||
|
<a name="l841"></a> tmpc2->raw_type!=</span><span class=cF3>RT_F64</span><span class=cF0> &&
|
||
|
<a name="l842"></a> </span><span class=cF7>(</span><span class=cF0>i=tmpi2->ic_data</span><span class=cF7>)</span><span class=cF0> && </span><span class=cF5>Bsf</span><span class=cF7>(</span><span class=cF0>i</span><span class=cF7>)</span><span class=cF0>==</span><span class=cF5>Bsr</span><span class=cF7>(</span><span class=cF0>i</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l843"></a> tmpi2->ic_data=</span><span class=cF5>Bsf</span><span class=cF0>(i);
|
||
|
<a name="l844"></a> tmpi->ic_code=</span><span class=cF3>IC_SHR_EQU</span><span class=cF0>;
|
||
|
<a name="l845"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l846"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l847"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_MOD_EQU</span><span class=cF0>:
|
||
|
<a name="l848"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi2->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0> && tmpc->raw_type!=</span><span class=cF3>RT_F64</span><span class=cF0> &&
|
||
|
<a name="l849"></a> tmpc2->raw_type!=</span><span class=cF3>RT_F64</span><span class=cF0> &&
|
||
|
<a name="l850"></a> </span><span class=cF7>(</span><span class=cF0>i=tmpi2->ic_data</span><span class=cF7>)</span><span class=cF0> && </span><span class=cF5>Bsf</span><span class=cF7>(</span><span class=cF0>i</span><span class=cF7>)</span><span class=cF0>==</span><span class=cF5>Bsr</span><span class=cF7>(</span><span class=cF0>i</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l851"></a> tmpi2->ic_data=i-1;
|
||
|
<a name="l852"></a> tmpi->ic_code=</span><span class=cF3>IC_AND_EQU</span><span class=cF0>;
|
||
|
<a name="l853"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l854"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l855"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_ADD_EQU</span><span class=cF0>:
|
||
|
<a name="l856"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SUB_EQU</span><span class=cF0>:
|
||
|
<a name="l857"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l858"></a> </span><span class=cF1>end</span><span class=cF0>:
|
||
|
<a name="l859"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi2->ic_class->raw_type==</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l860"></a> tmpi->ic_flags=tmpi->ic_flags|</span><span class=cF3>ICF_USE_F64</span><span class=cF0>;
|
||
|
<a name="l861"></a> </span><span class=cF1>if</span><span class=cF0> (tmpc->raw_type==</span><span class=cF3>RT_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l862"></a> </span><span class=cF1>if</span><span class=cF0> (tmpc2->raw_type!=</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l863"></a> tmpi2->ic_flags|=</span><span class=cF3>ICF_RES_TO_F64</span><span class=cF0>;
|
||
|
<a name="l864"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l865"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l866"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_ASSIGN</span><span class=cF0>:
|
||
|
<a name="l867"></a> </span><span class=cF1>if</span><span class=cF0> (tmpc->raw_type==</span><span class=cF3>RT_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l868"></a> </span><span class=cF1>if</span><span class=cF0> (tmpc2->raw_type!=</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l869"></a> tmpi2->ic_flags|=</span><span class=cF3>ICF_RES_TO_F64</span><span class=cF0>;
|
||
|
<a name="l870"></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="l871"></a> </span><span class=cF1>if</span><span class=cF0> (tmpc2->raw_type==</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l872"></a> tmpi2->ic_flags|=</span><span class=cF3>ICF_RES_TO_INT</span><span class=cF0>;
|
||
|
<a name="l873"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l874"></a> </span><span class=cF1>if</span><span class=cF0> (cc->pass==2 && tmpi1->ic_class->raw_type!=</span><span class=cF3>RT_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l875"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC__PP</span><span class=cF0>) {
|
||
|
<a name="l876"></a> tmpi->ic_code=</span><span class=cF3>IC_ASSIGN_PP</span><span class=cF0>;
|
||
|
<a name="l877"></a> tmpi->ic_flags|=tmpi1->ic_flags;
|
||
|
<a name="l878"></a> tmpi->t.class2=tmpi1->ic_class;
|
||
|
<a name="l879"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l880"></a> } </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC__MM</span><span class=cF0>) {
|
||
|
<a name="l881"></a> tmpi->ic_code=</span><span class=cF3>IC_ASSIGN_MM</span><span class=cF0>;
|
||
|
<a name="l882"></a> tmpi->ic_flags|=tmpi1->ic_flags;
|
||
|
<a name="l883"></a> tmpi->t.class2=tmpi1->ic_class;
|
||
|
<a name="l884"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l885"></a> }
|
||
|
<a name="l886"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l887"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l888"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SHL_EQU</span><span class=cF0>:
|
||
|
<a name="l889"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SHR_EQU</span><span class=cF0>:
|
||
|
<a name="l890"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_AND_EQU</span><span class=cF0>:
|
||
|
<a name="l891"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_OR_EQU</span><span class=cF0>:
|
||
|
<a name="l892"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_XOR_EQU</span><span class=cF0>:
|
||
|
<a name="l893"></a> </span><span class=cF1>if</span><span class=cF0> (tmpc2->raw_type==</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l894"></a> tmpi2->ic_flags|=</span><span class=cF3>ICF_RES_TO_INT</span><span class=cF0>;
|
||
|
<a name="l895"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l896"></a> </span><span class=cF1>end</span><span class=cF0>:
|
||
|
<a name="l897"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l898"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_ENTER</span><span class=cF0>:
|
||
|
<a name="l899"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_LEAVE</span><span class=cF0>:
|
||
|
<a name="l900"></a> tmpi->ic_data=-cc->htc.fun->size;
|
||
|
<a name="l901"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l902"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_ADD_RSP</span><span class=cF0>:
|
||
|
<a name="l903"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1=</span><span class=cFD>OptLag</span><span class=cF7>(</span><span class=cF0>tmpi</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l904"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_ADD_RSP</span><span class=cF0>) {
|
||
|
<a name="l905"></a> tmpi->ic_data+=tmpi1->ic_data;
|
||
|
<a name="l906"></a> tmpi->ic_flags|=tmpi1->ic_flags;
|
||
|
<a name="l907"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l908"></a> }
|
||
|
<a name="l909"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l910"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_ADD_RSP1</span><span class=cF0>:
|
||
|
<a name="l911"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l912"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BSF</span><span class=cF0>:
|
||
|
<a name="l913"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l914"></a> tmpi1->ic_data=</span><span class=cF5>Bsf</span><span class=cF0>(tmpi1->ic_data);
|
||
|
<a name="l915"></a> tmpi_push=tmpi1;
|
||
|
<a name="l916"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(</span><span class=cFD>OptLag</span><span class=cF7>(</span><span class=cF0>tmpi1</span><span class=cF7>)</span><span class=cF0>); </span><span class=cF2>//CALL_START</span><span class=cF0>
|
||
|
<a name="l917"></a> tmpi2=</span><span class=cFD>OptLead1</span><span class=cF0>(tmpi);
|
||
|
<a name="l918"></a> tmpi1->ic_flags|=tmpi->ic_flags|tmpi2->ic_flags;
|
||
|
<a name="l919"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2); </span><span class=cF2>//CALL_END</span><span class=cF0>
|
||
|
<a name="l920"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi); </span><span class=cF2>//BSF</span><span class=cF0>
|
||
|
<a name="l921"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l922"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l923"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BSR</span><span class=cF0>:
|
||
|
<a name="l924"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l925"></a> tmpi1->ic_data=</span><span class=cF5>Bsr</span><span class=cF0>(tmpi1->ic_data);
|
||
|
<a name="l926"></a> tmpi_push=tmpi1;
|
||
|
<a name="l927"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(</span><span class=cFD>OptLag</span><span class=cF7>(</span><span class=cF0>tmpi1</span><span class=cF7>)</span><span class=cF0>); </span><span class=cF2>//CALL_START</span><span class=cF0>
|
||
|
<a name="l928"></a> tmpi2=</span><span class=cFD>OptLead1</span><span class=cF0>(tmpi);
|
||
|
<a name="l929"></a> tmpi1->ic_flags|=tmpi->ic_flags|tmpi2->ic_flags;
|
||
|
<a name="l930"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2); </span><span class=cF2>//CALL_END</span><span class=cF0>
|
||
|
<a name="l931"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi); </span><span class=cF2>//BSR</span><span class=cF0>
|
||
|
<a name="l932"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l933"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l934"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_LBTS</span><span class=cF0>:
|
||
|
<a name="l935"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_LBTR</span><span class=cF0>:
|
||
|
<a name="l936"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_LBTC</span><span class=cF0>:
|
||
|
<a name="l937"></a> tmpi->ic_flags|=</span><span class=cF3>ICF_LOCK</span><span class=cF0>;
|
||
|
<a name="l938"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l939"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_TO_I64</span><span class=cF0>:
|
||
|
<a name="l940"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_IMM_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l941"></a> tmpi2=tmpi1->last;
|
||
|
<a name="l942"></a> </span><span class=cF1>while</span><span class=cF0> (tmpi2->ic_code!=</span><span class=cF3>IC_CALL_START</span><span class=cF0>)
|
||
|
<a name="l943"></a> tmpi2=tmpi2->last;
|
||
|
<a name="l944"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l945"></a>
|
||
|
<a name="l946"></a> tmpi2=tmpi->next;
|
||
|
<a name="l947"></a> </span><span class=cF1>while</span><span class=cF0> (tmpi2->ic_code!=</span><span class=cF3>IC_CALL_END</span><span class=cF0>)
|
||
|
<a name="l948"></a> tmpi2=tmpi2->next;
|
||
|
<a name="l949"></a>
|
||
|
<a name="l950"></a> tmpi->ic_flags|=tmpi1->ic_flags&~</span><span class=cF3>ICF_RES_TO_INT</span><span class=cF0>|tmpi2->ic_flags;
|
||
|
<a name="l951"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l952"></a>
|
||
|
<a name="l953"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l954"></a> tmpi->ic_data=</span><span class=cF5>ToI64</span><span class=cF0>(tmpi1->ic_data</span><span class=cF7>(</span><span class=cF1>F64</span><span class=cF7>)</span><span class=cF0>);
|
||
|
<a name="l955"></a> tmpi->ic_class=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_I64</span><span class=cF0>];
|
||
|
<a name="l956"></a> tmpi->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_I64</span><span class=cF0>];
|
||
|
<a name="l957"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l958"></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> (tmpi1->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l959"></a> tmpi2=tmpi1->last;
|
||
|
<a name="l960"></a> </span><span class=cF1>while</span><span class=cF0> (tmpi2->ic_code!=</span><span class=cF3>IC_CALL_START</span><span class=cF0>)
|
||
|
<a name="l961"></a> tmpi2=tmpi2->last;
|
||
|
<a name="l962"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l963"></a>
|
||
|
<a name="l964"></a> tmpi2=tmpi->next;
|
||
|
<a name="l965"></a> </span><span class=cF1>while</span><span class=cF0> (tmpi2->ic_code!=</span><span class=cF3>IC_CALL_END</span><span class=cF0>)
|
||
|
<a name="l966"></a> tmpi2=tmpi2->next;
|
||
|
<a name="l967"></a>
|
||
|
<a name="l968"></a> tmpi->ic_flags|=tmpi1->ic_flags&~</span><span class=cF3>ICF_RES_TO_F64</span><span class=cF0>|tmpi2->ic_flags;
|
||
|
<a name="l969"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l970"></a>
|
||
|
<a name="l971"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l972"></a> tmpi->ic_data=tmpi1->ic_data;
|
||
|
<a name="l973"></a> tmpi->ic_class=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_I64</span><span class=cF0>];
|
||
|
<a name="l974"></a> tmpi->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_I64</span><span class=cF0>];
|
||
|
<a name="l975"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l976"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l977"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_flags&</span><span class=cF3>ICF_RES_TO_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l978"></a> i=0;
|
||
|
<a name="l979"></a> tmpi2=tmpi1->last;
|
||
|
<a name="l980"></a> </span><span class=cF1>while</span><span class=cF0> (</span><span class=cF3>TRUE</span><span class=cF0>) {
|
||
|
<a name="l981"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi2->ic_code==</span><span class=cF3>IC_CALL_START</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l982"></a> </span><span class=cF1>if</span><span class=cF0> (!i) </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l983"></a> i--;
|
||
|
<a name="l984"></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> (tmpi2->ic_code==</span><span class=cF3>IC_CALL_END</span><span class=cF0>)
|
||
|
<a name="l985"></a> i++;
|
||
|
<a name="l986"></a> tmpi2=tmpi2->last;
|
||
|
<a name="l987"></a> }
|
||
|
<a name="l988"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l989"></a>
|
||
|
<a name="l990"></a> tmpi2=tmpi1->next;
|
||
|
<a name="l991"></a> </span><span class=cF1>while</span><span class=cF0> (tmpi2->ic_code!=</span><span class=cF3>IC_CALL_END</span><span class=cF0>)
|
||
|
<a name="l992"></a> tmpi2=tmpi2->next;
|
||
|
<a name="l993"></a>
|
||
|
<a name="l994"></a> tmpi1->ic_flags=tmpi->ic_flags|tmpi1->ic_flags&
|
||
|
<a name="l995"></a> ~(</span><span class=cF3>ICF_RES_TO_F64</span><span class=cF0>|</span><span class=cF3>ICF_PUSH_RES</span><span class=cF0>)|tmpi2->ic_flags;
|
||
|
<a name="l996"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l997"></a>
|
||
|
<a name="l998"></a> tmpi1->ic_class=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_I64</span><span class=cF0>];
|
||
|
<a name="l999"></a> tmpi1->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_I64</span><span class=cF0>];
|
||
|
<a name="l1000"></a> tmpi_push=tmpi1;
|
||
|
<a name="l1001"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l1002"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l1003"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l1004"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_TO_F64</span><span class=cF0>:
|
||
|
<a name="l1005"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l1006"></a> tmpi2=tmpi1->last;
|
||
|
<a name="l1007"></a> </span><span class=cF1>while</span><span class=cF0> (tmpi2->ic_code!=</span><span class=cF3>IC_CALL_START</span><span class=cF0>)
|
||
|
<a name="l1008"></a> tmpi2=tmpi2->last;
|
||
|
<a name="l1009"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l1010"></a>
|
||
|
<a name="l1011"></a> tmpi2=tmpi->next;
|
||
|
<a name="l1012"></a> </span><span class=cF1>while</span><span class=cF0> (tmpi2->ic_code!=</span><span class=cF3>IC_CALL_END</span><span class=cF0>)
|
||
|
<a name="l1013"></a> tmpi2=tmpi2->next;
|
||
|
<a name="l1014"></a>
|
||
|
<a name="l1015"></a> tmpi->ic_flags|=tmpi1->ic_flags&~</span><span class=cF3>ICF_RES_TO_F64</span><span class=cF0>|tmpi2->ic_flags;
|
||
|
<a name="l1016"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l1017"></a>
|
||
|
<a name="l1018"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_F64</span><span class=cF0>;
|
||
|
<a name="l1019"></a> tmpi->ic_data(</span><span class=cF1>F64</span><span class=cF0>)=</span><span class=cF5>ToF64</span><span class=cF0>(tmpi1->ic_data);
|
||
|
<a name="l1020"></a> tmpi->ic_class=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_F64</span><span class=cF0>];
|
||
|
<a name="l1021"></a> tmpi->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_F64</span><span class=cF0>];
|
||
|
<a name="l1022"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l1023"></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> (tmpi1->ic_code==</span><span class=cF3>IC_IMM_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l1024"></a> tmpi2=tmpi1->last;
|
||
|
<a name="l1025"></a> </span><span class=cF1>while</span><span class=cF0> (tmpi2->ic_code!=</span><span class=cF3>IC_CALL_START</span><span class=cF0>)
|
||
|
<a name="l1026"></a> tmpi2=tmpi2->last;
|
||
|
<a name="l1027"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l1028"></a>
|
||
|
<a name="l1029"></a> tmpi2=tmpi->next;
|
||
|
<a name="l1030"></a> </span><span class=cF1>while</span><span class=cF0> (tmpi2->ic_code!=</span><span class=cF3>IC_CALL_END</span><span class=cF0>)
|
||
|
<a name="l1031"></a> tmpi2=tmpi2->next;
|
||
|
<a name="l1032"></a>
|
||
|
<a name="l1033"></a> tmpi->ic_flags|=tmpi1->ic_flags&~</span><span class=cF3>ICF_RES_TO_INT</span><span class=cF0>|tmpi2->ic_flags;
|
||
|
<a name="l1034"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l1035"></a>
|
||
|
<a name="l1036"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_F64</span><span class=cF0>;
|
||
|
<a name="l1037"></a> tmpi->ic_data=tmpi1->ic_data;
|
||
|
<a name="l1038"></a> tmpi->ic_class=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_F64</span><span class=cF0>];
|
||
|
<a name="l1039"></a> tmpi->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_F64</span><span class=cF0>];
|
||
|
<a name="l1040"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l1041"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l1042"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_flags&</span><span class=cF3>ICF_RES_TO_INT</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l1043"></a> i=0;
|
||
|
<a name="l1044"></a> tmpi2=tmpi1->last;
|
||
|
<a name="l1045"></a> </span><span class=cF1>while</span><span class=cF0> (</span><span class=cF3>TRUE</span><span class=cF0>) {
|
||
|
<a name="l1046"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi2->ic_code==</span><span class=cF3>IC_CALL_START</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l1047"></a> </span><span class=cF1>if</span><span class=cF0> (!i) </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l1048"></a> i--;
|
||
|
<a name="l1049"></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> (tmpi2->ic_code==</span><span class=cF3>IC_CALL_END</span><span class=cF0>)
|
||
|
<a name="l1050"></a> i++;
|
||
|
<a name="l1051"></a> tmpi2=tmpi2->last;
|
||
|
<a name="l1052"></a> }
|
||
|
<a name="l1053"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l1054"></a>
|
||
|
<a name="l1055"></a> tmpi2=tmpi1->next;
|
||
|
<a name="l1056"></a> </span><span class=cF1>while</span><span class=cF0> (tmpi2->ic_code!=</span><span class=cF3>IC_CALL_END</span><span class=cF0>)
|
||
|
<a name="l1057"></a> tmpi2=tmpi2->next;
|
||
|
<a name="l1058"></a>
|
||
|
<a name="l1059"></a> tmpi1->ic_flags=tmpi->ic_flags|tmpi1->ic_flags&
|
||
|
<a name="l1060"></a> ~(</span><span class=cF3>ICF_RES_TO_INT</span><span class=cF0>|</span><span class=cF3>ICF_PUSH_RES</span><span class=cF0>)|tmpi2->ic_flags;
|
||
|
<a name="l1061"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l1062"></a>
|
||
|
<a name="l1063"></a> tmpi1->ic_class=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_F64</span><span class=cF0>];
|
||
|
<a name="l1064"></a> tmpi1->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_F64</span><span class=cF0>];
|
||
|
<a name="l1065"></a> tmpi_push=tmpi1;
|
||
|
<a name="l1066"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi);
|
||
|
<a name="l1067"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l1068"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l1069"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_TO_BOOL</span><span class=cF0>:
|
||
|
<a name="l1070"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_IMM_I64</span><span class=cF0> || tmpi1->ic_code==</span><span class=cF3>IC_IMM_F64</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l1071"></a> tmpi2=tmpi1->last;
|
||
|
<a name="l1072"></a> </span><span class=cF1>while</span><span class=cF0> (tmpi2->ic_code!=</span><span class=cF3>IC_CALL_START</span><span class=cF0>)
|
||
|
<a name="l1073"></a> tmpi2=tmpi2->last;
|
||
|
<a name="l1074"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l1075"></a>
|
||
|
<a name="l1076"></a> tmpi2=tmpi->next;
|
||
|
<a name="l1077"></a> </span><span class=cF1>while</span><span class=cF0> (tmpi2->ic_code!=</span><span class=cF3>IC_CALL_END</span><span class=cF0>)
|
||
|
<a name="l1078"></a> tmpi2=tmpi2->next;
|
||
|
<a name="l1079"></a>
|
||
|
<a name="l1080"></a> tmpi->ic_flags|=tmpi1->ic_flags&~</span><span class=cF3>ICF_RES_TO_F64</span><span class=cF0>|tmpi2->ic_flags;
|
||
|
<a name="l1081"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi2);
|
||
|
<a name="l1082"></a>
|
||
|
<a name="l1083"></a> tmpi->ic_code=</span><span class=cF3>IC_IMM_I64</span><span class=cF0>;
|
||
|
<a name="l1084"></a> tmpi->ic_data=</span><span class=cF5>ToBool</span><span class=cF0>(tmpi1->ic_data);
|
||
|
<a name="l1085"></a> tmpi->ic_class=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_I64</span><span class=cF0>];
|
||
|
<a name="l1086"></a> tmpi->ic_class2=</span><span class=cFB>cmp</span><span class=cF0>.internal_types[</span><span class=cF3>RT_I64</span><span class=cF0>];
|
||
|
<a name="l1087"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l1088"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l1089"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l1090"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_ZERO</span><span class=cF0>:
|
||
|
<a name="l1091"></a> tmpi_push=</span><span class=cFD>OptBrZero</span><span class=cF0>(cc,tmpi);
|
||
|
<a name="l1092"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l1093"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_NOT_ZERO</span><span class=cF0>:
|
||
|
<a name="l1094"></a> tmpi_push=</span><span class=cFD>OptBrNotZero</span><span class=cF0>(cc,tmpi);
|
||
|
<a name="l1095"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l1096"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_NOP1</span><span class=cF0>:
|
||
|
<a name="l1097"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi->ic_flags&</span><span class=cF3>ICF_PUSH_RES</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l1098"></a> tmpi1=tmpi;
|
||
|
<a name="l1099"></a> </span><span class=cF1>do</span><span class=cF0> tmpi1=tmpi1->last;
|
||
|
<a name="l1100"></a> </span><span class=cF1>while</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_NOP1</span><span class=cF0>);
|
||
|
<a name="l1101"></a> tmpi1->ic_flags|=</span><span class=cF3>ICF_PUSH_RES</span><span class=cF0>;
|
||
|
<a name="l1102"></a> tmpi->ic_flags&=~</span><span class=cF3>ICF_PUSH_RES</span><span class=cF0>;
|
||
|
<a name="l1103"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l1104"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l1105"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_NOP2</span><span class=cF0>:
|
||
|
<a name="l1106"></a> ps->ptr+=tmpi->ic_data<<1;
|
||
|
<a name="l1107"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l1108"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_LABEL</span><span class=cF0>:
|
||
|
<a name="l1109"></a> lb=</span><span class=cFD>OptLabelFwd</span><span class=cF0>(tmpi->ic_data);
|
||
|
<a name="l1110"></a> lb1=tmpi->ic_data;
|
||
|
<a name="l1111"></a> </span><span class=cF1>while</span><span class=cF0> (lb2=lb1->fwd) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l1112"></a> lb1->fwd=lb;
|
||
|
<a name="l1113"></a> lb1=lb2;
|
||
|
<a name="l1114"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l1115"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1=</span><span class=cFD>OptLag</span><span class=cF7>(</span><span class=cF0>tmpi</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l1116"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_JMP</span><span class=cF0>) {
|
||
|
<a name="l1117"></a> lb1=tmpi1->ic_data;
|
||
|
<a name="l1118"></a> </span><span class=cF1>while</span><span class=cF0> (lb1->fwd)
|
||
|
<a name="l1119"></a> lb1=lb1->fwd;
|
||
|
<a name="l1120"></a> </span><span class=cF1>if</span><span class=cF0> (lb1==lb) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l1121"></a> tmpi->ic_flags|=tmpi1->ic_flags;
|
||
|
<a name="l1122"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l1123"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l1124"></a> } </span><span class=cF1>else</span><span class=cF0> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_LABEL</span><span class=cF0>) {
|
||
|
<a name="l1125"></a> lb1=tmpi1->ic_data;
|
||
|
<a name="l1126"></a> </span><span class=cF1>if</span><span class=cF0> (!lb1->fwd)
|
||
|
<a name="l1127"></a> lb1->fwd=lb;
|
||
|
<a name="l1128"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1=</span><span class=cFD>OptLag</span><span class=cF7>(</span><span class=cF0>tmpi1</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l1129"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_JMP</span><span class=cF0>) {
|
||
|
<a name="l1130"></a> lb1=tmpi1->ic_data;
|
||
|
<a name="l1131"></a> </span><span class=cF1>while</span><span class=cF0> (lb1->fwd)
|
||
|
<a name="l1132"></a> lb1=lb1->fwd;
|
||
|
<a name="l1133"></a> </span><span class=cF1>if</span><span class=cF0> (lb1==lb) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l1134"></a> tmpi->ic_flags|=tmpi1->ic_flags;
|
||
|
<a name="l1135"></a> </span><span class=cFD>OptSetNOP1</span><span class=cF0>(tmpi1);
|
||
|
<a name="l1136"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l1137"></a> }
|
||
|
<a name="l1138"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l1139"></a> }
|
||
|
<a name="l1140"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l1141"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l1142"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_JMP</span><span class=cF0>:
|
||
|
<a name="l1143"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1=</span><span class=cFD>OptLag</span><span class=cF7>(</span><span class=cF0>tmpi</span><span class=cF7>)</span><span class=cF0>) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l1144"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi1->ic_code==</span><span class=cF3>IC_LABEL</span><span class=cF0>) {
|
||
|
<a name="l1145"></a> lb=</span><span class=cFD>OptLabelFwd</span><span class=cF0>(tmpi->ic_data);
|
||
|
<a name="l1146"></a> lb1=</span><span class=cFD>OptLabelFwd</span><span class=cF0>(tmpi1->ic_data);
|
||
|
<a name="l1147"></a> </span><span class=cF1>if</span><span class=cF0> (lb!=lb1)
|
||
|
<a name="l1148"></a> lb1->fwd=lb;
|
||
|
<a name="l1149"></a> }
|
||
|
<a name="l1150"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l1151"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l1152"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_STR_CONST</span><span class=cF0>:
|
||
|
<a name="l1153"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_RBP</span><span class=cF0>:
|
||
|
<a name="l1154"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_MOV_FS</span><span class=cF0>:
|
||
|
<a name="l1155"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_MOV_GS</span><span class=cF0>:
|
||
|
<a name="l1156"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_RIP</span><span class=cF0>:
|
||
|
<a name="l1157"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SIZEOF</span><span class=cF0>:
|
||
|
<a name="l1158"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SQR</span><span class=cF0>:
|
||
|
<a name="l1159"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_ABS</span><span class=cF0>:
|
||
|
<a name="l1160"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SQRT</span><span class=cF0>:
|
||
|
<a name="l1161"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SIN</span><span class=cF0>:
|
||
|
<a name="l1162"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_COS</span><span class=cF0>:
|
||
|
<a name="l1163"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_TAN</span><span class=cF0>:
|
||
|
<a name="l1164"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_ATAN</span><span class=cF0>:
|
||
|
<a name="l1165"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_CARRY</span><span class=cF0>:
|
||
|
<a name="l1166"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_NOT_CARRY</span><span class=cF0>:
|
||
|
<a name="l1167"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_EQU_EQU</span><span class=cF0> ...</span><span class=cF3>IC_BR_LESS_EQU</span><span class=cF0>:
|
||
|
<a name="l1168"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_EQU_EQU2</span><span class=cF0>...</span><span class=cF3>IC_BR_LESS_EQU2</span><span class=cF0>:
|
||
|
<a name="l1169"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_OR_OR_NOT_ZERO</span><span class=cF0>:
|
||
|
<a name="l1170"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_OR_OR_ZERO</span><span class=cF0>:
|
||
|
<a name="l1171"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_AND_AND_NOT_ZERO</span><span class=cF0>:
|
||
|
<a name="l1172"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_AND_AND_ZERO</span><span class=cF0>:
|
||
|
<a name="l1173"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_AND_NOT_ZERO</span><span class=cF0>:
|
||
|
<a name="l1174"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_AND_ZERO</span><span class=cF0>:
|
||
|
<a name="l1175"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_MM_NOT_ZERO</span><span class=cF0>:
|
||
|
<a name="l1176"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_MM_ZERO</span><span class=cF0>:
|
||
|
<a name="l1177"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_BT</span><span class=cF0>:
|
||
|
<a name="l1178"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_BTS</span><span class=cF0>:
|
||
|
<a name="l1179"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_BTR</span><span class=cF0>:
|
||
|
<a name="l1180"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_BTC</span><span class=cF0>:
|
||
|
<a name="l1181"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_NOT_BT</span><span class=cF0>:
|
||
|
<a name="l1182"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_NOT_BTS</span><span class=cF0>:
|
||
|
<a name="l1183"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_NOT_BTR</span><span class=cF0>:
|
||
|
<a name="l1184"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BR_NOT_BTC</span><span class=cF0>:
|
||
|
<a name="l1185"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_END</span><span class=cF0>:
|
||
|
<a name="l1186"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_ADDR</span><span class=cF0>:
|
||
|
<a name="l1187"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_RET</span><span class=cF0>:
|
||
|
<a name="l1188"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_END_EXP</span><span class=cF0>:
|
||
|
<a name="l1189"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_CALL_START</span><span class=cF0>:
|
||
|
<a name="l1190"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_CALL_END</span><span class=cF0>:
|
||
|
<a name="l1191"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_CALL_END2</span><span class=cF0>:
|
||
|
<a name="l1192"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_PUSH_REGS</span><span class=cF0>:
|
||
|
<a name="l1193"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_POP_REGS</span><span class=cF0>:
|
||
|
<a name="l1194"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SUB_CALL</span><span class=cF0>:
|
||
|
<a name="l1195"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_CALL</span><span class=cF0>:
|
||
|
<a name="l1196"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_CALL_INDIRECT</span><span class=cF0>:
|
||
|
<a name="l1197"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_CALL_INDIRECT2</span><span class=cF0>:
|
||
|
<a name="l1198"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_CALL_EXTERN</span><span class=cF0>:
|
||
|
<a name="l1199"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_CALL_IMPORT</span><span class=cF0>:
|
||
|
<a name="l1200"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_PUSH</span><span class=cF0>:
|
||
|
<a name="l1201"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_POP</span><span class=cF0>:
|
||
|
<a name="l1202"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_INVLPG</span><span class=cF0>:
|
||
|
<a name="l1203"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_CLFLUSH</span><span class=cF0>:
|
||
|
<a name="l1204"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_GET_RFLAGS</span><span class=cF0>:
|
||
|
<a name="l1205"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_CARRY</span><span class=cF0>:
|
||
|
<a name="l1206"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_GET_RBP</span><span class=cF0>:
|
||
|
<a name="l1207"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_GET_RSP</span><span class=cF0>:
|
||
|
<a name="l1208"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_GET_RAX</span><span class=cF0>:
|
||
|
<a name="l1209"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_RETURN_VAL</span><span class=cF0>:
|
||
|
<a name="l1210"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_RETURN_VAL2</span><span class=cF0>:
|
||
|
<a name="l1211"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_ABS_ADDR</span><span class=cF0>:
|
||
|
<a name="l1212"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_HEAP_GLBL</span><span class=cF0>:
|
||
|
<a name="l1213"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_ADDR_IMPORT</span><span class=cF0>:
|
||
|
<a name="l1214"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_GET_LABEL</span><span class=cF0>:
|
||
|
<a name="l1215"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_TYPE</span><span class=cF0>:
|
||
|
<a name="l1216"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_RDTSC</span><span class=cF0>:
|
||
|
<a name="l1217"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SET_RFLAGS</span><span class=cF0>:
|
||
|
<a name="l1218"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SET_RBP</span><span class=cF0>:
|
||
|
<a name="l1219"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SET_RSP</span><span class=cF0>:
|
||
|
<a name="l1220"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SET_RAX</span><span class=cF0>:
|
||
|
<a name="l1221"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SIGN_I64</span><span class=cF0>:
|
||
|
<a name="l1222"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_TOUPPER</span><span class=cF0>:
|
||
|
<a name="l1223"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_ABS_I64</span><span class=cF0>:
|
||
|
<a name="l1224"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_MIN_I64</span><span class=cF0>:
|
||
|
<a name="l1225"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_MAX_I64</span><span class=cF0>:
|
||
|
<a name="l1226"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_MIN_U64</span><span class=cF0>:
|
||
|
<a name="l1227"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_MAX_U64</span><span class=cF0>:
|
||
|
<a name="l1228"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_MOD_U64</span><span class=cF0>:
|
||
|
<a name="l1229"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SQR_I64</span><span class=cF0>:
|
||
|
<a name="l1230"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SQR_U64</span><span class=cF0>:
|
||
|
<a name="l1231"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SWAP_U8</span><span class=cF0>:
|
||
|
<a name="l1232"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SWAP_U16</span><span class=cF0>:
|
||
|
<a name="l1233"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SWAP_U32</span><span class=cF0>:
|
||
|
<a name="l1234"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SWAP_I64</span><span class=cF0>:
|
||
|
<a name="l1235"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_IN_U32</span><span class=cF0>:
|
||
|
<a name="l1236"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_IN_U16</span><span class=cF0>:
|
||
|
<a name="l1237"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_IN_U8</span><span class=cF0>:
|
||
|
<a name="l1238"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_STRLEN</span><span class=cF0>:
|
||
|
<a name="l1239"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BT</span><span class=cF0>:
|
||
|
<a name="l1240"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BTS</span><span class=cF0>:
|
||
|
<a name="l1241"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BTR</span><span class=cF0>:
|
||
|
<a name="l1242"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_BTC</span><span class=cF0>:
|
||
|
<a name="l1243"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_QUE_INIT</span><span class=cF0>:
|
||
|
<a name="l1244"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_QUE_REM</span><span class=cF0>:
|
||
|
<a name="l1245"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_QUE_INS</span><span class=cF0>:
|
||
|
<a name="l1246"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_QUE_INS_REV</span><span class=cF0>:
|
||
|
<a name="l1247"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_OUT_U32</span><span class=cF0>:
|
||
|
<a name="l1248"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_OUT_U16</span><span class=cF0>:
|
||
|
<a name="l1249"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_OUT_U8</span><span class=cF0>:
|
||
|
<a name="l1250"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_NOBOUND_SWITCH</span><span class=cF0>:
|
||
|
<a name="l1251"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_SWITCH</span><span class=cF0>:
|
||
|
<a name="l1252"></a> </span><span class=cF1>case</span><span class=cF0> </span><span class=cF3>IC_ASM</span><span class=cF0>:
|
||
|
<a name="l1253"></a> </span><span class=cF1>break</span><span class=cF0>;
|
||
|
<a name="l1254"></a> </span><span class=cF1>default</span><span class=cF0>:
|
||
|
<a name="l1255"></a> </span><span class=cF6>"Pass:%d Missing IC hndlr\n"</span><span class=cF0>,cc->pass;
|
||
|
<a name="l1256"></a> </span><span class=cFD>ICPut</span><span class=cF0>(cc,tmpi);
|
||
|
<a name="l1257"></a> </span><span class=cF5>LexExcept</span><span class=cF0>(cc,</span><span class=cF6>"Compiler Optimization Error at "</span><span class=cF0>);
|
||
|
<a name="l1258"></a> }
|
||
|
<a name="l1259"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFD>intermediate_code_table</span><span class=cF0>[code].arg_cnt==</span><span class=cF3>IS_2_ARG</span><span class=cF0>) {
|
||
|
<a name="l1260"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi_push->ic_precedence&~</span><span class=cF3>ASSOC_MASK</span><span class=cF0>==</span><span class=cF3>PREC_ASSIGN</span><span class=cF0>)
|
||
|
<a name="l1261"></a> </span><span class=cFD>OptFixSizeOf</span><span class=cF0>(tmpi2,tmpi_push,tmpi1->ic_class-1);
|
||
|
<a name="l1262"></a> </span><span class=cF1>else</span><span class=cF0> </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l1263"></a> </span><span class=cFD>OptFixSizeOf</span><span class=cF0>(tmpi1,tmpi_push,tmpi2->ic_class);
|
||
|
<a name="l1264"></a> </span><span class=cFD>OptFixSizeOf</span><span class=cF0>(tmpi2,tmpi_push,tmpi1->ic_class);
|
||
|
<a name="l1265"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l1266"></a> }
|
||
|
<a name="l1267"></a> </span><span class=cF1>if</span><span class=cF0> (</span><span class=cFD>intermediate_code_table</span><span class=cF0>[tmpi_push->ic_code].res_cnt) {
|
||
|
<a name="l1268"></a> </span><span class=cFD>PrsPush</span><span class=cF0>(ps,tmpi->ic_class2);
|
||
|
<a name="l1269"></a> </span><span class=cFD>PrsPush</span><span class=cF0>(ps,tmpi_push);
|
||
|
<a name="l1270"></a> }
|
||
|
<a name="l1271"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi->ic_class) {
|
||
|
<a name="l1272"></a> </span><span class=cF1>if</span><span class=cF0> (tmpi->ic_class->raw_type==</span><span class=cF3>RT_F64</span><span class=cF0>)
|
||
|
<a name="l1273"></a> tmpi->ic_flags&=~</span><span class=cF3>ICF_RES_TO_F64</span><span class=cF0>;
|
||
|
<a name="l1274"></a> </span><span class=cF1>else</span><span class=cF0>
|
||
|
<a name="l1275"></a> tmpi->ic_flags&=~</span><span class=cF3>ICF_RES_TO_INT</span><span class=cF0>;
|
||
|
<a name="l1276"></a> </span><span class=cF1>if</span><span class=cF0> (code></span><span class=cF3>IC_END_EXP</span><span class=cF0>)
|
||
|
<a name="l1277"></a> last_with_class=tmpi;
|
||
|
<a name="l1278"></a> }
|
||
|
<a name="l1279"></a> tmpi=tmpi->next;
|
||
|
<a name="l1280"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l1281"></a> </span><span class=cF1>if</span><span class=cF0> (ps->ptr>2) </span><span class=cF7>{</span><span class=cF0>
|
||
|
<a name="l1282"></a> </span><span class=cF6>"Pass:%d Stk:%08X\n"</span><span class=cF0>,cc->pass,ps->ptr;
|
||
|
<a name="l1283"></a> </span><span class=cF5>LexExcept</span><span class=cF0>(cc,</span><span class=cF6>"Compiler Optimization Error at "</span><span class=cF0>);
|
||
|
<a name="l1284"></a> </span><span class=cF7>}</span><span class=cF0>
|
||
|
<a name="l1285"></a></span><span class=cF2>//This is for determining type conversions for passing args to funs.</span><span class=cF0>
|
||
|
<a name="l1286"></a> </span><span class=cF1>return</span><span class=cF0> last_with_class;
|
||
|
<a name="l1287"></a>}
|
||
|
<a name="l1288"></a>
|
||
|
</span></pre></body>
|
||
|
</html>
|