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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [sparc/] [fnots.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 326 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O -mcpu=ultrasparc -mvis" } */
3
typedef char vec8 __attribute__((vector_size(4)));
4
typedef short vec16 __attribute__((vector_size(4)));
5
 
6
extern vec8 foo1_8(void);
7
 
8
vec8 fun8(void)
9
{
10
  return ~foo1_8 ();
11
}
12
 
13
extern vec16 foo1_16(void);
14
 
15
vec16 fun16(void)
16
{
17
  return ~foo1_16 ();
18
}
19
 
20
/* { dg-final { scan-assembler-times "fnot1s\t%" 2 } } */

powered by: WebSVN 2.1.0

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