public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/42786]  New: Athlon SSE3 and Fx processors not supported by configure
@ 2010-01-18  5:51 felyza at gmail dot com
  2010-01-18  5:53 ` [Bug bootstrap/42786] " felyza at gmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: felyza at gmail dot com @ 2010-01-18  5:51 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug bootstrap/42786] Athlon SSE3 and Fx processors not supported by configure
  2010-01-18  5:51 [Bug bootstrap/42786] New: Athlon SSE3 and Fx processors not supported by configure felyza at gmail dot com
@ 2010-01-18  5:53 ` felyza at gmail dot com
  2010-01-18  5:54 ` felyza at gmail dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: felyza at gmail dot com @ 2010-01-18  5:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from felyza at gmail dot com  2010-01-18 05:52 -------
Created an attachment (id=19644)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19644&action=view)
Didn't have option on submission, its now attached.


-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug bootstrap/42786] Athlon SSE3 and Fx processors not supported by configure
  2010-01-18  5:51 [Bug bootstrap/42786] New: Athlon SSE3 and Fx processors not supported by configure felyza at gmail dot com
  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
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: felyza at gmail dot com @ 2010-01-18  5:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from felyza at gmail dot com  2010-01-18 05:54 -------
Can't edit original post. Email client added line breaks where they shouldn't
be. Please use patch attached to issue, and not one orginally submitted in
description.


-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug bootstrap/42786] Athlon SSE3 and Fx processors not supported by configure
  2010-01-18  5:51 [Bug bootstrap/42786] New: Athlon SSE3 and Fx processors not supported by configure felyza at gmail dot com
  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
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ubizjak at gmail dot com @ 2010-01-19 17:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ubizjak at gmail dot com  2010-01-19 17:30 -------
(In reply to comment #2)
> Can't edit original post. Email client added line breaks where they shouldn't
> be. Please use patch attached to issue, and not one orginally submitted in
> description.

Please post the patch (with appropriate ChangeLog) to gcc-patches@gcc.gnu.org
mailing list, as described in great detail in [1].

The patch is OK as far as x86 is concerned, but you will need an approval from
build maintainer for these changes.  Please also note, that it is a bit late in
the release process for these kind of changes, so unless you convince the
maintainer of a great benefit from your patch, it will have to wait for 4.6
release.

[1] http://gcc.gnu.org/contribute.html


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-01-19 17:30:06
               date|                            |


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug bootstrap/42786] Athlon SSE3 and Fx processors not supported by configure
  2010-01-18  5:51 [Bug bootstrap/42786] New: Athlon SSE3 and Fx processors not supported by configure felyza at gmail dot com
                   ` (2 preceding siblings ...)
  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
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: uros at gcc dot gnu dot org @ 2010-01-20 11:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from uros at gcc dot gnu dot org  2010-01-20 11:28 -------
Subject: Bug 42786

Author: uros
Date: Wed Jan 20 11:27:49 2010
New Revision: 156071

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156071
Log:
        PR bootstrap/42786
        * config.gcc (i[34567]86-*-*): Fix handling of athlon64 and athlon-fx
        cpu types.  Add support for *-sse3 cpu types.
        (x86_64-*-*): Ditto.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config.gcc


-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug bootstrap/42786] Athlon SSE3 and Fx processors not supported by configure
  2010-01-18  5:51 [Bug bootstrap/42786] New: Athlon SSE3 and Fx processors not supported by configure felyza at gmail dot com
                   ` (3 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: uros at gcc dot gnu dot org @ 2010-01-21 20:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from uros at gcc dot gnu dot org  2010-01-21 20:04 -------
Subject: Bug 42786

Author: uros
Date: Thu Jan 21 20:03:55 2010
New Revision: 156159

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156159
Log:
        PR bootstrap/42786
        * config.gcc (i[34567]86-*-*): Fix handling of athlon64 and athlon-fx
        cpu types.  Add support for *-sse3 cpu types.
        (x86_64-*-*): Ditto.


Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/config.gcc


-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug bootstrap/42786] Athlon SSE3 and Fx processors not supported by configure
  2010-01-18  5:51 [Bug bootstrap/42786] New: Athlon SSE3 and Fx processors not supported by configure felyza at gmail dot com
                   ` (4 preceding siblings ...)
  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
  7 siblings, 0 replies; 9+ messages in thread
From: uros at gcc dot gnu dot org @ 2010-01-21 20:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from uros at gcc dot gnu dot org  2010-01-21 20:10 -------
Subject: Bug 42786

Author: uros
Date: Thu Jan 21 20:10:04 2010
New Revision: 156160

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156160
Log:
        PR bootstrap/42786
        * config.gcc (i[34567]86-*-*): Fix handling of athlon64 and athlon-fx
        cpu types.  Add support for *-sse3 cpu types.
        (x86_64-*-*): Ditto.


Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/config.gcc


-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug bootstrap/42786] Athlon SSE3 and Fx processors not supported by configure
  2010-01-18  5:51 [Bug bootstrap/42786] New: Athlon SSE3 and Fx processors not supported by configure felyza at gmail dot com
                   ` (6 preceding siblings ...)
  2010-01-21 20:31 ` ubizjak at gmail dot com
@ 2010-01-21 20:31 ` ubizjak at gmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: ubizjak at gmail dot com @ 2010-01-21 20:31 UTC (permalink / raw)
  To: gcc-bugs



-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.5


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug bootstrap/42786] Athlon SSE3 and Fx processors not supported by configure
  2010-01-18  5:51 [Bug bootstrap/42786] New: Athlon SSE3 and Fx processors not supported by configure felyza at gmail dot com
                   ` (5 preceding siblings ...)
  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
  7 siblings, 0 replies; 9+ messages in thread
From: ubizjak at gmail dot com @ 2010-01-21 20:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from ubizjak at gmail dot com  2010-01-21 20:30 -------
Fixed.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-01-21 20:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-18  5:51 [Bug bootstrap/42786] New: Athlon SSE3 and Fx processors not supported by configure felyza at gmail dot com
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

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).