Message ID | 878td4levf.fsf@linaro.org |
---|---|
State | New |
Headers | show |
Series | [committed,AArch64] Extra scalar_float_mode patch | expand |
Index: gcc/config/aarch64/aarch64.c =================================================================== --- gcc/config/aarch64/aarch64.c 2018-01-09 15:46:35.553405532 +0000 +++ gcc/config/aarch64/aarch64.c 2018-01-11 13:09:31.920887761 +0000 @@ -4806,9 +4806,9 @@ aarch64_reinterpret_float_as_int (rtx va return true; } - machine_mode mode = GET_MODE (value); + scalar_float_mode mode; if (GET_CODE (value) != CONST_DOUBLE - || !SCALAR_FLOAT_MODE_P (mode) + || !is_a <scalar_float_mode> (GET_MODE (value), &mode) || GET_MODE_BITSIZE (mode) > HOST_BITS_PER_WIDE_INT /* Only support up to DF mode. */ || GET_MODE_BITSIZE (mode) > GET_MODE_BITSIZE (DFmode))