OSDN Git Service

Implement x86 pause intrinsic.
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 May 2011 13:42:58 +0000 (13:42 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 May 2011 13:42:58 +0000 (13:42 +0000)
commit1c0d1529adb225633cd959bc1734f68182430d24
tree76212b8d0661bb78a1a0eb60f0cebf288a991c95
parente78306aff44cb282e2bef8b9a4c3a7758362e240
Implement x86 pause intrinsic.

gcc/

2011-05-25  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_PAUSE.
(bdesc_special_args): Add pause intrinsic.

* config/i386/i386.md (UNSPEC_PAUSE): New.
(pause): Likewise.
(*pause): Likewise.
* config/i386/ia32intrin.h (__pause): Likewise.

* doc/extend.texi (X86 Built-in Functions): Add documentation for
pause intrinsic.

gcc/testsuite/

2011-05-25  H.J. Lu  <hongjiu.lu@intel.com>

 * gcc.target/i386/pause-1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174197 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/config/i386/ia32intrin.h
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pause-1.c [new file with mode: 0644]