public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Evandro Menezes <e.menezes@samsung.com>
To: 'Binutils' <binutils@sourceware.org>
Subject: [PATCH] [AArch64] Add support for the Samsung Exynos M1 processor
Date: Fri, 27 Mar 2015 20:07:00 -0000	[thread overview]
Message-ID: <04bf01d068c9$a4685300$ed38f900$@samsung.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

The Samsung Exynos M1 implements the ARMv8 ISA and this patch adds support
to GAS for it through the -mcpu command-line option.

The patch was tested on aarch64-unknown-linux-gnu without new failures.

OK for trunk?

-- 
Evandro Menezes                              Austin, TX



[-- Attachment #2: 0001-AArch64-Add-support-for-the-Samsung-Exynos-M1-proces.patch --]
[-- Type: application/octet-stream, Size: 1606 bytes --]

From b255e3f840ae2e5118fe480bc78bce4cb3e37c79 Mon Sep 17 00:00:00 2001
From: Evandro Menezes <emenezes@osdn.samsung.com>
Date: Thu, 26 Mar 2015 15:18:08 -0500
Subject: [PATCH] [AArch64] Add support for the Samsung Exynos M1 processor

2015-03-26  Evandro Menezes  <e.menezes@samsung.com>

gas/
	* config/tc-aarch64.c: Add support for Exynos M1.
	* doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
---
 gas/config/tc-aarch64.c | 3 +++
 gas/doc/c-aarch64.texi  | 1 +
 2 files changed, 4 insertions(+)

diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index ef4fae8..90ece1f 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -7320,6 +7320,9 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
 				  AARCH64_FEATURE_CRC), "Cortex-A57"},
   {"cortex-a72", AARCH64_FEATURE (AARCH64_ARCH_V8,
 				  AARCH64_FEATURE_CRC), "Cortex-A72"},
+  {"exynos-m1", AARCH64_FEATURE (AARCH64_ARCH_V8,
+				 AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO), 
+				"Samsung Exynos M1"},
   {"thunderx", AARCH64_ARCH_V8, "Cavium ThunderX"},
   /* The 'xgene-1' name is an older name for 'xgene1', which was used
      in earlier releases and is superseded by 'xgene1' in all
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index ce3694a..79fe168 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -58,6 +58,7 @@ on the target processor.  The following processor names are recognized:
 @code{cortex-a53},
 @code{cortex-a57},
 @code{cortex-a72},
+@code{exynos-m1},
 @code{thunderx},
 @code{xgene1}
 and
-- 
1.9.1


             reply	other threads:[~2015-03-27 20:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-27 20:07 Evandro Menezes [this message]
2015-04-01 15:40 ` Richard Earnshaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='04bf01d068c9$a4685300$ed38f900$@samsung.com' \
    --to=e.menezes@samsung.com \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).