diff options
author | Oleg Endo <olegendo@gcc.gnu.org> | 2012-10-15 22:04:37 +0000 |
---|---|---|
committer | Oleg Endo <olegendo@gcc.gnu.org> | 2012-10-15 22:04:37 +0000 |
commit | 14df3f361e5aaa4145ab242886e3a857d4ae078c (patch) | |
tree | 0e4d00759d8ddfb538c6aca0b82c0bfa1c6bbde8 /gcc/expr.c | |
parent | 845f4111764265237c4554fae4219691b976cb7a (diff) | |
download | gcc-14df3f361e5aaa4145ab242886e3a857d4ae078c.zip gcc-14df3f361e5aaa4145ab242886e3a857d4ae078c.tar.gz gcc-14df3f361e5aaa4145ab242886e3a857d4ae078c.tar.bz2 |
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
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions