Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/spu/predicates.md @ 47:3bfb6c00c1e0
update it from 4.4.2 to 4.4.3.
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 07 Feb 2010 17:44:34 +0900 |
parents | a06113de4d67 |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
46:b85a337e5837 | 47:3bfb6c00c1e0 |
---|---|
37 (define_predicate "spu_nonmem_operand" | 37 (define_predicate "spu_nonmem_operand" |
38 (and (match_operand 0 "nonmemory_operand") | 38 (and (match_operand 0 "nonmemory_operand") |
39 (ior (not (match_code "subreg")) | 39 (ior (not (match_code "subreg")) |
40 (match_test "valid_subreg (op)")))) | 40 (match_test "valid_subreg (op)")))) |
41 | 41 |
42 (define_predicate "spu_mem_operand" | 42 (define_predicate "spu_mov_operand" |
43 (and (match_operand 0 "memory_operand") | 43 (ior (match_operand 0 "memory_operand") |
44 (match_test "reload_in_progress || reload_completed || aligned_mem_p (op)"))) | 44 (match_operand 0 "spu_nonmem_operand"))) |
45 | 45 |
46 (define_predicate "spu_mov_operand" | 46 (define_predicate "spu_dest_operand" |
47 (ior (match_operand 0 "spu_mem_operand") | 47 (ior (match_operand 0 "memory_operand") |
48 (match_operand 0 "spu_nonmem_operand"))) | 48 (match_operand 0 "spu_reg_operand"))) |
49 | 49 |
50 (define_predicate "call_operand" | 50 (define_predicate "call_operand" |
51 (and (match_code "mem") | 51 (and (match_code "mem") |
52 (match_test "(!TARGET_LARGE_MEM && satisfies_constraint_S (op)) | 52 (match_test "(!TARGET_LARGE_MEM && satisfies_constraint_S (op)) |
53 || (satisfies_constraint_R (op) | 53 || (satisfies_constraint_R (op) |
102 (define_predicate "branch_comparison_operator" | 102 (define_predicate "branch_comparison_operator" |
103 (and (match_code "eq,ne") | 103 (and (match_code "eq,ne") |
104 (ior (match_test "GET_MODE (XEXP (op, 0)) == HImode") | 104 (ior (match_test "GET_MODE (XEXP (op, 0)) == HImode") |
105 (match_test "GET_MODE (XEXP (op, 0)) == SImode")))) | 105 (match_test "GET_MODE (XEXP (op, 0)) == SImode")))) |
106 | 106 |
107 (define_predicate "spu_inv_exp2_operand" | |
108 (and (match_code "const_double,const_vector") | |
109 (and (match_operand 0 "immediate_operand") | |
110 (match_test "exp2_immediate_p (op, mode, -126, 0)")))) | |
111 | |
112 (define_predicate "spu_exp2_operand" | |
113 (and (match_code "const_double,const_vector") | |
114 (and (match_operand 0 "immediate_operand") | |
115 (match_test "exp2_immediate_p (op, mode, 0, 127)")))) | |
116 | |
117 (define_predicate "shiftrt_operator" | |
118 (match_code "lshiftrt,ashiftrt")) | |
119 | |
120 (define_predicate "extend_operator" | |
121 (match_code "sign_extend,zero_extend")) | |
122 |