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

vec32 foo(vec32 a, vec32 b)
{
  return a + b;
}

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