1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices Coding] GCC3
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20GCC3&In-Reply-To=">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"000345.html">
11 <LINK REL=
"Next" HREF=
"000348.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices Coding] GCC3
</H1>
15 <B>Kelmar K. Firesun
</B>
16 <A HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20GCC3&In-Reply-To="
17 TITLE=
"[IRCServices Coding] GCC3">kfiresun at ix.netcom.com
19 <I>Tue Feb
26 05:
05:
56 PST
2002</I>
21 <LI>Previous message:
<A HREF=
"000345.html">[IRCServices Coding] GCC3
23 <LI>Next message:
<A HREF=
"000348.html">[IRCServices Coding] GCC3
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#347">[ date ]
</a>
27 <a href=
"thread.html#347">[ thread ]
</a>
28 <a href=
"subject.html#347">[ subject ]
</a>
29 <a href=
"author.html#347">[ author ]
</a>
34 <PRE>----- Original Message -----
35 From:
"Finny Merrill
" <<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">griever at t2n.org
</A>>
36 To:
<<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">ircservices-coding at ircservices.za.net
</A>>
37 Sent: Tuesday, February
26,
2002 2:
19 AM
38 Subject: Re: [IRCServices Coding] GCC3
43 </I>><i> > "6" is printed:
1 byte +
1 byte of padding +
2*
2 bytes.
44 </I>><i> wierd, I always though structs were multiples of
4 bytes.
47 6 would imply a
16bit alignment, I would expect it to
48 display
8 for
32bit alignment. I'll also note that after
49 testing this on another compiler, I was not able to adjust
50 this number even when I told it to use a different boundary.
52 <A HREF=
"http://developer.intel.com/design/mobile/manuals/24281603.pdf">http://developer.intel.com/design/mobile/manuals/
24281603.pdf
</A>
54 According to the above it would appear that data should
55 be alligned on a
32-byte boundary for structures larger than
56 32-bytes. (There are also some other gnifty points in there ;)
58 Mmm... Assembly...... :
9
60 Kelmar K. Firesun (IRL: Bryce Simonds)
61 Acting Admin: dream.esper.net
71 <LI>Previous message:
<A HREF=
"000345.html">[IRCServices Coding] GCC3
73 <LI>Next message:
<A HREF=
"000348.html">[IRCServices Coding] GCC3
75 <LI> <B>Messages sorted by:
</B>
76 <a href=
"date.html#347">[ date ]
</a>
77 <a href=
"thread.html#347">[ thread ]
</a>
78 <a href=
"subject.html#347">[ subject ]
</a>
79 <a href=
"author.html#347">[ author ]
</a>