diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2016-04-25 11:00:10 +0200 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2016-05-11 09:04:49 +0000 |
commit | d4076f8a99a6ffe8d575c67fc4afe22befe04297 (patch) | |
tree | a91e89302999d2fb32867436bc9cf5fe9cd0728e | |
parent | ae5a2afb9ea02cd7a6d36ec49b6e7ddd7e4182fb (diff) |
gcc/
Backport from trunk r234685.
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.
Change-Id: I6c2d38abfecf7906afa97d47e6efcf3e967659f2
-rw-r--r-- | gcc/config/aarch64/predicates.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/aarch64/predicates.md b/gcc/config/aarch64/predicates.md index fe649041017..38631f9f0c0 100644 --- a/gcc/config/aarch64/predicates.md +++ b/gcc/config/aarch64/predicates.md @@ -303,7 +303,7 @@ }) (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)"))))) |