diff mbox series

[2/2] Add option for Qualcomm Saphira part

Message ID 1509108519-16813-2-git-send-email-siddhesh@gotplt.org
State New
Headers show
Series [1/2] aarch64: Remove AARCH64_FEATURE_F16 from AARCH64_ARCH_V8_2 | expand

Commit Message

Siddhesh Poyarekar Oct. 27, 2017, 12:48 p.m. UTC
From: Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>


This adds an option for the Qualcomm saphira core, the corresponding
gcc patch is here:

https://gcc.gnu.org/ml/gcc-patches/2017-10/msg02055.html

This was tested with an aarch64 build and make check and also by
building and running SPEC2006.

	2017-10-27  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
		    Jim Wilson  <jim.wilson@linaro.org>

	gas/
	* config/tc-aarch64.c (aarch64_cpus): Add saphira.
	* doc/c-aarch64.texi: Likewise.

---
 gas/config/tc-aarch64.c | 3 +++
 gas/doc/c-aarch64.texi  | 1 +
 2 files changed, 4 insertions(+)

-- 
2.7.5

Comments

Nick Clifton Oct. 30, 2017, 1:54 p.m. UTC | #1
Hi Siddhesh,

> 	2017-10-27  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>

> 		    Jim Wilson  <jim.wilson@linaro.org>

> 

> 	gas/

> 	* config/tc-aarch64.c (aarch64_cpus): Add saphira.

> 	* doc/c-aarch64.texi: Likewise.

 
Approved - please apply.

Cheers
  Nick
Siddhesh Poyarekar Nov. 2, 2017, 5:22 p.m. UTC | #2
On Monday 30 October 2017 07:24 PM, Nick Clifton wrote:
> Hi Siddhesh,

> 

>> 	2017-10-27  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>

>> 		    Jim Wilson  <jim.wilson@linaro.org>

>>

>> 	gas/

>> 	* config/tc-aarch64.c (aarch64_cpus): Add saphira.

>> 	* doc/c-aarch64.texi: Likewise.

>  

> Approved - please apply.


Thanks, I'll apply it once the gcc flag patch is approved.

Siddhesh
Siddhesh Poyarekar Nov. 3, 2017, 2:04 p.m. UTC | #3
On Thursday 02 November 2017 10:52 PM, Siddhesh Poyarekar wrote:
>> Approved - please apply.

> 

> Thanks, I'll apply it once the gcc flag patch is approved.


... and now pushed.

Thanks,
Siddhesh
diff mbox series

Patch

diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 64d54fd..91330dd 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -8420,6 +8420,9 @@  static const struct aarch64_cpu_option_table aarch64_cpus[] = {
 			       AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO
 			       | AARCH64_FEATURE_RDMA),
    "Qualcomm QDF24XX"},
+  {"saphira", AARCH64_FEATURE (AARCH64_ARCH_V8_3,
+			       AARCH64_FEATURE_CRYPTO | AARCH64_FEATURE_PROFILE),
+   "Qualcomm Saphira"},
   {"thunderx", AARCH64_FEATURE (AARCH64_ARCH_V8,
 				AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO),
    "Cavium ThunderX"},
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index e73d48c..c6eeda8 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -65,6 +65,7 @@  on the target processor.  The following processor names are recognized:
 @code{exynos-m1},
 @code{falkor},
 @code{qdf24xx},
+@code{saphira},
 @code{thunderx},
 @code{vulcan},
 @code{xgene1}