https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84989

            Bug ID: 84989
           Summary: _mm512_broadcast_f32x4 triggers internal compiler bug
           Product: gcc
           Version: 8.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: m...@sven-woop.de
  Target Milestone: ---

Created attachment 43717
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43717&action=edit
reproducer

The following code produces an internal compiler error:

__m512 occluded(float a, float* b) {
      return _mm512_sub_ps(_mm512_broadcast_f32x4(_mm_load_ps(b)),  
                           _mm512_broadcast_f32x4(_mm_set1_ps(a)));
}

Reply via email to