summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/sparc/fpsub32.c
blob: e1813f491f790d2fb83f07b8e34cc6341d1c86d4 (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 "fpsub32\t%" } } */