This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] enable fma4 for bdver2


Hi,

This patch turns on FMA4 for the AMD BDVER2 processor.

Okay for trunk if no regressions?
-- 
Quentin


Index: ChangeLog
===================================================================
--- ChangeLog   (revision 181147)
+++ ChangeLog   (working copy)
@@ -1,3 +1,8 @@
+2011-11-07  Quentin Neill  <quentin.neill@amd.com>
+
+       Add FMA4 to bdver2.
+       * config/i386/i386.c (ix86_option_override_internal): Add FMA4
to bdver2.
+
 2011-11-07  Richard Henderson  <rth@redhat.com>

        * optabs.h (OTI_sync_compare_and_swap, OTI_sync_lock_test_and_set,
Index: config/i386/i386.c
===================================================================
--- config/i386/i386.c  (revision 181147)
+++ config/i386/i386.c  (working copy)
@@ -3044,7 +3044,7 @@ ix86_option_override_internal (bool main
       {"bdver2", PROCESSOR_BDVER2, CPU_BDVER2,
        PTA_64BIT | PTA_MMX | PTA_SSE | PTA_SSE2 | PTA_SSE3
        | PTA_SSE4A | PTA_CX16 | PTA_ABM | PTA_SSSE3 | PTA_SSE4_1
-       | PTA_SSE4_2 | PTA_AES | PTA_PCLMUL | PTA_AVX
+       | PTA_SSE4_2 | PTA_AES | PTA_PCLMUL | PTA_AVX | PTA_FMA4
        | PTA_XOP | PTA_LWP | PTA_BMI | PTA_TBM | PTA_F16C
        | PTA_FMA},
       {"btver1", PROCESSOR_BTVER1, CPU_GENERIC64,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]