Bug 1816760
| Summary: | Internal compiler error on i686 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jaroslav Škarvada <jskarvad> | ||||
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | aoliva, dmalcolm, fweimer, jakub, jwakely, law, mpolacek, msebor, nickc, sipoyare | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i686 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | gcc-10.0.1-0.11.fc32 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-04-01 16:33:48 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Jaroslav Škarvada
2020-03-24 16:34:02 UTC
Reduced testcase -O2 -mfpmath=sse -mstackrealign -mavx2 -mfma:
#include <x86intrin.h>
void
foo (float *x, const float *y, const float *z, unsigned int w)
{
unsigned int a;
const unsigned int b = w / 8;
const float *c = y;
const float *d = z;
__m256 e = _mm256_setzero_ps ();
__m256 f, g;
for (a = 0; a < b; a++)
{
f = _mm256_loadu_ps (c);
g = _mm256_loadu_ps (d);
c += 8;
d += 8;
e = _mm256_fmadd_ps (f, g, e);
}
__attribute__ ((aligned (32))) float h[8];
_mm256_storeu_ps (h, e);
_mm256_zeroupper ();
float i = h[0] + h[1] + h[2] + h[3] + h[4] + h[5] + h[6] + h[7];
for (a = b * 8; a < w; a++)
i += (*c++) * (*d++);
*x = i;
}
FEDORA-2020-a5307273dd has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-a5307273dd FEDORA-2020-a5307273dd has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-a5307273dd` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-a5307273dd See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-b2de059578 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-b2de059578 FEDORA-2020-b2de059578 has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-b2de059578` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-b2de059578 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-b2de059578 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. |