[cfe-commits] r61434 - /cfe/trunk/lib/Headers/emmintrin.devel.h

Eli Friedman eli.friedman at gmail.com
Thu Dec 25 17:57:40 PST 2008


On Thu, Dec 25, 2008 at 4:49 PM, Anders Carlsson <andersca at mac.com> wrote:
> +static inline void __attribute__((__always_inline__)) _mm_pause(void)
> +{
> +  asm("pause");
> +}

Doesn't this need to be marked volatile?  Also, shouldn't we be using
__asm__, since this is a builtin header?

-Eli



More information about the cfe-commits mailing list