OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [arm/] [aapcs/] [vfp16.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 313 jeremybenn
/* Test AAPCS layout (VFP variant) */
2
 
3
/* { dg-do run { target arm*-*-eabi* } } */
4
/* { dg-require-effective-target arm_hard_vfp_ok } */
5
/* { dg-require-effective-target arm32 } */
6
/* { dg-options "-O -mfpu=vfp -mfloat-abi=hard" } */
7
 
8
#ifndef IN_FRAMEWORK
9
#define VFP
10
#define TESTFILE "vfp16.c"
11
 
12
#define PCSATTR __attribute__((pcs("aapcs")))
13
 
14
#include "abitest.h"
15
#else
16
  ARG(float, 1.0f, R0)
17
  ARG(float, 2.0f, R1)
18
  ARG(float, 3.0f, R2)
19
  ARG(float, 4.0f, R3)
20
  ARG(float, 5.0f, STACK)
21
  LAST_ARG(float, 5.0f, STACK+4)
22
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.