aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/aarch64/aapcs64/test_quad_double.c
blob: 109cea0b5c57ce942fec7848ac2c1c397295348d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* Test AAPCS64 layout.

   Test parameter passing of floating-point quad precision types.  */

/* { dg-do run { target aarch64*-*-* } } */

#ifndef IN_FRAMEWORK
#define TESTFILE "test_quad_double.c"

typedef long double TFtype;
typedef _Complex long double CTFtype;

TFtype x = 1.0;
TFtype y = 2.0;

CTFtype cx = 3.0 + 4.0i;
CTFtype cy = 5.0 + 6.0i;

#include "abitest.h"
#else
  ARG       ( TFtype,  x, Q0)
  ARG       (CTFtype, cx, Q1)
  DOTS
  ANON      (CTFtype, cy, Q3)
  LAST_ANON ( TFtype,  y, Q5)
#endif