diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-22 19:35:10 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-22 19:35:10 +0000 |
commit | a50372fe702cabfa8fb6a8e3a82da919ca720cda (patch) | |
tree | e448736a4d2079d8b2bb7d5d43e46d716b00478c /gcc/target.def | |
parent | 502904119dcbe9c75e8f3d48f8306a56c6835618 (diff) | |
download | gcc-a50372fe702cabfa8fb6a8e3a82da919ca720cda.tar.gz |
New -fcompare-elim pass.
Version 3, with two rounds of comments from Paolo Bonzini.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169131 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.def')
-rw-r--r-- | gcc/target.def | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/target.def b/gcc/target.def index bdd76621a6b..57134cbc611 100644 --- a/gcc/target.def +++ b/gcc/target.def @@ -1638,6 +1638,15 @@ DEFHOOK bool, (enum machine_mode mode), hook_bool_mode_false) +/* Register number for a flags register. Only needs to be defined if the + target is constrainted to use post-reload comparison elimination. */ +DEFHOOKPOD +(flags_regnum, + "If the target has a dedicated flags register, and it needs to use the\ + post-reload comparison elimination pass, then this value should be set\ + appropriately.", + unsigned int, INVALID_REGNUM) + /* Compute a (partial) cost for rtx X. Return true if the complete cost has been computed, and false if subexpressions should be scanned. In either case, *TOTAL contains the cost result. */ |