[AArch64] Extra scalar_float_mode patch
In preparation for the switch to NUM_POLY_INT_COEFFS==2. 2018-01-11 Richard Sandiford <richard.sandiford@linaro.org> gcc/ * config/aarch64/aarch64.c (aarch64_reinterpret_float_as_int): Use scalar_float_mode. From-SVN: r256531
This commit is contained in:
parent
f3bd950563
commit
0d0e0188d8
@ -1,3 +1,8 @@
|
||||
2018-01-11 Richard Sandiford <richard.sandiford@linaro.org>
|
||||
|
||||
* config/aarch64/aarch64.c (aarch64_reinterpret_float_as_int):
|
||||
Use scalar_float_mode.
|
||||
|
||||
2018-01-11 Richard Sandiford <richard.sandiford@linaro.org>
|
||||
|
||||
* config/aarch64/aarch64-simd.md
|
||||
|
@ -4806,9 +4806,9 @@ aarch64_reinterpret_float_as_int (rtx value, unsigned HOST_WIDE_INT *intval)
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user