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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 691 jeremybenn
/* PR target/49660 */
2
 
3
/* { dg-do compile { target sparc*-*-solaris2.* } } */
4
 
5
#include <stdint.h>
6
 
7
extern int64_t *val, old, new;
8
 
9
int
10
cas64 (void)
11
{
12
  return __sync_bool_compare_and_swap (val, old, new);
13
}
14
 
15
/* { dg-final { scan-assembler-not "compare_and_swap_8" } } */

powered by: WebSVN 2.1.0

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