<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>M3CG_Ops.i3:</div><div><br></div><div>shift (t: IType); (* s1.t := Word.Shift (s1.t, s0.t); pop *)</div><div><span style="font-size: 12pt; ">rotate (t: IType); (* s1.t := Word.Rotate (s1.t, s0.t); pop *)</span></div><div><br></div><br>This doesn't seem right to me.<div><br></div><div>s0 is signed.</div><div>s1 is not</div><div><br></div><div>I have it implemented as:</div><div><br></div><div><div>#define m3_shift_T(T) static T m3_shift_##T(T value,INTEGER shift)...</div></div><div><br></div><div>where T is UINT32 or UINT64.</div><div><br></div><div>"shift" can vary..I'll look at the frontend...</div><div><br></div><div> - Jay</div> </div></body>
</html>