summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/sparc/fpadd32s.c
blob: 709ad83c4bdeba40efce00111952ecc48207aa95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-O -mcpu=ultrasparc -mvis" } */
typedef int vec32 __attribute__((vector_size(4)));

extern vec32 foo1(void);
extern vec32 foo2(void);

vec32 bar(void)
{
  return foo1 () + foo2 ();
}

/* { dg-final { scan-assembler "fpadd32s\t%" }  } */