public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/11640] New: Incorrect x86 CPU family and model check
@ 2010-05-27  4:51 hjl dot tools at gmail dot com
  2010-05-27 18:15 ` [Bug libc/11640] " drepper at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-05-27  4:51 UTC (permalink / raw)
  To: glibc-bugs

Glibc trunk, 2.12, 2.11 has

      if (__cpu_features.family == 0x0f)
	{
	  family += extended_family;
	  model += extended_model;
	}
      else if (__cpu_features.family == 0x06)
	{
	  model += extended_model;
	  switch (__cpu_features.model)
...
  __cpu_features.family = family;
  __cpu_features.model = model;

__cpu_features.family and __cpu_features.family are checked
before they are set.  A patch is posted at

http://sourceware.org/ml/libc-alpha/2010-05/msg00048.html

It should be applied cleanly to trunk and 2.12. 2.11 needs
small changes.

-- 
           Summary: Incorrect x86 CPU family and model check
           Product: glibc
           Version: 2.12
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: hjl dot tools at gmail dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=11640

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <bug-11640-131@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2014-06-30 17:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-27  4:51 [Bug libc/11640] New: Incorrect x86 CPU family and model check hjl dot tools at gmail dot com
2010-05-27 18:15 ` [Bug libc/11640] " drepper at redhat dot com
2010-05-27 18:25 ` hjl dot tools at gmail dot com
2010-05-27 18:38 ` pasky at suse dot cz
2010-05-27 20:39 ` drepper at redhat dot com
2010-05-31 17:13 ` pasky at suse dot cz
     [not found] <bug-11640-131@http.sourceware.org/bugzilla/>
2014-06-30 17:55 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).