Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Add thunderx support to gas |
| 2 | |
| 3 | Upstream-Status: Submitted [https://sourceware.org/ml/binutils/2014-10/msg00170.html] |
| 4 | |
| 5 | Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> |
| 6 | |
| 7 | Author: Andrew Pinski <apinski@cavium.com> |
| 8 | Date: Mon, 20 Oct 2014 11:42:58 -0700 |
| 9 | |
| 10 | This patch adds -mcpu=thunderx support to gas. |
| 11 | |
| 12 | diff -Naurp git_org/gas/config/tc-aarch64.c git/gas/config/tc-aarch64.c |
| 13 | --- git_org/gas/config/tc-aarch64.c 2015-09-07 02:13:51.988973523 -0700 |
| 14 | +++ git/gas/config/tc-aarch64.c 2015-09-07 02:15:21.705981540 -0700 |
| 15 | @@ -7206,6 +7206,7 @@ static const struct aarch64_cpu_option_t |
| 16 | AARCH64_FEATURE_CRC), "Cortex-A57"}, |
| 17 | {"cortex-a72", AARCH64_FEATURE (AARCH64_ARCH_V8, |
| 18 | AARCH64_FEATURE_CRC), "Cortex-A72"}, |
| 19 | + {"thunderx", AARCH64_ARCH_V8, "Cavium ThunderX"}, |
| 20 | {"exynos-m1", AARCH64_FEATURE (AARCH64_ARCH_V8, |
| 21 | AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO), |
| 22 | "Samsung Exynos M1"}, |
| 23 | diff -Naurp git_org/gas/doc/c-aarch64.texi git/gas/doc/c-aarch64.texi |
| 24 | --- git_org/gas/doc/c-aarch64.texi 2015-09-07 02:13:51.969973522 -0700 |
| 25 | +++ git/gas/doc/c-aarch64.texi 2015-09-07 02:16:03.364985262 -0700 |
| 26 | @@ -58,6 +58,7 @@ on the target processor. The following |
| 27 | @code{cortex-a53}, |
| 28 | @code{cortex-a57}, |
| 29 | @code{cortex-a72}, |
| 30 | +@code{thunderx}, |
| 31 | @code{exynos-m1}, |
| 32 | @code{xgene1}, |
| 33 | and |