Mercurial > mplayer.hg
diff TOOLS/fastmemcpybench.c @ 27757:b5a46071062a
Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.
We were using an inconsistent mix of the three variants and 'volatile' should
be the most correct and portable variant.
author | diego |
---|---|
date | Thu, 16 Oct 2008 20:17:56 +0000 |
parents | 08d18fe9da52 |
children | 8df85ad26746 |
line wrap: on
line diff
--- a/TOOLS/fastmemcpybench.c Thu Oct 16 19:24:21 2008 +0000 +++ b/TOOLS/fastmemcpybench.c Thu Oct 16 20:17:56 2008 +0000 @@ -86,7 +86,7 @@ static inline unsigned long long int read_tsc( void ) { unsigned long long int retval; - __asm__ __volatile ("rdtsc":"=A"(retval)::"memory"); + __asm__ volatile ("rdtsc":"=A"(retval)::"memory"); return retval; }