[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: pentium woes, was: broken mailers
- From: Wim Couwenberg <w.couwenberg@...>
- Date: Mon, 25 Sep 2006 07:38:26 +0200
I'm also not sure if VC has an equivalent to attribute(aligned).
You can use __declspec(align(16)). See:
http://msdn2.microsoft.com/en-us/library/83ythb65.aspx
On a 32 bit architecture both Borland and Microsoft compilers use a
default 8 byte alignment for doubles. (I think this differs from gcc
besed compilers that seem to use 4 byte alignment?) You can use the
__alignof operator to get the alignment of a type at runtime.
http://msdn2.microsoft.com/en-us/library/45t0s5f4.aspx
--
Wim
P.S.: Rici, I suspect you missed a mail or two from me. At least I
didn't get a response. (I invited you to the workshop a/o.)