<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Close, but also signedness.<br><br> - Jay</div><div><br>On Mar 4, 2013, at 9:56 PM, Tony Hosking <<a href="mailto:hosking@cs.purdue.edu">hosking@cs.purdue.edu</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><base href="x-msg://2629/"><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; text-indent: 0px; orphans: 2; widows: 2; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; text-indent: 0px; orphans: 2; widows: 2; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; text-indent: 0px; orphans: 2; widows: 2; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; text-indent: 0px; orphans: 2; widows: 2; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; text-indent: 0px; orphans: 2; widows: 2; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; text-indent: 0px; orphans: 2; widows: 2; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; text-indent: 0px; orphans: 2; widows: 2; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; text-indent: 0px; orphans: 2; widows: 2; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; text-indent: 0px; orphans: 2; widows: 2; "><div>Isn’t it already there (implicitly) in the bitsize to be used to represent the range?</div><div>The representation CG.Type chosen in the front-end dictates exactly what is needed in terms of bits (8, 16, 32, 64).</div><div>The backend is supposed to respect the bitsize.</div><div>So, why do you need to duplicate that information?</div><div><br></div></span></span></span></span></span></span></span></span></div></span></div></span></span></div><div><div>On Mar 5, 2013, at 4:33 PM, Jay K <<a href="mailto:jay.krell@cornell.edu">jay.krell@cornell.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 12pt; font-family: Calibri; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div dir="ltr">cg.declare_subrange should include the cgtype the frontend<br>is going to use for the type.<br><br><br>I'm pretty darn certain of this.<br><br><br>Otherwise a backend very might want/need to duplicate<br>the logic in m3front/types/SubrangeType.m3 SetRep.<br><br>The logic isn't that complicated, but really, declare_subrange<br>should take the information.<br><br>I intend to write and commit that either tonight or within a week.<br>I assume this is ok..as I'm pretty certain of it..<br><br><br> - Jay<br><br><br></div></div></blockquote></div><br></div></blockquote></body></html>