public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "felyza at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/42786]  New: Athlon SSE3 and Fx processors not supported by configure
Date: Mon, 18 Jan 2010 05:51:00 -0000	[thread overview]
Message-ID: <bug-42786-18683@http.gcc.gnu.org/bugzilla/> (raw)

The athlon64-sse3, opteron-sse3, k8-sse3, and athlon-fx processors are
supported in the code itself, however support for the sse3 series was missing,
and the fx series was partially implemented in the configure scripts. 

This patch will add support for the sse3 series as well as correct the fx
entry. 

Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc      (revision 156000)
+++ gcc/config.gcc      (working copy)
@@ -1144,7 +1144,7 @@
                        tmake_file="${tmake_file} i386/t-linux64"
                        need_64bit_hwint=yes
                        case X"${with_cpu}" in
-                      
Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx)
+                      
Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3)
                                ;;
                        X)
                                if test x$with_cpu_64 = x; then
@@ -1153,7 +1153,7 @@
                                ;;
                        *)
                                echo "Unsupported CPU used in
--with-cpu=$with_cpu, supported values:" 1>&2
-                               echo "generic atom core2 nocona x86-64 amdfam10
barcelona k8 opteron athlon64 athlon-fx" 1>&2
+                               echo "generic atom core2 nocona x86-64 amdfam10
barcelona k8 opteron athlon64 athlon-fx athlon64-sse3 k8-sse3 opteron-sse3"
1>&2
                                exit 1
                                ;;
                        esac
@@ -1260,7 +1260,7 @@
                need_64bit_hwint=yes
                use_gcc_stdint=wrap
                case X"${with_cpu}" in
-              
Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx)
+              
Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3)
                        ;;
                X)
                        if test x$with_cpu_64 = x; then
@@ -1269,7 +1269,7 @@
                        ;;
                *)
                        echo "Unsupported CPU used in --with-cpu=$with_cpu,
supported values:" 1>&2
-                       echo "generic atom core2 nocona x86-64 amdfam10
barcelona k8 opteron athlon64 athlon-fx" 1>&2
+                       echo "generic atom core2 nocona x86-64 amdfam10
barcelona k8 opteron athlon64 athlon-fx athlon64-sse3 k8-sse3 opteron-sse3"
1>&2
                        exit 1
                        ;;
                esac
@@ -1339,7 +1339,7 @@
                        if test x$enable_targets = xall; then
                                tm_defines="${tm_defines} TARGET_BI_ARCH=1"
                                case X"${with_cpu}" in
-                              
Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx)
+                              
Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3)
                                        ;;
                                X)
                                        if test x$with_cpu_64 = x; then
@@ -1348,7 +1348,7 @@
                                        ;;
                                *)
                                        echo "Unsupported CPU used in
--with-cpu=$with_cpu, supported values:" 1>&2
-                                       echo "generic atom core2 nocona x86-64
amdfam10 barcelona k8 opteron athlon64 athlon-fx" 1>&2
+                                       echo "generic atom core2 nocona x86-64
amdfam10 barcelona k8 opteron athlon64 athlon-fx athlon64-sse3 k8-sse3
opteron-sse3" 1>&2
                                        exit 1
                                        ;;
                                esac
@@ -2629,8 +2629,11 @@
       case ${target_noncanonical} in
         amdfam10-*|barcelona-*)
           with_cpu=amdfam10
+          ;; 
+        k8_sse3-*|opteron_sse3-*|athlon64_sse3-*)
+          with_cpu=k8-sse3
           ;;
-        k8-*|opteron-*|athlon_64-*)
+        k8-*|opteron-*|athlon64-*|athlon_fx-*)
           with_cpu=k8
           ;;
         athlon_xp-*|athlon_mp-*|athlon_4-*)
@@ -2676,7 +2679,10 @@
         amdfam10-*|barcelona-*)
           with_cpu=amdfam10
           ;;
-        k8-*|opteron-*|athlon_64-*)
+        k8_sse3-*|opteron_sse3-*|athlon64_sse3-*)
+          with_cpu=k8-sse3
+          ;;
+        k8-*|opteron-*|athlon64-*|athlon_fx-*)
           with_cpu=k8
           ;;
         nocona-*)
@@ -2970,7 +2976,7 @@
                                esac
                                # OK
                                ;;
-                       "" | amdfam10 | barcelona | k8 | opteron | athlon64 |
athlon-fx | nocona | core2 | atom | generic)
+                       "" | amdfam10 | barcelona | k8-sse3 | opteron-sse3 |
athlon64-sse3 | k8 | opteron | athlon64 | athlon-fx | nocona | core2 | atom |
generic)
                                # OK
                                ;;
                        *)


-- 
           Summary: Athlon SSE3 and Fx processors not supported by configure
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: felyza at gmail dot com
 GCC build triplet: i686-pc-linux
  GCC host triplet: i686-pc-linux
GCC target triplet: i686-pc-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42786


             reply	other threads:[~2010-01-18  5:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-18  5:51 felyza at gmail dot com [this message]
2010-01-18  5:53 ` [Bug bootstrap/42786] " felyza at gmail dot com
2010-01-18  5:54 ` felyza at gmail dot com
2010-01-19 17:30 ` ubizjak at gmail dot com
2010-01-20 11:28 ` uros at gcc dot gnu dot org
2010-01-21 20:04 ` uros at gcc dot gnu dot org
2010-01-21 20:10 ` uros at gcc dot gnu dot org
2010-01-21 20:31 ` ubizjak at gmail dot com
2010-01-21 20:31 ` ubizjak at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-42786-18683@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).