* [Patch, AArch64] Add basic recognition for cpu cortex-a53 and cortex-a57
@ 2012-12-14 17:09 Yufeng Zhang
2012-12-17 15:14 ` Richard Earnshaw
0 siblings, 1 reply; 2+ messages in thread
From: Yufeng Zhang @ 2012-12-14 17:09 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 342 bytes --]
Hi,
This patch adds the basic recognition for cpu cortex-a53 and cortex-a57.
OK to commit?
Thanks,
Yufeng
gcc/
2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
* config/aarch64/aarch64-cores.def: Add entries for
"cortex-a53" and
"cortex-a57".
* config/aarch64/aarch64-tune.md: Re-generate.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: mcpu-cortex-57-53.patch --]
[-- Type: text/x-patch; name=mcpu-cortex-57-53.patch, Size: 1158 bytes --]
diff --git a/gcc/config/aarch64/aarch64-cores.def b/gcc/config/aarch64/aarch64-cores.def
index 06cc982..4b77009 100644
--- a/gcc/config/aarch64/aarch64-cores.def
+++ b/gcc/config/aarch64/aarch64-cores.def
@@ -34,5 +34,7 @@
This list currently contains example CPUs that implement AArch64, and
therefore serves as a template for adding more CPUs in the future. */
+AARCH64_CORE("cortex-a53", cortexa53, 8, AARCH64_FL_FPSIMD, generic)
+AARCH64_CORE("cortex-a57", cortexa57, 8, AARCH64_FL_FPSIMD, generic)
AARCH64_CORE("example-1", large, 8, AARCH64_FL_FPSIMD, generic)
AARCH64_CORE("example-2", small, 8, AARCH64_FL_FPSIMD, generic)
diff --git a/gcc/config/aarch64/aarch64-tune.md b/gcc/config/aarch64/aarch64-tune.md
index a654a91..02699e3 100644
--- a/gcc/config/aarch64/aarch64-tune.md
+++ b/gcc/config/aarch64/aarch64-tune.md
@@ -1,5 +1,5 @@
;; -*- buffer-read-only: t -*-
;; Generated automatically by gentune.sh from aarch64-cores.def
(define_attr "tune"
- "large,small"
+ "cortexa53,cortexa57,large,small"
(const (symbol_ref "((enum attr_tune) aarch64_tune)")))
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Patch, AArch64] Add basic recognition for cpu cortex-a53 and cortex-a57
2012-12-14 17:09 [Patch, AArch64] Add basic recognition for cpu cortex-a53 and cortex-a57 Yufeng Zhang
@ 2012-12-17 15:14 ` Richard Earnshaw
0 siblings, 0 replies; 2+ messages in thread
From: Richard Earnshaw @ 2012-12-17 15:14 UTC (permalink / raw)
To: Yufeng Zhang; +Cc: gcc-patches
On 14/12/12 17:09, Yufeng Zhang wrote:
> Hi,
>
> This patch adds the basic recognition for cpu cortex-a53 and cortex-a57.
> OK to commit?
>
OK.
R.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-17 15:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-14 17:09 [Patch, AArch64] Add basic recognition for cpu cortex-a53 and cortex-a57 Yufeng Zhang
2012-12-17 15:14 ` Richard Earnshaw
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).