-
- Downloads
Makefile.in (targhooks.o, reload.o): Update dependencies.
* Makefile.in (targhooks.o, reload.o): Update dependencies. (GTFILES): Add targhooks.c. (gt-targhooks.h): New rule; depend on s-gtype. * target.h (direct_pool_load_p): New hook. * target-def.h (TARGET_DIRECT_POOL_LOAD_P): New macro. (TARGET_INITIALIZER): Include it. * targhooks.h (default_direct_pool_load_p): Declare. (hook_bool_machine_mode_true): Declare. * targhooks.c: Include insn-config.h, recog.h, ggc.h and gt-targhooks.h. (pool_symbol): New variable. (default_direct_pool_load_p): New function. (hook_bool_machine_mode_true): New function. * reload.c: Include target.h. (find_reloads): If an alternative will force a constant into memory, count an extra reload if constant pool symbols are not valid addresses. If an alternative uses memory to move values between registers, count the move as two reloads rather than one. * config/s390/s390.c (TARGET_DIRECT_POOL_LOAD_P): Define. * doc/tm.texi (TARGET_DIRECT_POOL_LOAD_P): Document. From-SVN: r73196
Showing
- gcc/ChangeLog 23 additions, 0 deletionsgcc/ChangeLog
- gcc/Makefile.in 5 additions, 4 deletionsgcc/Makefile.in
- gcc/config/s390/s390.c 2 additions, 0 deletionsgcc/config/s390/s390.c
- gcc/doc/tm.texi 13 additions, 0 deletionsgcc/doc/tm.texi
- gcc/reload.c 21 additions, 0 deletionsgcc/reload.c
- gcc/target-def.h 3 additions, 0 deletionsgcc/target-def.h
- gcc/target.h 2 additions, 0 deletionsgcc/target.h
- gcc/targhooks.c 39 additions, 0 deletionsgcc/targhooks.c
- gcc/targhooks.h 3 additions, 0 deletionsgcc/targhooks.h
Loading
Please register or sign in to comment