Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2019 07:50:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 216563] lang/gcc5: lang/gcc: stack alignment insufficient on i386 for SSE2 code.
Message-ID:  <bug-216563-29464-k8YPQOme6k@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-216563-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-216563-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216563

--- Comment #2 from Matthias Andree <mandree@FreeBSD.org> ---
Wow. The original bug reports are 10 years old.  You could've thought this =
has
been fixed long since.

The interesting part is that the affected code line per se deals with an ar=
ray
of double values, so that should be happy with 4-byte aligned stacks, but s=
ome
part of the code employs SSE2 code to initialize the array and that
copy-initial-values-code requires 16-byte alignment. Something in the compi=
ler
is inconsistent. Either it needs to figure it can't rely on the alignment of
the stack - then it cannot use SSE2 instructions, or, if it wants to use SS=
E2
instructions, it needs to waste 4...12 bytes but make realignment automatic.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216563-29464-k8YPQOme6k>