diff mbox

New option falkor for Qualcomm server part

Message ID 1478168102-14945-1-git-send-email-siddhesh.poyarekar@linaro.org
State New
Headers show

Commit Message

Siddhesh Poyarekar Nov. 3, 2016, 10:15 a.m. UTC
This adds an option for the Qualcomm falkor core, the corresponding gcc patch
is here:

https://gcc.gnu.org/ml/gcc-patches/2016-11/msg00262.html

This was tested with aarch64 and armhf builds and make check and also by
building and running SPEC2006.

Siddhesh

	gas/

	* config/tc-aarch64.c (aarch64_cpus): Add falkor.
	* config/tc-arm.c (arm_cpus): Likewise.
	* doc/c-aarch64.texi: Likewise.
	* doc/c-arm.texi: Likewise.

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

-- 
2.7.4

Comments

Nick Clifton Nov. 3, 2016, 12:02 p.m. UTC | #1
Hi Siddhesh,

> 	gas/

> 

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

> 	* config/tc-arm.c (arm_cpus): Likewise.

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

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


Approved - please apply.

Cheers
  Nick
Siddhesh Poyarekar Nov. 3, 2016, 5:08 p.m. UTC | #2
On 3 November 2016 at 19:02, Nick Clifton <nickc@redhat.com> wrote:
> Hi Siddhesh,

>

>>       gas/

>>

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

>>       * config/tc-arm.c (arm_cpus): Likewise.

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

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

>

> Approved - please apply.


Pushed, thanks.

Siddhesh
diff mbox

Patch

diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 34fdc53..c62be49 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -7763,6 +7763,9 @@  static const struct aarch64_cpu_option_table aarch64_cpus[] = {
   {"exynos-m1", AARCH64_FEATURE (AARCH64_ARCH_V8,
 				 AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO),
 				"Samsung Exynos M1"},
+  {"falkor", AARCH64_FEATURE (AARCH64_ARCH_V8,
+			      AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO),
+   "Qualcomm Falkor"},
   {"qdf24xx", AARCH64_FEATURE (AARCH64_ARCH_V8,
 			       AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO),
    "Qualcomm QDF24XX"},
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 6482ef9..d8fa58b 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -25391,6 +25391,9 @@  static const struct arm_cpu_option_table arm_cpus[] =
   ARM_CPU_OPT ("exynos-m1",	ARM_ARCH_V8A_CRC, FPU_ARCH_CRYPTO_NEON_VFP_ARMV8,
 								  "Samsung " \
 								  "Exynos M1"),
+  ARM_CPU_OPT ("falkor",	ARM_ARCH_V8A_CRC, FPU_ARCH_CRYPTO_NEON_VFP_ARMV8,
+								  "Qualcomm "
+								  "Falkor"),
   ARM_CPU_OPT ("qdf24xx",	ARM_ARCH_V8A_CRC, FPU_ARCH_CRYPTO_NEON_VFP_ARMV8,
 								  "Qualcomm "
 								  "QDF24XX"),
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index 6f9f0cc..57937cb 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -61,6 +61,7 @@  on the target processor.  The following processor names are recognized:
 @code{cortex-a72},
 @code{cortex-a73},
 @code{exynos-m1},
+@code{falkor},
 @code{qdf24xx},
 @code{thunderx},
 @code{vulcan},
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index 0cf7390..8ea6045 100644
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -140,6 +140,7 @@  recognized:
 @code{exynos-m1},
 @code{marvell-pj4},
 @code{marvell-whitney},
+@code{falkor},
 @code{qdf24xx},
 @code{xgene1},
 @code{xgene2},