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
+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>
* lto-cgraph.c: Include ipa-utils.h.
(const_string "no")))
(define_insn_reservation "load" 2
- (eq_attr "is_load" "yes")
+ (and (eq_attr "generic_sched" "yes")
+ (eq_attr "is_load" "yes"))
"core")
(define_insn_reservation "nonload" 1
- (eq_attr "is_load" "no")
+ (and (eq_attr "generic_sched" "yes")
+ (eq_attr "is_load" "no"))
"core")
;; Processor types.
(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
(include "aarch64-generic.md")
(include "large.md")