commit | 7e00df5818964298c9821365a6cb7a8304227c5c | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Mon Aug 18 17:39:32 2008 -0700 |
committer | H. Peter Anvin <hpa@zytor.com> | Mon Aug 18 18:22:17 2008 -0700 |
tree | 5fdfc9a40deb0a4157bddffed28322a2ff9e5875 | |
parent | e2fe16d91228a005811335fbc4fbad5d4f5b75af [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>