Commit c9b1c957 by James Greenhalgh Committed by James Greenhalgh

[AArch64] Prevent generic pipeline description from dominating other pipeline descriptions.

gcc/
	* config/aarch64/aarch64.md (generic_sched): New.
	* config/aarch64/aarch64-generic.md (load): Make conditional
	on generic_sched attribute.
	(nonload): Likewise.

From-SVN: r202448
parent 82d618d3
2013-09-10 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64.md (generic_sched): New.
* config/aarch64/aarch64-generic.md (load): Make conditional
on generic_sched attribute.
(nonload): Likewise.
2013-09-10 Jan Hubicka <jh@suse.cz> 2013-09-10 Jan Hubicka <jh@suse.cz>
* lto-cgraph.c: Include ipa-utils.h. * lto-cgraph.c: Include ipa-utils.h.
......
...@@ -30,9 +30,11 @@ ...@@ -30,9 +30,11 @@
(const_string "no"))) (const_string "no")))
(define_insn_reservation "load" 2 (define_insn_reservation "load" 2
(eq_attr "is_load" "yes") (and (eq_attr "generic_sched" "yes")
(eq_attr "is_load" "yes"))
"core") "core")
(define_insn_reservation "nonload" 1 (define_insn_reservation "nonload" 1
(eq_attr "is_load" "no") (and (eq_attr "generic_sched" "yes")
(eq_attr "is_load" "no"))
"core") "core")
...@@ -308,6 +308,14 @@ ...@@ -308,6 +308,14 @@
;; Processor types. ;; Processor types.
(include "aarch64-tune.md") (include "aarch64-tune.md")
;; True if the generic scheduling description should be used.
(define_attr "generic_sched" "yes,no"
(const (if_then_else
(eq_attr "tune" "large,small,cortexa53")
(const_string "no")
(const_string "yes"))))
;; Scheduling ;; Scheduling
(include "aarch64-generic.md") (include "aarch64-generic.md")
(include "large.md") (include "large.md")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment