diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2014-02-12 01:05:48 +0100 |
---|---|---|
committer | Christoph Muellner <christoph.muellner@theobroma-systems.com> | 2018-04-27 10:16:19 +0200 |
commit | 00ea0fbb71a348505b2ba0b9ba073962da5383d3 (patch) | |
tree | bfb790d8c54527401bd6423c304fe192f2b0fe00 | |
parent | d10b48c9527fe0bcd5f35cb4086712fdb74056d4 (diff) |
aarch64: Correct the maximum shift amount for shifted operands.
-rw-r--r-- | gcc/config/aarch64/aarch64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 95570c229d7b..3ff8e65ba6da 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -5888,7 +5888,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) |