diff options
author | Yvan Roux <yvan.roux@linaro.org> | 2017-03-17 14:26:13 +0100 |
---|---|---|
committer | Yvan Roux <yvan.roux@linaro.org> | 2017-04-04 06:51:40 +0000 |
commit | aff693fe231cf4f1c3b7e8fdd97b8c76bbf85299 (patch) | |
tree | 2c37b19c275346f67c1990737a27699db3f9f1a6 | |
parent | f00d954d3a6a6c070dbd29bf37c5982ef21f0946 (diff) |
gcc/
Backport from trunk r245877.
2017-03-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/aarch64.c (aarch64_float_const_representable_p):
Use wide_int::ulow () instead of .elt (0).
Change-Id: I4c65cf7ac10e3c553dff55ae9806ef75b2e44ff7
-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 fb5a020510d..d7d6683f5d3 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -12134,7 +12134,7 @@ aarch64_float_const_representable_p (rtx x) /* If the low part of the mantissa has bits set we cannot represent the value. */ - if (w.elt (0) != 0) + if (w.ulow () != 0) return false; /* We have rejected the lower HOST_WIDE_INT, so update our understanding of how many bits lie in the mantissa and |