commit | b6734c35af028f06772c0b2c836c7d579e6d4dad | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Mon Aug 18 17:39:32 2008 -0700 |
committer | H. Peter Anvin <hpa@zytor.com> | Fri Sep 05 16:13:52 2008 -0700 |
tree | ecdfc0dc851f440b0f5861b8c3fe6b582d516d1b | |
parent | b74b06c5f6612a72298f37baa65460a59c26ca67 [diff] |
x86: add NOPL as a synthetic CPU feature bit 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>