<html><head><base href="x-msg://335/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Refresh my memory. What m3front change did you make?<div><br>
<br><div><div>On Nov 23, 2010, at 3:33 AM, Jay K wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div class="hmmessage" style="font-size: 10pt; font-family: Tahoma; ">Tony, I'm going to try again to use bitfield operations for extract_mn.<br>And insert_mn.<br>I think I know what went wrong before for extract_mn: just remove the endian check in m3front.<br>But I'm going to be sure test p240 covers it well.<br><br>The easy part, duh, your original extract_mn was correct I think, just, again, missing the m3front change.<br><br>Insert_mn is less obvious.<br>I started writing it... bitfield_ref..modify_expr...uh, seems suspicious, to be modifying an existing value.<br><br>I guess it's more like, that, but with a temp that starts with the full value of x:<br> create temp<br> modify(temp, x)<br> modify(bitfield_ref(temp, count, offset), y);<br> m3_load(temp)<span class="Apple-converted-space"> </span><br><br>?<br><br>I'll try something like that.<br>It seems unfortunate.<br>Maybe we can know if x is already a value and not a variable?<br><br><br> - Jay<br></div></span></blockquote></div><br></div></body></html>