diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fc88c85a4a6..98fc25ee90f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2017-11-01 Richard Sandiford + Alan Hayward + David Sherwood + + * config/aarch64/constraints.md (Upl): Rename to... + (Uaa): ...this. + * config/aarch64/aarch64.md + (*zero_extend2_aarch64, *addsi3_aarch64_uxtw): + Update accordingly. + 2017-11-01 Richard Sandiford Alan Hayward David Sherwood diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index bbd5174df75..ce75cf4171d 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -1562,7 +1562,7 @@ (match_operand:GPI 0 "register_operand" "=rk,rk,w,rk,r") (plus:GPI (match_operand:GPI 1 "register_operand" "%rk,rk,w,rk,rk") - (match_operand:GPI 2 "aarch64_pluslong_operand" "I,r,w,J,Upl")))] + (match_operand:GPI 2 "aarch64_pluslong_operand" "I,r,w,J,Uaa")))] "" "@ add\\t%0, %1, %2 @@ -1580,7 +1580,7 @@ (match_operand:DI 0 "register_operand" "=rk,rk,rk,r") (zero_extend:DI (plus:SI (match_operand:SI 1 "register_operand" "%rk,rk,rk,rk") - (match_operand:SI 2 "aarch64_pluslong_operand" "I,r,J,Upl"))))] + (match_operand:SI 2 "aarch64_pluslong_operand" "I,r,J,Uaa"))))] "" "@ add\\t%w0, %w1, %2 diff --git a/gcc/config/aarch64/constraints.md b/gcc/config/aarch64/constraints.md index 77c510cea0d..77ca85d929a 100644 --- a/gcc/config/aarch64/constraints.md +++ b/gcc/config/aarch64/constraints.md @@ -35,7 +35,7 @@ (and (match_code "const_int") (match_test "aarch64_uimm12_shift (ival)"))) -(define_constraint "Upl" +(define_constraint "Uaa" "@internal A constant that matches two uses of add instructions." (and (match_code "const_int") (match_test "aarch64_pluslong_strict_immedate (op, VOIDmode)")))