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

Eli Friedman eli.friedman at gmail.com
Thu Dec 25 18:21:58 PST 2008


On Thu, Dec 25, 2008 at 5:57 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
> 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?

Err, nevermind about volatile... asm statements without argument lists
are always volatile.

-Eli



More information about the cfe-commits mailing list