aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>2013-05-15 07:02:43 +0000
committerGanesh Gopalasubramanian <gganesh@gcc.gnu.org>2013-05-15 07:02:43 +0000
commit83f44b399712cc22564013b42bb6976ef60895c4 (patch)
tree78bc9ce465f3329ce20a2ba4e513653c11b8e4eb
parentddc0bcbc67ee7c22bba05ea56d8d699320440145 (diff)
downloadgcc-83f44b399712cc22564013b42bb6976ef60895c4.zip
gcc-83f44b399712cc22564013b42bb6976ef60895c4.tar.gz
gcc-83f44b399712cc22564013b42bb6976ef60895c4.tar.bz2
New instruction (FSGSBASE) for AMD bdver3 architecture
From-SVN: r198916
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 33c2491..ee2d403 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-15 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
+
+ * config/i386/i386.c (processor_alias_table): Add instruction
+ FSGSBASE for AMD bdver3 architecture.
+
2013-05-14 Jakub Jelinek <jakub@redhat.com>
* tree.c (warn_deprecated_use): Print file:line using locus color.
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index a5727a1..0ca338c 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -3000,7 +3000,7 @@ ix86_option_override_internal (bool main_args_p)
| PTA_SSE4_2 | PTA_AES | PTA_PCLMUL | PTA_AVX
| PTA_XOP | PTA_LWP | PTA_BMI | PTA_TBM | PTA_F16C
| PTA_FMA | PTA_PRFCHW | PTA_FXSR | PTA_XSAVE
- | PTA_XSAVEOPT},
+ | PTA_XSAVEOPT | PTA_FSGSBASE},
{"btver1", PROCESSOR_BTVER1, CPU_GENERIC64,
PTA_64BIT | PTA_MMX | PTA_SSE | PTA_SSE2 | PTA_SSE3
| PTA_SSSE3 | PTA_SSE4A |PTA_ABM | PTA_CX16 | PTA_PRFCHW