Re: Architectures with strict alignment?



On Sat, Dec 29, 2007 at 12:14:11AM -0800, Kip Macy wrote:
Isn't it everything except x86?

-Kip
x86 has the AC bit in the eflags. The AM bit in cr0 is enabled by the
kernel, and AC could be switched on by LD_PRELOADed shared object.

Last time I checked, our libc caused unaligned access in the locale
initialization code.


On Dec 29, 2007 12:11 AM, Erich Dollansky <oceanare@xxxxxxxxxxxxxx> wrote:
Hi,


Ivan Voras wrote:
Hi,

Which of the architectures FreeBSD supports (if any) have strict memory
alignment requirements? (in the sense that accessing a 32-bit integer
not aligned on a 32-bit address results in a hardware trap/exception).

isn't this the case with SPARC and Itanium?

I know, they are 64 bits.

Erich

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"

Attachment: pgpHmtZ5GdCcp.pgp
Description: PGP signature



Relevant Pages