s390.c (legitimize_pic_address): Access local symbols relative to the GOT instead of relative to the literal... * config/s390/s390.c (legitimize_pic_address): Access local symbols relative to the GOT instead of relative to the literal pool base. (s390_output_symbolic_const): Handle new GOT-relative accesses. * config/s390/s390.md ("call"): Access local functions and PLT stubs relative to the GOT instead of relative to the literal pool base. ("call_value"): Likewise. ("call_value_tls"): Likewise. * config/s390/s390.c (s390_chunkify_start): Remove pool anchor reloading. Support LTREL_BASE / LTREL_OFFSET construct. (s390_chunkify_finish): Likewise. (s390_chunkify_cancel): Likewise. (s390_reorg): Adapt caller. (find_base_register_in_addr, find_base_register_ref, replace_base_register_ref): Delete. (find_ltrel_base, replace_ltrel_base): New functions. (find_constant_pool_ref): Handle LTREL_BASE unspecs. (s390_decompose_address): Handle LTREL_BASE unspecs. Optimize base vs. index register usage. (struct constant_pool): Remove 'anchor'. (s390_add_anchor): Delete. (s390_dump_pool): Remove anchor handling. * config/s390/s390.md ("reload_anchor"): Remove. * config/s390/s390.c (s390_split_branches): Use LTREL_BASE/OFFSET. (s390_load_got): New function. Use LTREL_BASE/OFFSET. (s390_emit_prologue): Use it. * config/s390/s390.md ("builtin_longjmp", "builtin_setjmp_setup", "builtin_setjmp_receiver"): Cleanup. Use s390_load_got. Do not hard-code register 14. * config/s390/s390-protos.h (s390_load_got): Declare. * config/s390/s390.c (NR_C_MODES, constant_modes, gen_consttable): Support TImode constants. * config/s390/s390.md ("consttable_ti"): New. ("consttable_si", "consttable_di"): Handle TLS symbols correctly. * config/s390/s390.md (UNSPEC_LTREL_OFFSET, UNSPEC_LTREL_BASE, UNSPEC_GOTENT, UNSPEC_GOT, UNSPEC_GOTOFF, UNSPEC_PLT, UNSPEC_PLTOFF, UNSPEC_RELOAD_BASE, UNSPECV_POOL, UNSPECV_POOL_START, UNSPECV_POOL_END, UNSPECV_POOL_QI, UNSPECV_POOL_HI, UNSPECV_POOL_SI, UNSPECV_POOL_DI, UNSPECV_POOL_TI, UNSPECV_POOL_SF, UNSPECV_POOL_DF, UNSPECV_MAIN_POOL): New symbolic constants. ("consttable_qi", "consttable_hi", "consttable_si", "consttable_di", "consttable_sf", "consttable_df", "pool_start_31", "pool_end_31", "pool_start_64", "pool_end_64", "reload_base_31", "reload_base_64", "pool", "literal_pool_31", "literal_pool_64"): Cleanup. Use symbolic UNSPEC values. * config/s390/s390.c (larl_operand, s390_short_displacement, bras_sym_operand, s390_cannot_force_const_mem, s390_delegitimize_address, s390_decompose_address, legitimize_pic_address, s390_output_symbolic_const, s390_function_profiler): Use symbolic UNSPEC values. From-SVN: r69592
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
alpha | Loading commit data... | |
arc | Loading commit data... | |
arm | Loading commit data... | |
avr | Loading commit data... | |
c4x | Loading commit data... | |
cris | Loading commit data... | |
d30v | Loading commit data... | |
dsp16xx | Loading commit data... | |
fr30 | Loading commit data... | |
frv | Loading commit data... | |
h8300 | Loading commit data... | |
i370 | Loading commit data... | |
i386 | Loading commit data... | |
i960 | Loading commit data... | |
ia64 | Loading commit data... | |
ip2k | Loading commit data... | |
m32r | Loading commit data... | |
m68hc11 | Loading commit data... | |
m68k | Loading commit data... | |
mcore | Loading commit data... | |
mips | Loading commit data... | |
mmix | Loading commit data... | |
mn10300 | Loading commit data... | |
ns32k | Loading commit data... | |
pa | Loading commit data... | |
pdp11 | Loading commit data... | |
rs6000 | Loading commit data... | |
s390 | Loading commit data... | |
sh | Loading commit data... | |
sparc | Loading commit data... | |
stormy16 | Loading commit data... | |
v850 | Loading commit data... | |
vax | Loading commit data... | |
xtensa | Loading commit data... | |
README | Loading commit data... | |
chorus.h | Loading commit data... | |
darwin-c.c | Loading commit data... | |
darwin-crt2.c | Loading commit data... | |
darwin-protos.h | Loading commit data... | |
darwin.c | Loading commit data... | |
darwin.h | Loading commit data... | |
dbx.h | Loading commit data... | |
dbxcoff.h | Loading commit data... | |
dbxelf.h | Loading commit data... | |
divmod.c | Loading commit data... | |
elfos.h | Loading commit data... | |
fp-bit.c | Loading commit data... | |
fp-bit.h | Loading commit data... | |
freebsd-nthr.h | Loading commit data... | |
freebsd-spec.h | Loading commit data... | |
freebsd.h | Loading commit data... | |
freebsd3.h | Loading commit data... | |
freebsd4.h | Loading commit data... | |
freebsd5.h | Loading commit data... | |
freebsd6.h | Loading commit data... | |
gnu.h | Loading commit data... | |
gofast.h | Loading commit data... | |
interix.h | Loading commit data... | |
interix3.h | Loading commit data... | |
kaos.h | Loading commit data... | |
libgcc-glibc.ver | Loading commit data... | |
libgloss.h | Loading commit data... | |
linux-aout.h | Loading commit data... | |
linux.h | Loading commit data... | |
lynx-ng.h | Loading commit data... | |
lynx.h | Loading commit data... | |
netbsd-aout.h | Loading commit data... | |
netbsd-elf.h | Loading commit data... | |
netbsd.h | Loading commit data... | |
netware.h | Loading commit data... | |
openbsd-oldgas.h | Loading commit data... | |
openbsd.h | Loading commit data... | |
ptx4.h | Loading commit data... | |
rtems.h | Loading commit data... | |
sol2.h | Loading commit data... | |
svr3.h | Loading commit data... | |
svr4.h | Loading commit data... | |
t-darwin | Loading commit data... | |
t-freebsd | Loading commit data... | |
t-freebsd-thread | Loading commit data... | |
t-gnu | Loading commit data... | |
t-interix | Loading commit data... | |
t-libc-ok | Loading commit data... | |
t-libgcc-pic | Loading commit data... | |
t-libunwind | Loading commit data... | |
t-linux | Loading commit data... | |
t-linux-aout | Loading commit data... | |
t-linux-gnulibc1 | Loading commit data... | |
t-netbsd | Loading commit data... | |
t-openbsd | Loading commit data... | |
t-openbsd-thread | Loading commit data... | |
t-rtems | Loading commit data... | |
t-slibgcc-elf-ver | Loading commit data... | |
t-slibgcc-nolc-override | Loading commit data... | |
t-slibgcc-sld | Loading commit data... | |
t-svr4 | Loading commit data... | |
t-vxworks | Loading commit data... | |
tm-dwarf2.h | Loading commit data... | |
udivmod.c | Loading commit data... | |
udivmodsi4.c | Loading commit data... | |
usegas.h | Loading commit data... | |
vxlib.c | Loading commit data... | |
vxworks.h | Loading commit data... | |
x-interix | Loading commit data... |