On Mon, Jun 7, 2010 at 23:33, Andreas Schwab <[email protected]> wrote:
> Richard Zidlicky <[email protected]> writes:
>
>> why does not a simple "__attribute__ ((aligned (4)))" work?
>
> It does, more or less.  I still get unexplained deadlocks and failures
> in some test cases.

Probably you know this, but it may also depend on your version of gcc.

At work, we had issues with this on Cell (which needs 16-byte
alignment for vectors on SPU) as well.
Some versions of spu-gcc don't honor the alignment attribute for
automatic variables.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Reply via email to