1  /* Skip this on aix, otherwise it emits the error message like "64-bit
       2     computation with 32-bit addressing not yet supported" on aix.  */
       3  /* { dg-skip-if "" { powerpc*-*-aix* } } */
       4  /* { dg-require-effective-target ilp32 } */
       5  /* { dg-options "-mpowerpc64 -m32 -O2" } */
       6  
       7  /* Verify option -m32 doesn't override option -mpowerpc64.
       8     If option -mpowerpc64 gets overridden, the assembly would
       9     end up with addc and adde.  */
      10  /* { dg-final { scan-assembler-not {\maddc\M} } } */
      11  /* { dg-final { scan-assembler-not {\madde\M} } } */
      12  /* { dg-final { scan-assembler-times {\madd\M} 1 } } */
      13  
      14  long long foo (long long a, long long b)
      15  {
      16    return a+b;
      17  }