This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] New port of Cell SPU


	This update looks much better.  I hope that a GWP will approve
this patch soon.

	There are two issues in predicates.md that are not critical, but
should be cleaned up.  It is important for predicates generation to have
closure on the valid codes.  "branch_comparison_operator" is written a
little awkwardly and probably should be changed to

(define_predicate "branch_comparison_operator"
  (and (match_code "eq,ne")
       (ior (match_test "GET_MODE (XEXP (op, 0)) == HImode")
           (match_test "GET_MODE (XEXP (op, 0)) == SImode"))))

"call_operand" needs match_code statements, proably "reg" and "synbol_ref"
applied appropriately.

Thanks, David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]