URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [spu/] [pr40001.c] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O" } */ void * sbrk (unsigned int increment) { volatile register __attribute__ ((__spu_vector__)) unsigned int sp_r1 __asm__ ("1"); unsigned int sps; sps = __builtin_spu_extract (sp_r1, 0); if (sps - 4096 >= increment) return 0; else return ((void *) -1); }
Go to most recent revision | Compare with Previous | Blame | View Log