Bug#464962: Do AMD K7 family CPUs support long noops?
H. Peter Anvin wrote:
>> i.e. can you safely enable X86_P6_NOP for other CPUs, such as AMD
>> K7/K8, VIA C3/C7, or Efficeon? If not, would it be more sensible to
>> avoid using these instructions?
>>
>> It appears that at least some VIA C3 CPUs do not support these opcodes:
>>
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463606#45
>>
>
> Attached is a C program which tests this.
>
root@via:~/src# cat /proc/cpuinfo
processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 13
model name : VIA C7-D Processor 1500MHz
stepping : 0
cpu MHz : 1500.156
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce apic sep mtrr pge cmov
pat clflush acpi mmx fxsr sse sse2 tm nx up pni xtpr rng rng_en ace
ace_en ace2 ace2_en phe phe_en pmm pmm_en
bogomips : 3002.28
clflush size : 64
root@via:~/src# ./longnop
Long NOPs supported: yes
Reply to: