diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2017-12-28 20:42:43 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2017-12-28 20:42:43 +0000 |
commit | ec8a1b8d931ccdfa87d712028226a03ff17f6cef (patch) | |
tree | 7817dbb1de82a324fd7024ff21ee7c158bedbbcc /gcc/convert.c | |
parent | af2e447568c939acf8c55eea529b2ac85c5753a7 (diff) |
[rs6000] Use gen_int_mode in ieee_128bit_negative_zero
Previously we'd generate a non-canonical zero-extended CONST_INT
instead of a sign-extended one, which tripped the assert for
canonical CONST_INTs after a later patch.
2017-12-28 Richard Sandiford <richard.sandiford@linaro.org>
gcc/
* config/powerpcspe/powerpcspe.md (ieee_128bit_negative_zero): Use
gen_int_mode rather than GEN_INT.
* config/rs6000/rs6000.md (ieee_128bit_negative_zero): Likewise.
From-SVN: r256024
Diffstat (limited to 'gcc/convert.c')
0 files changed, 0 insertions, 0 deletions