This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[AArch64 04/14] Correct the maximum shift amount for shifted operands.
- From: Philipp Tomsich <philipp dot tomsich at theobroma-systems dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: philipp dot tomsich at theobroma-systems dot com
- Date: Tue, 18 Feb 2014 22:09:37 +0100
- Subject: [AArch64 04/14] Correct the maximum shift amount for shifted operands.
- Authentication-results: sourceware.org; auth=none
- References: <1392757787-25629-1-git-send-email-philipp dot tomsich at theobroma-systems dot com>
---
gcc/config/aarch64/aarch64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 43e4612..4327eb3 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -4409,7 +4409,7 @@ aarch64_output_casesi (rtx *operands)
int
aarch64_uxt_size (int shift, HOST_WIDE_INT mask)
{
- if (shift >= 0 && shift <= 3)
+ if (shift >= 0 && shift <= 4)
{
int size;
for (size = 8; size <= 32; size *= 2)
--
1.9.0