Port-alpha archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
size of int
(I'm not subscribed because I haven't had an alpha in about 15-20
years.)
I made a comment in a random upstream bugtracker about code that assumed
sizeof(int) was 4.
My memory (from the late 90s) is that on alpha, C is ILP64, with 64-bit
ints, not just longs and pointers. But I was questioned about this by a
fellow NetBSD developer, who pointed out
https://wiki.netbsd.org/ports/alpha/
that said ints are 32.
I wonder if I am confused, or if the alpha world started out ILP64 and
later changed to LP64. If the latter, it would be good to explain that
on the wiki page.
(I realize this is about the C ABI and that one can do it either way
with the processor.)
Home |
Main Index |
Thread Index |
Old Index