diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-29 01:46:47 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-29 01:46:47 +0000 |
commit | 679ad1507712e248b48a13a2f917c9990a8a3da8 (patch) | |
tree | 871ea82376a663fa1dd3614ba691ab134cfc88d9 /gcc/config/epiphany/epiphany-sched.md | |
parent | ca369ad2bb21beea1c3c1d4455ff09baa9ce3ed9 (diff) | |
download | gcc-679ad1507712e248b48a13a2f917c9990a8a3da8.tar.gz |
* config/epiphany/predicates.md (addsub_operator): New predicate.
* config/epiphany/epiphany-sched.md (sched_use_fpu): New attribute.
* config/epiphany/epiphany.md (isub_i+1): New peephole2.
* config/epiphany/epiphany.h (get_attr_sched_use_fpu): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193915 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/epiphany/epiphany-sched.md')
-rw-r--r-- | gcc/config/epiphany/epiphany-sched.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/epiphany/epiphany-sched.md b/gcc/config/epiphany/epiphany-sched.md index 4d425bb6f86..5e1519f9934 100644 --- a/gcc/config/epiphany/epiphany-sched.md +++ b/gcc/config/epiphany/epiphany-sched.md @@ -136,3 +136,10 @@ (and (eq_attr "pipe_model" "epiphany") (eq_attr "type" "v2fp")) "issue,issue+F0,F0") + +; A boolean attribute for use by peephole2 patterns that try to figure out +; if we overcommitted the FPU. +; This is notionally a numeric attribute to avoid dependency problems. +(define_attr "sched_use_fpu" "" + (cond [(eq_attr "type" "fp,fp_int,v2fp") (const_int 1)] + (const_int 0))) |