This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[AArch64] [-mtune cleanup 1/5] Remove -march=generic.
- From: James Greenhalgh <james dot greenhalgh at arm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: marcus dot shawcroft at arm dot com, richard dot earnshaw at arm dot com
- Date: Wed, 13 Nov 2013 15:32:15 +0000
- Subject: [AArch64] [-mtune cleanup 1/5] Remove -march=generic.
- Authentication-results: sourceware.org; auth=none
- References: <1384356739-27774-1-git-send-email-james dot greenhalgh at arm dot com>
Hi,
This option was never documented anywhere, is meaningless
and generates unhelpful code. Better we remove it.
Tested on aarch64-none-elf in series with no regressions.
OK?
Thanks,
James
---
gcc/
2013-11-13 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64.c (all_architectures): Remove "generic".
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 8458cac..5fba692 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -251,7 +251,6 @@ static const struct processor all_architectures[] =
{NAME, CORE, #ARCH, FLAGS, NULL},
#include "aarch64-arches.def"
#undef AARCH64_ARCH
- {"generic", generic, "8", AARCH64_FL_FOR_ARCH8, NULL},
{NULL, aarch64_none, NULL, 0, NULL}
};