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/>

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216563

--- 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 array
of double values, so that should be happy with 4-byte aligned stacks, but some
part of the code employs SSE2 code to initialize the array and that
copy-initial-values-code requires 16-byte alignment. Something in the compiler
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 SSE2
instructions, it needs to waste 4...12 bytes but make realignment automatic.

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

home | help

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