Mercurial > hg > CbC > CbC_gcc
diff libgomp/testsuite/libgomp.c/sort-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | a06113de4d67 |
children | 84e7813d76e9 |
line wrap: on
line diff
--- a/libgomp/testsuite/libgomp.c/sort-1.c Sun Aug 21 07:07:55 2011 +0900 +++ b/libgomp/testsuite/libgomp.c/sort-1.c Fri Oct 27 22:46:09 2017 +0900 @@ -1,5 +1,5 @@ /* Test and benchmark of a couple of parallel sorting algorithms. - Copyright (C) 2008 Free Software Foundation, Inc. + Copyright (C) 2008-2017 Free Software Foundation, Inc. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -100,7 +100,7 @@ busy_wait (void) { #if defined __i386__ || defined __x86_64__ - __asm volatile ("rep; nop" : : : "memory"); + __builtin_ia32_pause (); #elif defined __ia64__ __asm volatile ("hint @pause" : : : "memory"); #elif defined __sparc__ && (defined __arch64__ || defined __sparc_v9__)