re PR target/58219 ([SH] mov.l insn length is wrong on SH2A)
gcc/ PR target/58219 * config/sh/predicates.md (long_displacement_mem_operand): New. * config/sh/sh.md (movsi_i): Allow for SH2A, disallow for any FPU. Add movi20, movi20s alternatives. Adjust length attribute for alternatives. (movsi_ie): Allow for any FPU. Adjust length attribute for alternatives. (movsi_i_lowpart): Add movi20, movi20s alternatives. Adjust length attribute for alternatives. (*mov<mode>): Use long_displacement_mem_operand for length attribute. (*movdi_i, movdf_k, movdf_i4, movsf_i, movsf_ie, movsf_ie_ra): Adjust length attribute for alternatives. gcc/testsuite/ PR target/58219 *gcc.target/sh/pr58219.c: New tests. From-SVN: r235954
Showing
This diff is collapsed.
Click to expand it.
gcc/testsuite/gcc.target/sh/pr58219.c
0 → 100644
Please
register
or
sign in
to comment