Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2013 11:46:56 +0000
From:      David Chisnall <theraven@FreeBSD.org>
To:        Adrian Chadd <adrian@FreeBSD.org>
Cc:        freebsd-arm@FreeBSD.org
Subject:   Re: FreeBSD/armv6z/clang on Raspberry Pi 512MB (with U-Boot + ubldr)
Message-ID:  <0C01FA61-5BC9-4FA2-B3F2-E843E2B29B54@FreeBSD.org>
In-Reply-To: <CAJ-VmokH8=CHnPGHtjZTrpuWe1HAjR%2BYRp%2BzGROtS8GcJrCiZA@mail.gmail.com>
References:  <B5F827FF91C94FF2AFEE00194A2BB2C5@ad.peach.ne.jp> <B508111FCE534B2CBA61F4D1EC1078D3@ad.peach.ne.jp> <E42823D3-D405-40E7-B4CF-75DC947AC119@bluezbox.com> <2BA73CBF02B04DD19D08CDFC556B8750@ad.peach.ne.jp> <BE93F553-E060-45E5-90FE-39AAD1325BAB@bluezbox.com> <F384770FEB784C67BC89AFF7CF57E96C@ad.peach.ne.jp> <1356624694.1144.67.camel@revolution.hippie.lan> <234E1E18AC1C4A3985D6C570F78698E6@ad.peach.ne.jp> <9ED42265200A41B1BD637682720E0E9D@ad.peach.ne.jp> <CAJ-VmokH8=CHnPGHtjZTrpuWe1HAjR%2BYRp%2BzGROtS8GcJrCiZA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28 Dec 2012, at 16:47, Adrian Chadd wrote:

> david - what's the "right" behaviour here? Surely clang should be
> inserting 4 bytes of padding before that pointer?

The problem appears to be that clang is folding two 32-bit stores into a =
64-bit store, which is a perfectly safe thing to do half of the time =
(i.e. when the alignment of the first one is 64 bits), but not the other =
half.  I've asked ARM's LLVM/Clang team to look at it, and they say that =
they can probably do so soon if there's a bug filed in LLVM's bugzilla =
with a reduced test case.

David=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0C01FA61-5BC9-4FA2-B3F2-E843E2B29B54>