Fix the predicate "aarch64_simd_reg_or_zero" to correctly validate the
"Y" constraint (scalar FP 0.0 immediate).
* gcc/config/aarch64/predicates.md (aarch64_simd_reg_or_zero):
Add the "const_double" to the list of operand constraints.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234685
138bc75d-0d04-0410-961f-
82ee72b054a4
+2016-03-31 Evandro Menezes <e.menezes@samsung.com>
+
+ Fix the predicate "aarch64_simd_reg_or_zero" to correctly validate
+ the "Y" constraint (scalar FP 0.0 immediate).
+
+ * gcc/config/aarch64/predicates.md (aarch64_simd_reg_or_zero):
+ Add the "const_double" to the list of operand constraints.
+
2016-04-01 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/70467
})
(define_predicate "aarch64_simd_reg_or_zero"
- (and (match_code "reg,subreg,const_int,const_vector")
+ (and (match_code "reg,subreg,const_int,const_double,const_vector")
(ior (match_operand 0 "register_operand")
(ior (match_test "op == const0_rtx")
(match_test "aarch64_simd_imm_zero_p (op, mode)")))))