NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-i386/39950: Missing features 2-4 support in /proc/cpuinfo for AMD CPUs on i386
>Number: 39950
>Category: port-i386
>Synopsis: Missing features 2-4 support in /proc/cpuinfo for AMD CPUs on
>i386
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-i386-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 18 12:45:00 +0000 2008
>Originator: Bernd Ernesti
>Release: NetBSD 5.99.02
>Organization:
>Environment:
System: NetBSD 5.99.02
Architecture: i386
Machine: i386
>Description:
/proc/cpuinfo is incomplete because it doesn't show all cpu flags.
# cpuctl identify 0
cpu0: AMD Athlon X2 or Athlon 64 X2 (686-class), 2506.49 MHz, id 0x60fb2
cpu0: features 178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 178bfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX>
cpu0: features 178bfbff<FXSR,SSE,SSE2,HTT>
cpu0: features2 2001<SSE3,CX16>
cpu0: features3 ebd3fbff<SCALL/RET,NOX,MXX,FFXSR,RDTSCP,LONG,3DNOW2,3DNOW>
cpu0: features4 11f<LAHF,CMPLEGACY,SVM,EAPIC,ALTMOVCR0,3DNOWPREFETCH>
cpu0: "AMD Athlon(tm) Dual Core Processor 4850e"
# cat /proc/cpuinfo
[..]
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
clflush mmx fxsr sse sse2 ht
It seems that features 2-4 are not in the flags output and so programs
like
the configure check in mplayer doesn't find all flags. (where sse3
doesn't
work due too the old binutils, but thats another problem)
This may affect port-amd64 too, but i have no amd64 installed to check
the
output.
>How-To-Repeat:
Mount /proc with the option linux and notice that /proc/cpuinfo doesn't
contain all flags.
>Fix:
Home |
Main Index |
Thread Index |
Old Index