r115055 - in /trunk/gcc: ChangeLog genpreds.c
sayle@gcc.gnu.org
sayle@gcc.gnu.org
Wed Jun 28 19:42:00 GMT 2006
Author: sayle
Date: Wed Jun 28 19:42:04 2006
New Revision: 115055
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115055
Log:
* 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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/genpreds.c
More information about the Gcc-cvs
mailing list