add option for the Samsung Exynos M1 core
authorEvandro Menezes <e.menezes@samsung.com>
Mon, 6 Apr 2015 19:19:34 +0000 (19:19 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Mon, 6 Apr 2015 19:19:34 +0000 (19:19 +0000)
* doc/invoke.texi (ARM/mtune): Add "exynos-m1" as an option.
* config/arm/arm.c (arm_issue_rate): Specify "3" for "exynosm1".
* config/arm/arm-cores.def (exynos-m1): New core.
* config/arm/arm-tune.md: Regenerate.
* config/arm/arm-tables.opt: Add entry for "exynos-m1".
* config/arm/bpabi.h: Likewise.

From-SVN: r221883

gcc/ChangeLog
gcc/config/arm/arm-cores.def
gcc/config/arm/arm-tables.opt
gcc/config/arm/arm-tune.md
gcc/config/arm/arm.c
gcc/config/arm/bpabi.h
gcc/doc/invoke.texi

index 13436290b4c8aa95d0a3423402f0400f1b941fc5..d40cd516d7804df0e5a12771a47de9bcae1950f8 100644 (file)
@@ -1,3 +1,12 @@
+2015-04-06  Evandro Menezes  <e.menezes@samsung.com>
+
+       * doc/invoke.texi (ARM/mtune): Add "exynos-m1" as an option.
+       * config/arm/arm.c (arm_issue_rate): Specify "3" for "exynosm1".
+       * config/arm/arm-cores.def (exynos-m1): New core.
+       * config/arm/arm-tune.md: Regenerate.
+       * config/arm/arm-tables.opt: Add entry for "exynos-m1".
+       * config/arm/bpabi.h: Likewise.
+
 2015-04-06  Ilya Enkovich  <ilya.enkovich@intel.com>
 
        * ipa-cp (set_single_call_flag): Remove too
index b22ea7fd6d4c39d22f16cdff9f07ee1677961601..7ade8a11f136d3ef1c4c25da7536a75b1fd09cc9 100644 (file)
@@ -168,6 +168,7 @@ ARM_CORE("cortex-a17.cortex-a7", cortexa17cortexa7, cortexa7,       7A,  FL_LDSCHED |
 ARM_CORE("cortex-a53", cortexa53, cortexa53,   8A, FL_LDSCHED | FL_CRC32, cortex_a53)
 ARM_CORE("cortex-a57", cortexa57, cortexa57,   8A, FL_LDSCHED | FL_CRC32, cortex_a57)
 ARM_CORE("cortex-a72", cortexa72, cortexa57,   8A, FL_LDSCHED | FL_CRC32, cortex_a57)
+ARM_CORE("exynos-m1",  exynosm1,  cortexa57,   8A, FL_LDSCHED | FL_CRC32, cortex_a57)
 ARM_CORE("xgene1",      xgene1,    xgene1,      8A, FL_LDSCHED,            xgene1)
 
 /* V8 big.LITTLE implementations */
index 3450e5b62af2ddf52afba66fb9670ca1abd3dc20..510e745611904a06e368dd0b5cc3835fe1406f08 100644 (file)
@@ -312,6 +312,9 @@ Enum(processor_type) String(cortex-a57) Value(cortexa57)
 EnumValue
 Enum(processor_type) String(cortex-a72) Value(cortexa72)
 
+EnumValue
+Enum(processor_type) String(exynos-m1) Value(exynosm1)
+
 EnumValue
 Enum(processor_type) String(xgene1) Value(xgene1)
 
index d459f27c98cfebd592949c893f48d003b238c82a..8b21d179e04967f6789c5c8dd288ca59664d963d 100644 (file)
@@ -33,5 +33,6 @@
        cortexm7,cortexm4,cortexm3,
        marvell_pj4,cortexa15cortexa7,cortexa17cortexa7,
        cortexa53,cortexa57,cortexa72,
-       xgene1,cortexa57cortexa53,cortexa72cortexa53"
+       exynosm1,xgene1,cortexa57cortexa53,
+       cortexa72cortexa53"
        (const (symbol_ref "((enum attr_tune) arm_tune)")))
index 50bd3ebab83e2f23c9ba04dad56fcd8f42b174d1..3b2b9a699c130ef628585dccaed49bc0154cab87 100644 (file)
@@ -27209,6 +27209,7 @@ arm_issue_rate (void)
 
     case cortexa15:
     case cortexa57:
+    case exynosm1:
       return 3;
 
     case cortexm7:
index c62130d7919dc64e6d2faecb58039b28641cd75e..ceaf2cc338554ac40f6192f0964d4b46f6cd64c3 100644 (file)
@@ -73,6 +73,7 @@
    |mcpu=cortex-a57.cortex-a53                         \
    |mcpu=cortex-a72                                    \
    |mcpu=cortex-a72.cortex-a53                         \
+   |mcpu=exynos-m1                                      \
    |mcpu=xgene1                                         \
    |mcpu=cortex-m1.small-multiply                       \
    |mcpu=cortex-m0.small-multiply                       \
@@ -97,6 +98,7 @@
    |mcpu=cortex-a57.cortex-a53                         \
    |mcpu=cortex-a72                                    \
    |mcpu=cortex-a72.cortex-a53                         \
+   |mcpu=exynos-m1                                      \
    |mcpu=xgene1                                         \
    |mcpu=cortex-m1.small-multiply                       \
    |mcpu=cortex-m0.small-multiply                       \
index 22710932a6635c6ad5d1abd60548d38befb9267a..38e0f650aea9dc4ff95562d68e8053efd3e5af36 100644 (file)
@@ -13211,6 +13211,7 @@ Permissible names are: @samp{arm2}, @samp{arm250},
 @samp{cortex-m1.small-multiply},
 @samp{cortex-m0.small-multiply},
 @samp{cortex-m0plus.small-multiply},
+@samp{exynos-m1},
 @samp{marvell-pj4},
 @samp{xscale}, @samp{iwmmxt}, @samp{iwmmxt2}, @samp{ep9312},
 @samp{fa526}, @samp{fa626},