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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [sparc/] [array.c] - Blame information for rev 753

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-mcpu=ultrasparc -mvis" } */
3
 
4
long test_array8 (long a, long b)
5
{
6
  return __builtin_vis_array8 (a, b);
7
}
8
 
9
long test_array16 (long a, long b)
10
{
11
  return __builtin_vis_array16 (a, b);
12
}
13
 
14
long test_array32 (long a, long b)
15
{
16
  return __builtin_vis_array32 (a, b);
17
}
18
 
19
/* { dg-final { scan-assembler "array8\t%" } } */
20
/* { dg-final { scan-assembler "array16\t%" } } */
21
/* { dg-final { scan-assembler "array32\t%" } } */

powered by: WebSVN 2.1.0

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