summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/mips32r2-mxhc1.c
blob: cf57323db1acaf07114d7e40bdd6ee95cc819c10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-O -mabi=32 -mfp64" } */
/* { dg-final { scan-assembler "mthc1" } } */
/* { dg-final { scan-assembler "mfhc1" } } */

NOMIPS16 double func1 (long long a)
{
  return a;
}

NOMIPS16 long long func2 (double b)
{
  return b;
}