aboutsummaryrefslogtreecommitdiff
path: root/gcc/target.def
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2011-01-22 11:35:10 -0800
committerRichard Henderson <rth@gcc.gnu.org>2011-01-22 11:35:10 -0800
commite692f27683b38733fedc67b62ddd5f41b9a9e0ed (patch)
treee448736a4d2079d8b2bb7d5d43e46d716b00478c /gcc/target.def
parent8a9adf2c8fde74d9789b01f5c35c0e652dd69a8a (diff)
downloadgcc-e692f27683b38733fedc67b62ddd5f41b9a9e0ed.zip
gcc-e692f27683b38733fedc67b62ddd5f41b9a9e0ed.tar.gz
gcc-e692f27683b38733fedc67b62ddd5f41b9a9e0ed.tar.bz2
New -fcompare-elim pass.
Version 3, with two rounds of comments from Paolo Bonzini. From-SVN: r169131
Diffstat (limited to 'gcc/target.def')
-rw-r--r--gcc/target.def9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/target.def b/gcc/target.def
index bdd7662..57134cb 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. */