summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2005-07-19 21:53:22 +0000
committerobrien <obrien@FreeBSD.org>2005-07-19 21:53:22 +0000
commit66b2171b384c924c4f97fca02053a6abce44ce9b (patch)
treef888033ca0f8671376312184a2803945bb6b0c55 /contrib
parent46ea7f6a704167e940140932c5fc3237d501e3fe (diff)
downloadFreeBSD-src-66b2171b384c924c4f97fca02053a6abce44ce9b.zip
FreeBSD-src-66b2171b384c924c4f97fca02053a6abce44ce9b.tar.gz
Fix bug where GCC thought athlon-tbird had SSE support.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gcc/config/i386/i386.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/gcc/config/i386/i386.h b/contrib/gcc/config/i386/i386.h
index 694cc53..6afc3ac 100644
--- a/contrib/gcc/config/i386/i386.h
+++ b/contrib/gcc/config/i386/i386.h
@@ -614,8 +614,8 @@ extern int x86_prefetch_sse;
else if (TARGET_ATHLON) \
{ \
builtin_define ("__tune_athlon__"); \
- /* Only plain "athlon" lacks SSE. */ \
- if (last_tune_char != 'n') \
+ /* Plain "athlon" & "athlon-tbird" lacks SSE. */ \
+ if (last_tune_char != 'n' && last_tune_char != 'd') \
builtin_define ("__tune_athlon_sse__"); \
} \
else if (TARGET_K8) \
@@ -679,8 +679,8 @@ extern int x86_prefetch_sse;
{ \
builtin_define ("__athlon"); \
builtin_define ("__athlon__"); \
- /* Only plain "athlon" lacks SSE. */ \
- if (last_arch_char != 'n') \
+ /* Plain "athlon" & "athlon-tbird" lacks SSE. */ \
+ if (last_tune_char != 'n' && last_tune_char != 'd') \
builtin_define ("__athlon_sse__"); \
} \
else if (ix86_arch == PROCESSOR_K8) \
OpenPOWER on IntegriCloud