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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [arm/] [aapcs/] [neon-vect4.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* Test AAPCS layout (VFP variant for Neon types) */
2
 
3
/* { dg-do run { target arm*-*-*eabi* } } */
4
/* { dg-require-effective-target arm_hard_vfp_ok  } */
5
/* { dg-require-effective-target arm_neon_ok } */
6
/* { dg-require-effective-target arm32 } */
7
/* { dg-add-options arm_neon } */
8
 
9
 
10
#ifndef IN_FRAMEWORK
11
#define VFP
12
#define NEON
13
#define TESTFILE "neon-vect4.c"
14
#include "neon-constants.h"
15
 
16
 
17
#include "abitest.h"
18
#else
19
 
20
ARG(int32x4_t, i32x4_constvec2, Q0) /* D0, D1 */
21
ARG(float, 3.0f, S4) /* D2, Q1 */
22
ARG(int32x4x2_t, i32x4x2_constvec1, Q2) /* Q2, Q3 - D4-D6 , s5-s12 */
23
ARG(double, 12.0, D3) /* Backfill this particular argument.  */
24
ARG(float, 5.0f, S5) /* Backfill in S5.  */
25
ARG(int32x4x2_t, i32x4x2_constvec2, STACK)
26
LAST_ARG(int, 3, R0)
27
#endif

powered by: WebSVN 2.1.0

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