Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2007 13:12:04 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Kip Macy <kip.macy@gmail.com>
Cc:        freebsd-hackers@freebsd.org, Ivan Voras <ivoras@freebsd.org>
Subject:   Re: Architectures with strict alignment?
Message-ID:  <20071229111204.GX57756@deviant.kiev.zoral.com.ua>
In-Reply-To: <b1fa29170712290014w780448bh8da93006a629b7b4@mail.gmail.com>
References:  <fl4c8o$vpu$1@ger.gmane.org> <47760132.5040306@pacific.net.sg> <b1fa29170712290014w780448bh8da93006a629b7b4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--yaF1Lpws7ZTjdfU3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Dec 29, 2007 at 12:14:11AM -0800, Kip Macy wrote:
> Isn't it everything except x86?
>=20
> -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.

>=20
> On Dec 29, 2007 12:11 AM, Erich Dollansky <oceanare@pacific.net.sg> wrote:
> > Hi,
> >
> >
> > Ivan Voras wrote:
> > > Hi,
> > >
> > > Which of the architectures FreeBSD supports (if any) have strict memo=
ry
> > > 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@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o=
rg"
> >
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"

--yaF1Lpws7ZTjdfU3
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHdiuDC3+MBN1Mb4gRAhpFAJ4t8pvCovzvvKUdosenhqfiB2UoCQCgpwr5
rzLn4u+ifVnPM5T8y8nKs7Q=
=4kFb
-----END PGP SIGNATURE-----

--yaF1Lpws7ZTjdfU3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071229111204.GX57756>