OSDN Git Service

* genpreds.c (generate_switch_p): New function.
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Jun 2006 19:42:04 +0000 (19:42 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Jun 2006 19:42:04 +0000 (19:42 +0000)
commit868178ed23a665de048617ed9c8871242c2e6953
tree1b7a5428f281a483e6b154d91478e0ba051645df
parent95dbac6b87d2a80cb80d89c4dd95008f51d433f1
* genpreds.c (generate_switch_p): New function.
(add_mode_tests): Push the new mode test down inside an AND expr
if this allows the switch-suitable MATCH_CODE to be near the root.
(write_match_code_switch): New function to write a MATCH_CODE as
a switch statement.
(write_predicate_stmts): New function to write a predicate RTX
expression as a sequence of statements.
(write_one_predicate_function): Use write_predicate_stmts.
(write_tm_constrs_h): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115055 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/genpreds.c