1  /* { dg-do run } */
       2  /* { dg-require-effective-target sse4 } */
       3  /* { dg-options "-O2 -msse4.1" } */
       4  
       5  #include "sse4_1-check.h"
       6  
       7  #include "pr102483.c"
       8  
       9  static void
      10  sse4_1_test ()
      11  {
      12    char p[4] = { -103, 23, 41, -56 };
      13    unsigned char up[4] = { 100, 30, 255, 9 };
      14  
      15    char res = reduce_add (p);
      16    if (res != -95)
      17      abort ();
      18    if (reduce_smin (p) != -103)
      19      abort ();
      20    if (reduce_smax (p) != 41)
      21      abort ();
      22    if (reduce_umin (up) != 9)
      23      abort ();
      24    if (reduce_umax (up) != 255)
      25      abort();
      26  }