Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/arm/vec-common.md @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | f6334be47118 |
comparison
equal
deleted
inserted
replaced
52:c156f1bd5cd9 | 55:77e2b8dfacca |
---|---|
36 [(set (match_operand:VALL 0 "nonimmediate_operand" "") | 36 [(set (match_operand:VALL 0 "nonimmediate_operand" "") |
37 (match_operand:VALL 1 "general_operand" ""))] | 37 (match_operand:VALL 1 "general_operand" ""))] |
38 "TARGET_NEON | 38 "TARGET_NEON |
39 || (TARGET_REALLY_IWMMXT && VALID_IWMMXT_REG_MODE (<MODE>mode))" | 39 || (TARGET_REALLY_IWMMXT && VALID_IWMMXT_REG_MODE (<MODE>mode))" |
40 { | 40 { |
41 if (can_create_pseudo_p ()) | |
42 { | |
43 if (GET_CODE (operands[0]) != REG) | |
44 operands[1] = force_reg (<MODE>mode, operands[1]); | |
45 else if (TARGET_NEON && CONSTANT_P (operands[1])) | |
46 { | |
47 operands[1] = neon_make_constant (operands[1]); | |
48 gcc_assert (operands[1] != NULL_RTX); | |
49 } | |
50 } | |
41 }) | 51 }) |
42 | 52 |
43 ;; Vector arithmetic. Expanders are blank, then unnamed insns implement | 53 ;; Vector arithmetic. Expanders are blank, then unnamed insns implement |
44 ;; patterns separately for IWMMXT and Neon. | 54 ;; patterns separately for IWMMXT and Neon. |
45 | 55 |