From: Naveen H.S Date: Tue, 7 May 2013 12:20:24 +0000 (+0000) Subject: AArch64: Restrict the shift value in compare extended shift operation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4095f9fa677f86c2471eb841c45a228ed2297888;p=gcc.git AArch64: Restrict the shift value in compare extended shift operation 2013-05-07 Naveen H.S * config/aarch64/aarch64.md (cmp_swp__shft_): Restrict the shift value between 0-4. From-SVN: r198677 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0dc66003fb4..44a600898bc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2013-05-07 Naveen H.S + + * config/aarch64/aarch64.md + (cmp_swp__shft_): Restrict the + shift value between 0-4. + 2013-05-07 Richard Biener * double-int.h (rshift): New overload. diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index 365bb23d33f..797cc9b02cc 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -2349,7 +2349,7 @@ (compare:CC_SWP (ashift:GPI (ANY_EXTEND:GPI (match_operand:ALLX 0 "register_operand" "r")) - (match_operand:QI 1 "aarch64_shift_imm_" "n")) + (match_operand 1 "aarch64_imm3" "Ui3")) (match_operand:GPI 2 "register_operand" "r")))] "" "cmp\\t%2, %0, xt %1"