This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, i386] PR 48743 Correctly detect AMD K6-2+ and K6-3+
- From: "Zuxy Meng" <zuxy dot meng at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 16 May 2011 13:03:17 +0800
- Subject: [PATCH, i386] PR 48743 Correctly detect AMD K6-2+ and K6-3+
- Reply-to: "Zuxy Meng" <zuxy dot meng at gmail dot com>
Misdetected as Athlon by GCC, K6-2+ and K6-3+ are processors that support
extended 3DNow! but don't support extended MMX or CMOV.
I don't own a K6-2 or Athlon machine. Can anybody have the patch tested?
2011-05-16 Zuxy Meng <zuxy.meng@gmail.com>
PR i386/48743
* config/i386/cpuid.h (bit_MMXEXT): New
* config/i386/cpuid.h (bit_3DNOWP): Deleted
* config/i386/driver-i386.c (host_detect_local_cpu): Detect Athlon by the
presence of extended MMX instead of extended 3DNow!
--
Zuxy
Attachment:
k6-3+.diff
Description: Binary data