<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'><span style="font-size: 12pt;">air:src jay$ grep -i boundary *</span><br><div><span style="font-size: 12pt;">Target.i3: boundary (i.e. (size + align - 1) DIV align * align).</span></div><div>Target.i3: Structure_size_boundary: CARDINAL;</div><div>Target.i3-old: boundary (i.e. (size + align - 1) DIV align * align).</div><div>Target.i3-old: Structure_size_boundary: CARDINAL;</div><div>Target.m3: Structure_size_boundary := 8;</div><div>Target.m3: Structure_size_boundary := 16;</div><div>Target.m3-old: Structure_size_boundary := 8;</div><div>Target.m3-old: Structure_size_boundary := 16;</div><div>Target.m3-old: Structure_size_boundary := 32;</div><div>Target.m3-old: Structure_size_boundary := 16;</div><div>Target.m3-old: Structure_size_boundary := 16;</div><div>Target.m3-old: Structure_size_boundary := 16;</div><div>Target.m3-old: Structure_size_boundary := 16;</div><div>Target.m3-old: Structure_size_boundary := 32;</div><div>Target.m3-old: Structure_size_boundary := 16;</div><div>Target.m3-old: Structure_size_boundary := 32;</div><div>Target.m3-old: Structure_size_boundary := 16;</div><div>TargetT.i3: structure_size_boundary: CARDINAL;</div><div><br></div><div><br></div><div>Surely we can just consider this 8 and remove all of it uses?</div><div><br></div><div>Are all those old >8 uses even correct?</div><div><br></div><div> sizeof(struct {char a;}) really isn't always 1? </div><div><div> sizeof(struct {char a[3];}) really isn't always 3? </div></div><div><br></div><div><br></div><div>Actually we can verify this easily enough with a cross gcc w/o cross driver/linker/assembler/headers/libraries.</div><div>I'll do that later.</div><div><br></div><div><br></div><div>Plus, we can have the C code statically verify struct sizes agree</div><div><span style="font-size: 12pt;">between front end backend, as long as they get encoded anywhere by frontend.</span></div><div><br></div><div><br></div><div>You know, I want to limit Target.m3 to endian and word size. Even those I wish I could remove.</div><div><br></div><div><br></div><div>Thanks,</div><div> - Jay</div> </div></body>
</html>