(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
m68k/
pr39726.c
       1  /* { dg-do assemble } /*
       2  /* { dg-options "-O2 -fomit-frame-pointer" } */
       3  /* { dg-final { object-size text <= 228 } } */
       4  
       5  unsigned char v;
       6  
       7  int a0bs (unsigned char u, unsigned char w)
       8  {
       9    if ((u - w) & 0x80)
      10      v = 1;
      11  }
      12  
      13  int a1bs (unsigned char u, unsigned char w)
      14  {
      15    if ((u + w) & 0x80)
      16      v = 1;
      17  }
      18  
      19  int a0b (unsigned char u, unsigned char w)
      20  {
      21    if ((u - w) & 0x22)
      22      v = 1;
      23  }
      24  
      25  int a1b (unsigned char u, unsigned char w)
      26  {
      27    if ((u + w) & 0x22)
      28      v = 1;
      29  }
      30  
      31  int a0ws (unsigned short u, unsigned short w)
      32  {
      33    if ((u - w) & 0x8000)
      34      v = 1;
      35  }
      36  
      37  int a1ws (unsigned short u, unsigned short w)
      38  {
      39    if ((u + w) & 0x8000)
      40      v = 1;
      41  }
      42  
      43  int a0wbs (unsigned short u, unsigned short w)
      44  {
      45    if ((u - w) & 0x80)
      46      v = 1;
      47  }
      48  
      49  int a1wbs (unsigned short u, unsigned short w)
      50  {
      51    if ((u + w) & 0x80)
      52      v = 1;
      53  }
      54  
      55  int a0w (unsigned short u, unsigned short w)
      56  {
      57    if ((u - w) & 0x8421)
      58      v = 1;
      59  }
      60  
      61  int a1w (unsigned short u, unsigned short w)
      62  {
      63    if ((u + w) & 0x8421)
      64      v = 1;
      65  }