public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [AARCH64][Insn classification unification 2/N] Add cortex-a53 pipeline description
@ 2013-07-31 14:56 Sofiane Naci
  0 siblings, 0 replies; 2+ messages in thread
From: Sofiane Naci @ 2013-07-31 14:56 UTC (permalink / raw)
  To: gcc-patches

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

Hi,

This patch is part of the ongoing work to unify instruction classification
between the ARM and AARCH64 backends.

This patch wires up the cortex-a53 pipeline description defined in the ARM
backend to be used in the AARCH46 backend.

OK for trunk?

Thanks
Sofiane

-----

ChangeLog

	* config.gcc (aarch64*-*-*): Add aarch-common.o to extra_objs.  Add
	aarch-common-protos.h to extra_headers.
	(aarch64*-*-*): Add arm/aarch-common-protos.h to tm_p_file.
	* config/aarch64/aarch64.md: Include "../arm/cortex-a53.md"
	* config/aarch64/t-aarch64 (aarch-common.o): Define.

[-- Attachment #2: aarch64-add-a53-pipeline.diff --]
[-- Type: application/octet-stream, Size: 1809 bytes --]

Index: config.gcc
===================================================================
--- config.gcc	(revision 201376)
+++ config.gcc	(working copy)
@@ -313,7 +313,7 @@ aarch64*-*-*)
 	cpu_type=aarch64
 	need_64bit_hwint=yes
 	extra_headers="arm_neon.h"
-	extra_objs="aarch64-builtins.o"
+	extra_objs="aarch64-builtins.o aarch-common.o"
 	target_has_targetm_common=yes
 	;;
 alpha*-*-*)
@@ -501,6 +501,7 @@ fi
 
 case ${target} in
 aarch64*-*-*)
+	tm_p_file="${tm_p_file} arm/aarch-common-protos.h"
 	case ${with_abi} in
 	"")
 		if test "x$with_multilib_list" = xilp32; then
Index: config/aarch64/aarch64.md
===================================================================
--- config/aarch64/aarch64.md	(revision 201376)
+++ config/aarch64/aarch64.md	(working copy)
@@ -349,6 +349,7 @@
 (include "aarch64-generic.md")
 (include "large.md")
 (include "small.md")
+(include "../arm/cortex-a53.md")
 
 ;; -------------------------------------------------------------------
 ;; Jumps and other miscellaneous insns
Index: config/aarch64/t-aarch64
===================================================================
--- config/aarch64/t-aarch64	(revision 201376)
+++ config/aarch64/t-aarch64	(working copy)
@@ -35,6 +35,11 @@ aarch64-builtins.o: $(srcdir)/config/aar
 	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
 		$(srcdir)/config/aarch64/aarch64-builtins.c
 
+aarch-common.o: $(srcdir)/config/arm/aarch-common.c $(CONFIG_H) $(SYSTEM_H) \
+    coretypes.h $(TM_H) $(TM_P_H) $(RTL_H) $(TREE_H) output.h $(C_COMMON_H)
+	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+		$(srcdir)/config/arm/aarch-common.c
+
 comma=,
 MULTILIB_OPTIONS    = $(patsubst %, mabi=%, $(subst $(comma), ,$(TM_MULTILIB_CONFIG)))
 MULTILIB_DIRNAMES   = $(subst $(comma), ,$(TM_MULTILIB_CONFIG))

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [AARCH64][Insn classification unification 2/N] Add cortex-a53 pipeline description
       [not found] <51f925b5.0194420a.7ef5.fffff86eSMTPIN_ADDED_BROKEN@mx.google.com>
@ 2013-08-01  9:14 ` Marcus Shawcroft
  0 siblings, 0 replies; 2+ messages in thread
From: Marcus Shawcroft @ 2013-08-01  9:14 UTC (permalink / raw)
  To: Sofiane Naci; +Cc: gcc-patches

On 31 July 2013 15:56, Sofiane Naci <sofiane.naci@arm.com> wrote:
> Hi,
>
> This patch is part of the ongoing work to unify instruction classification
> between the ARM and AARCH64 backends.
>
> This patch wires up the cortex-a53 pipeline description defined in the ARM
> backend to be used in the AARCH46 backend.
>
> OK for trunk?

OK
/Marcus

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-01  9:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-31 14:56 [AARCH64][Insn classification unification 2/N] Add cortex-a53 pipeline description Sofiane Naci
     [not found] <51f925b5.0194420a.7ef5.fffff86eSMTPIN_ADDED_BROKEN@mx.google.com>
2013-08-01  9:14 ` Marcus Shawcroft

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).