From b4c0db25786e91c57903bd5c2387ab98907d5523 Mon Sep 17 00:00:00 2001 From: Kyrylo Tkachov Date: Fri, 27 Apr 2018 08:48:49 +0000 Subject: [PATCH] [AArch64] PR target/85512: Tighten SIMD right shift immediate constraints pt2 PR target/85512 * config/aarch64/constraints.md (Usg): Limit to 31. (Usj): Limit to 63. From-SVN: r259699 --- gcc/ChangeLog | 6 ++++++ gcc/config/aarch64/constraints.md | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 723f85b..8e4bfac 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-04-27 Kyrylo Tkachov + + PR target/85512 + * config/aarch64/constraints.md (Usg): Limit to 31. + (Usj): Limit to 63. + 2018-04-27 Jakub Jelinek PR tree-optimization/85529 diff --git a/gcc/config/aarch64/constraints.md b/gcc/config/aarch64/constraints.md index b5da997..32a0fa6 100644 --- a/gcc/config/aarch64/constraints.md +++ b/gcc/config/aarch64/constraints.md @@ -158,14 +158,14 @@ A constraint that matches an immediate right shift constant in SImode suitable for a SISD instruction." (and (match_code "const_int") - (match_test "IN_RANGE (ival, 1, 32)"))) + (match_test "IN_RANGE (ival, 1, 31)"))) (define_constraint "Usj" "@internal A constraint that matches an immediate right shift constant in DImode suitable for a SISD instruction." (and (match_code "const_int") - (match_test "IN_RANGE (ival, 1, 64)"))) + (match_test "IN_RANGE (ival, 1, 63)"))) (define_constraint "UsM" "@internal -- 2.7.4