[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Long double alignment test



Hi Brett!

You wrote:

> Anyone know if this works? Could someone please run this on each of
> the archs we support (particularly ia64) and report the results to me?

Ok.

alpha:

your code: 
sizeof(foo)=16
sizeof(align)=8
sizeof(f2)=32
union may be aligned on 8 byte boundaries.

Neal's code:
char: 1
short: 2
int: 4
long: 8
long long: 8
void*: 8
float: 4
double: 8
long double: 8


ia64:

your code:
sizeof(foo)=16
sizeof(align)=8
sizeof(f2)=32
union may be aligned on 8 byte boundaries.

Neal's:
char: 1
short: 2
int: 4
long: 8
long long: 8
void*: 8
float: 4
double: 8
long double: 16



-- 
Kind regards,
+--------------------------------------------------------------------+
| Bas Zoetekouw              | GPG key: 0644fab7                     |
|----------------------------| Fingerprint: c1f5 f24c d514 3fec 8bf6 |
| bas@o2w.nl, bas@debian.org |              a2b1 2bae e41f 0644 fab7 |
+--------------------------------------------------------------------+ 



Reply to: