diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-12-01 06:24:29 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-12-01 06:24:29 +0000 |
commit | f24329deac63d825805147fd7c084816af66c318 (patch) | |
tree | 3c6094673888e95f2c66b8a07e514ddf36be3d53 /gcc/config/pa | |
parent | 7c57630f83df248e0ed7fb5c8447c0be30852296 (diff) | |
download | gcc-f24329deac63d825805147fd7c084816af66c318.tar.gz |
2011-12-01 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 181872 using svnmerge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@181873 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/pa')
-rw-r--r-- | gcc/config/pa/pa.md | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index 1be614c3241..d5417febe8b 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -121,10 +121,12 @@ ;; Attributes for instruction and branch scheduling -;; For conditional branches. +;; For conditional branches. Frame related instructions are not allowed +;; because they confuse the unwind support. (define_attr "in_branch_delay" "false,true" (if_then_else (and (eq_attr "type" "!uncond_branch,btable_branch,branch,cbranch,fbranch,call,dyncall,multi,milli,parallel_branch") - (eq_attr "length" "4")) + (eq_attr "length" "4") + (not (match_test "RTX_FRAME_RELATED_P (insn)"))) (const_string "true") (const_string "false"))) @@ -132,7 +134,8 @@ ;; even if the instruction is nullified. (define_attr "in_nullified_branch_delay" "false,true" (if_then_else (and (eq_attr "type" "!uncond_branch,btable_branch,branch,cbranch,fbranch,call,dyncall,multi,milli,fpcc,fpalu,fpmulsgl,fpmuldbl,fpdivsgl,fpdivdbl,fpsqrtsgl,fpsqrtdbl,parallel_branch") - (eq_attr "length" "4")) + (eq_attr "length" "4") + (not (match_test "RTX_FRAME_RELATED_P (insn)"))) (const_string "true") (const_string "false"))) @@ -140,7 +143,8 @@ ;; delay slot. (define_attr "in_call_delay" "false,true" (cond [(and (eq_attr "type" "!uncond_branch,btable_branch,branch,cbranch,fbranch,call,dyncall,multi,milli,parallel_branch") - (eq_attr "length" "4")) + (eq_attr "length" "4") + (not (match_test "RTX_FRAME_RELATED_P (insn)"))) (const_string "true") (eq_attr "type" "uncond_branch") (if_then_else (match_test "TARGET_JUMP_IN_DELAY") |