Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/arm/predicates.md @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | 77e2b8dfacca |
children | f6334be47118 |
comparison
equal
deleted
inserted
replaced
56:3c8a44c06a95 | 63:b7f97abdc517 |
---|---|
91 (match_test "const_ok_for_arm (-INTVAL (op))"))) | 91 (match_test "const_ok_for_arm (-INTVAL (op))"))) |
92 | 92 |
93 (define_predicate "arm_not_immediate_operand" | 93 (define_predicate "arm_not_immediate_operand" |
94 (and (match_code "const_int") | 94 (and (match_code "const_int") |
95 (match_test "const_ok_for_arm (~INTVAL (op))"))) | 95 (match_test "const_ok_for_arm (~INTVAL (op))"))) |
96 | |
97 (define_predicate "const0_operand" | |
98 (and (match_code "const_int") | |
99 (match_test "INTVAL (op) == 0"))) | |
96 | 100 |
97 ;; Something valid on the RHS of an ARM data-processing instruction | 101 ;; Something valid on the RHS of an ARM data-processing instruction |
98 (define_predicate "arm_rhs_operand" | 102 (define_predicate "arm_rhs_operand" |
99 (ior (match_operand 0 "s_register_operand") | 103 (ior (match_operand 0 "s_register_operand") |
100 (match_operand 0 "arm_immediate_operand"))) | 104 (match_operand 0 "arm_immediate_operand"))) |
200 (define_special_predicate "arm_comparison_operator" | 204 (define_special_predicate "arm_comparison_operator" |
201 (ior (match_code "eq,ne,le,lt,ge,gt,geu,gtu,leu,ltu") | 205 (ior (match_code "eq,ne,le,lt,ge,gt,geu,gtu,leu,ltu") |
202 (and (match_test "TARGET_32BIT && TARGET_HARD_FLOAT | 206 (and (match_test "TARGET_32BIT && TARGET_HARD_FLOAT |
203 && (TARGET_FPA || TARGET_VFP)") | 207 && (TARGET_FPA || TARGET_VFP)") |
204 (match_code "unordered,ordered,unlt,unle,unge,ungt")))) | 208 (match_code "unordered,ordered,unlt,unle,unge,ungt")))) |
209 | |
210 (define_special_predicate "lt_ge_comparison_operator" | |
211 (match_code "lt,ge")) | |
205 | 212 |
206 (define_special_predicate "minmax_operator" | 213 (define_special_predicate "minmax_operator" |
207 (and (match_code "smin,smax,umin,umax") | 214 (and (match_code "smin,smax,umin,umax") |
208 (match_test "mode == GET_MODE (op)"))) | 215 (match_test "mode == GET_MODE (op)"))) |
209 | 216 |