Various CPU features aren't intel specific
|Assignee:||Hans Rosenfeld||% Done:|
There are a number of CPU features which, in cpuid.c are conditional on Intel being the processor vendor. Several of these (XSAVE/OSXSAVE/AVX and I think SSE3, SSE4, etc.) are actually now present on AMD processors and should be made generic.
#1 Updated by Hans Rosenfeld about 3 years ago
- Category set to kernel
- Status changed from New to In Progress
- Assignee set to Hans Rosenfeld
- % Done changed from 0 to 100
#2 Updated by Richard PALO about 3 years ago
Hans Rosenfeld wrote:
Today, running a 6100 on oi_151a2 I see, for example, sse3 already ...
ssh <machine>... Last login: Thu Mar 29 19:26:42 2012 from 192.168.0.17 OpenIndiana (powered by illumos) SunOS 5.11 oi_151a2 January 2012 $ smbios -t SMB_TYPE_PROCESSOR ID SIZE TYPE 4 187 SMB_TYPE_PROCESSOR (processor) Manufacturer: AMD Version: AMD Opteron(tm) Processor 6128 Serial Number: To Be Filled By O.E.M. Asset Tag: To Be Filled By O.E.M. Location Tag: CPU 1 Part Number: To Be Filled By O.E.M. Family: 132 (Opteron) CPUID: 0x178bfbff00100f91 Type: 3 (central processor) Socket Upgrade: 26 Socket Status: Populated Processor Status: 1 (enabled) Supported Voltages: 1.2V External Clock Speed: Unknown Maximum Speed: 2000MHz Current Speed: 2000MHz L1 Cache: 5 L2 Cache: 6 L3 Cache: 7 $ isainfo -v 64-bit amd64 applications amd_svm amd_lzcnt popcnt amd_sse4a tscp ahf cx16 sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc cx8 tsc fpu 32-bit i386 applications amd_svm amd_lzcnt popcnt amd_sse4a tscp ahf cx16 sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc cx8 tsc fpu
perhaps you mean SSSE3, SSE4.x and co (judging by your patch)...
integration of this would be greatly appreciated!
#3 Updated by Albert Lee about 3 years ago
- Status changed from In Progress to Resolved
- Tags deleted (
user: Hans Rosenfeld <email@example.com>
date: Sun Apr 01 21:19:32 2012 +0200
2412 Various CPU features aren't intel specific
Reviewed by: Richard Lowe <firstname.lastname@example.org>
Reviewed by: Robert Mustacchi <email@example.com>
Approved by: Albert Lee <firstname.lastname@example.org>
Also available in: Atom