Compiler Intrinsics for "__asm pause"

C

Charles Zhang

For Win32 application, I could use "__asm pause". However, for X64
platform, the inline assembler is not supported. Is there a compiler
intrinsics for "__asm pause"?

Thanks

Charles Zhang
 
B

Bo Persson

Charles said:
For Win32 application, I could use "__asm pause". However, for X64
platform, the inline assembler is not supported. Is there a compiler
intrinsics for "__asm pause"?

Yes, _mm_pause().


Bo Persson
 
C

Charles Zhang

Thank you very much.

It was hard for me to find that out. You saved me.

Charles Zhang
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top