Ticket #27803: patch-runtime-keiko.iset.diff

File patch-runtime-keiko.iset.diff, 1018 bytes (added by jking+macports@…, 14 years ago)
  • runtime/keiko.iset

    old new  
    136136# LDIs :: a, b --> mem_s[a+s*b]
    137137# STIs :: a, b, c --> []; mem_s[b+s*c] := a
    138138inst LDIW 0             B.* {subs($1.x, $2.i, type($t))}
     139inst LDIF 0        B.f {subs($1.x, $2.i, float)}
    139140inst LDIS 0             B.i {subs($1.x, $2.i, short)}
    140141inst LDIC 0             B.i {subs($1.x, $2.i, uchar)}
    141142inst STIW 0             S3  {subs($2.x, $3.i, type($u1)) = $1.*;}
     143inst STIF 0        S3  {subs($2.x, $3.i, float) = $1.f;}
    142144inst STIS 0             S3  {subs($2.x, $3.i, short) = $1.i;}
    143145inst STIC 0             S3  {subs($2.x, $3.i, uchar) = $1.i;}
    144146
     
    754756expand LDIC 0           {INDEXC, LOADC}
    755757expand LDIS 0           {INDEXS, LOADS}
    756758expand LDIW 0           {INDEXW, LOADW}
     759expand LDIF 0      {INDEXW, LOADF}
    757760expand LDID 0           {INDEXD, LOADD}
    758761expand STIC 0           {INDEXC, STOREC}
    759762expand STIS 0           {INDEXS, STORES}
    760763expand STIW 0           {INDEXW, STOREW}
     764expand STIF 0      {INDEXW, STOREF}
    761765expand STID 0           {INDEXD, STORED}
    762766
    763767expand LDEW 1           {LDLW -4, LDNW $a}