Skip to contentSkip to conversation

n270 SSSE3 flag problem

Qemu-devel Blue Swirl 3 participants 3 messages Oct 27, 2008

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Hi,

Sparse detected a problem with n270 CPU definition, I think
.ext_features = CPUID_EXT_MONITOR |
CPUID_EXT_SSE3 /* PNI */, CPUID_EXT_SSSE3, /* Missing: CPUID_EXT_DSCPL | CPUID_EXT_EST |
* CPUID_EXT_TM2 | CPUID_EXT_XTPR */
should be:
.ext_features = CPUID_EXT_MONITOR |
CPUID_EXT_SSE3 /* PNI */ | CPUID_EXT_SSSE3, /* Missing: CPUID_EXT_DSCPL | CPUID_EXT_EST |
* CPUID_EXT_TM2 | CPUID_EXT_XTPR */

#1 lore raw
Quoted 11 lines · Blue Swirl

Sparse detected a problem with n270 CPU definition, I think
.ext_features = CPUID_EXT_MONITOR |
CPUID_EXT_SSE3 /* PNI */, CPUID_EXT_SSSE3, /* Missing: CPUID_EXT_DSCPL | CPUID_EXT_EST |
* CPUID_EXT_TM2 | CPUID_EXT_XTPR */
should be:
.ext_features = CPUID_EXT_MONITOR |
CPUID_EXT_SSE3 /* PNI */ | CPUID_EXT_SSSE3, /* Missing: CPUID_EXT_DSCPL | CPUID_EXT_EST |
* CPUID_EXT_TM2 | CPUID_EXT_XTPR */

SSSE3 is indeed supported by n270 according to Intel documentation
http://download.intel.com/design/processor/datashts/320032.pdf

Laurent

#2 lore raw
In reply to Blue Swirl

2008/10/27 Blue Swirl <[email protected]>:

Quoted 12 lines

Hi,

Sparse detected a problem with n270 CPU definition, I think
.ext_features = CPUID_EXT_MONITOR |
CPUID_EXT_SSE3 /* PNI */, CPUID_EXT_SSSE3, /* Missing: CPUID_EXT_DSCPL | CPUID_EXT_EST |
* CPUID_EXT_TM2 | CPUID_EXT_XTPR */
should be:
.ext_features = CPUID_EXT_MONITOR |
CPUID_EXT_SSE3 /* PNI */ | CPUID_EXT_SSSE3, /* Missing: CPUID_EXT_DSCPL | CPUID_EXT_EST |
* CPUID_EXT_TM2 | CPUID_EXT_XTPR */

Thanks, good catch! I had only tested n270 in user mode, that's why it didn't blow up.

Cheers