re PR target/54760 ([SH] Add __builtin_thread_pointer, __builtin_set_thread_pointer)
PR target/54760 * config/sh/sh.c (sh_find_base_reg_disp): Stop searching insns when hitting a call insn if GBR is marked as call used. * config/sh/iterators.md (QIHISIDI): New mode iterator. * config/sh/predicates.md (gbr_address_mem): New predicate. * config/sh/sh.md (*movdi_gbr_load, *movdi_gbr_store): New insn_and_split. Use QIHISIDI instead of QIHISI in unnamed GBR addressing splits. PR target/54760 * gcc.target/sh/pr54760-2.c: Add long long and unsigned long long test functions. * gcc.target/sh/pr54760-4.c: New. From-SVN: r192480
Showing
This diff is collapsed.
Click to expand it.
gcc/testsuite/gcc.target/sh/pr54760-4.c
0 → 100644
Please
register
or
sign in
to comment