https://github.com/torvalds/linux
Revision b6734c35af028f06772c0b2c836c7d579e6d4dad authored by H. Peter Anvin on 19 August 2008, 00:39:32 UTC, committed by H. Peter Anvin on 05 September 2008, 23:13:52 UTC
The long noops ("NOPL") are supposed to be detected by family >= 6.
Unfortunately, several non-Intel x86 implementations, both hardware
and software, don't obey this dictum.  Instead, probe for NOPL
directly by executing a NOPL instruction and see if we get #UD.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
1 parent b74b06c
History
Tip revision: b6734c35af028f06772c0b2c836c7d579e6d4dad authored by H. Peter Anvin on 19 August 2008, 00:39:32 UTC
x86: add NOPL as a synthetic CPU feature bit
Tip revision: b6734c3
File Mode Size
Makefile -rw-r--r-- 335 bytes
compat.c -rw-r--r-- 17.0 KB
compat_mq.c -rw-r--r-- 4.0 KB
ipc_sysctl.c -rw-r--r-- 7.0 KB
ipcns_notifier.c -rw-r--r-- 2.2 KB
mqueue.c -rw-r--r-- 30.0 KB
msg.c -rw-r--r-- 20.8 KB
msgutil.c -rw-r--r-- 2.3 KB
namespace.c -rw-r--r-- 2.5 KB
sem.c -rw-r--r-- 33.7 KB
shm.c -rw-r--r-- 25.1 KB
util.c -rw-r--r-- 23.0 KB
util.h -rw-r--r-- 4.5 KB

back to top