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

            Bug ID: 83315
           Summary: PowerPC xmmintrin.h emulation for _mm_{min,max}_ps not
                    semantically equivalent
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dje at gcc dot gnu.org
  Target Milestone: ---

PowerPC port xmmintrin.h _mm_min_ps invokes Power vec_min instrinsic and
_mm_max_ps invokes Power vec_max instrinsic.  vec_min corresponds to the
xsminsp instruction and vec_max corresponds to the xsmaxsp instruction.  The
Power instructions implement different semantics for NaN than the Intel
equivalents.  The Power ISA 3.0 (Power9) xsmincsp and xsmaxcsp instructions
correspond to the Intel semantics.

Reply via email to