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
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.7 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 99.8 KB
Makefile -rw-r--r-- 55.4 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top