arm: Fix arm {,u}subvdi4 and usubvsi4 expanders [PR94286]
The following testcase ICEs, because these expanders will happily create a SImode 0x80000000 CONST_INT, which is not valid RTL, as CONST_INTs need to be sign extended from the mode precision to full HWI. 2020-03-24 Jakub Jelinek <jakub@redhat.com> PR target/94286 * config/arm/arm.md (subvdi4, usubvsi4, usubvdi4): Use gen_int_mode instead of GEN_INT. * gcc.dg/pr94286.c: New test.
Showing
gcc/testsuite/gcc.dg/pr94286.c
0 → 100644
Please
register
or
sign in
to comment