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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [builtin-bswap-1.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-require-effective-target stdint_types } */
3
/* { dg-options "" } */
4
/* { dg-final { scan-assembler-not "__builtin_" } } */
5
 
6
#include <stdint.h>
7
 
8
uint32_t foo (uint32_t a)
9
{
10
  int b;
11
 
12
  b = __builtin_bswap32 (a);
13
 
14
  return b;
15
}

powered by: WebSVN 2.1.0

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