gcc/ * config/mips/mips-protos.h (mips_output_sync): Declare. (mips_sync_loop_insns): Likewise. (mips_output_sync_loop): Replace first two parameters with an rtx. * config/mips/mips.c (mips_multi_member): New structure. (mips_multi_members): New variable. (mips_multi_start): New function. (mips_multi_add): Likewise. (mips_multi_add_insn): Likewise. (mips_multi_add_label): Likewise. (mips_multi_last_index): Likewise. (mips_multi_copy_insn): Likewise. (mips_multi_set_operand): Likewise. (mips_multi_write): Likewise. (mips_print_operand_punctuation): Remove '%|' and '%-'. (mips_init_print_operand_punct): Update accordingly. (mips_start_ll_sc_sync_block): New function. (mips_end_ll_sc_sync_block): Likewise. (mips_output_sync): Likewise. (mips_sync_insn1_template): Likewise. (mips_sync_insn2_template): Likewise. (mips_get_sync_operand): Likewise. (mips_process_sync_loop): Likewise. (mips_output_sync_loop): Use mips_process_sync_loop. (mips_sync_loop_insns): New function. * config/mips/mips.h (MIPS_COMPARE_AND_SWAP): Delete. (MIPS_COMPARE_AND_SWAP_12): Likewise. (MIPS_COMPARE_AND_SWAP_12_ZERO_OP): Likewise. (MIPS_COMPARE_AND_SWAP_12_NONZERO_OP): Likewise. (MIPS_SYNC_OP, MIPS_SYNC_OP_12): Likewise. (MIPS_SYNC_OP_12_AND, MIPS_SYNC_OP_12_XOR): Likewise. (MIPS_SYNC_OLD_OP_12): Likewise. (MIPS_SYNC_OLD_OP_12_AND, MIPS_SYNC_OLD_OP_12_XOR): Likewise. (MIPS_SYNC_NEW_OP_12): Likewise. (MIPS_SYNC_NEW_OP_12_AND, MIPS_SYNC_NEW_OP_12_XOR): Likewise. (MIPS_SYNC_OLD_OP, MIPS_SYNC_NEW_OP): Likewise. (MIPS_SYNC_NAND, MIPS_SYNC_OLD_NAND, MIPS_SYNC_NEW_NAND): Likewise. (MIPS_SYNC_EXCHANGE, MIPS_SYNC_EXCHANGE_12): Likewise. (MIPS_SYNC_EXCHANGE_12_ZERO_OP): Likewise. (MIPS_SYNC_EXCHANGE_12_NONZER_OP): Likewise. * config/mips/mips.md (sync_mem): New attribute. (sync_oldval, sync_newval, sync_inclusive_mask): Likewise. (sync_exclusive_mask, sync_required_oldval): Likewise. (sync_insn1_op2, sync_insn1, sync_insn2): Likewise. (sync_release_barrier): Likewise. (length): Handle sync loops. (sync): Use mips_output_sync. * config/mips/sync.md (*memory_barrier): Use mips_output_sync. (sync_compare_and_swap<mode>): Set the new sync_* attributes and use mips_output_sync_loop. (compare_and_swap_12, sync_add<mode>, sync_<optab>_12): Likewise. (sync_old_<optab>_12, sync_new_<optab>_12, sync_nand_12): Likewise. (sync_old_nand_12, sync_new_nand_12, sync_sub<mode>): Likewise. (sync_old_add<mode>, sync_old_sub<mode>): Likewise. (sync_new_add<mode>, sync_new_sub<mode>): Likewise. (sync_<optab><mode>, sync_old_<optab><mode>): Likewise. (sync_new_<optab><mode>, sync_nand<mode>): Likewise. (sync_old_nand<mode>, sync_new_nand<mode>): Likewise. (sync_lock_test_and_set<mode>, test_and_set_12): Likewise. From-SVN: r151128
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
alpha | Loading commit data... | |
arc | Loading commit data... | |
arm | Loading commit data... | |
avr | Loading commit data... | |
bfin | Loading commit data... | |
cris | Loading commit data... | |
crx | Loading commit data... | |
fr30 | Loading commit data... | |
frv | Loading commit data... | |
h8300 | Loading commit data... | |
i386 | Loading commit data... | |
ia64 | Loading commit data... | |
iq2000 | Loading commit data... | |
m32c | Loading commit data... | |
m32r | Loading commit data... | |
m68hc11 | Loading commit data... | |
m68k | Loading commit data... | |
mcore | Loading commit data... | |
mep | Loading commit data... | |
mips | Loading commit data... | |
mmix | Loading commit data... | |
mn10300 | Loading commit data... | |
moxie | Loading commit data... | |
pa | Loading commit data... | |
pdp11 | Loading commit data... | |
picochip | Loading commit data... | |
rs6000 | Loading commit data... | |
s390 | Loading commit data... | |
score | Loading commit data... | |
sh | Loading commit data... | |
soft-fp | Loading commit data... | |
sparc | Loading commit data... | |
spu | Loading commit data... | |
stormy16 | Loading commit data... | |
v850 | Loading commit data... | |
vax | Loading commit data... | |
vms | Loading commit data... | |
xtensa | Loading commit data... | |
README | Loading commit data... | |
darwin-64.c | Loading commit data... | |
darwin-c.c | Loading commit data... | |
darwin-crt2.c | Loading commit data... | |
darwin-crt3.c | Loading commit data... | |
darwin-driver.c | Loading commit data... | |
darwin-f.c | Loading commit data... | |
darwin-ppc-ldouble-patch.def | Loading commit data... | |
darwin-protos.h | Loading commit data... | |
darwin-sections.def | Loading commit data... | |
darwin.c | Loading commit data... | |
darwin.h | Loading commit data... | |
darwin.opt | Loading commit data... | |
darwin9.h | Loading commit data... | |
dbx.h | Loading commit data... | |
dbxcoff.h | Loading commit data... | |
dbxelf.h | Loading commit data... | |
dfp-bit.c | Loading commit data... | |
dfp-bit.h | Loading commit data... | |
divmod.c | Loading commit data... | |
elfos.h | Loading commit data... | |
fixed-bit.c | Loading commit data... | |
fixed-bit.h | Loading commit data... | |
flat.h | Loading commit data... | |
floatunsidf.c | Loading commit data... | |
floatunsisf.c | Loading commit data... | |
floatunsitf.c | Loading commit data... | |
floatunsixf.c | 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-stdint.h | Loading commit data... | |
freebsd.h | Loading commit data... | |
glibc-stdint.h | Loading commit data... | |
gnu.h | Loading commit data... | |
gofast.h | Loading commit data... | |
host-darwin.c | Loading commit data... | |
host-darwin.h | Loading commit data... | |
host-hpux.c | Loading commit data... | |
host-linux.c | Loading commit data... | |
host-solaris.c | Loading commit data... | |
hpux-stdint.h | Loading commit data... | |
interix.h | Loading commit data... | |
interix3.h | Loading commit data... | |
kfreebsd-gnu.h | Loading commit data... | |
knetbsd-gnu.h | Loading commit data... | |
kopensolaris-gnu.h | Loading commit data... | |
libgcc-glibc.ver | Loading commit data... | |
linux.h | Loading commit data... | |
linux.opt | Loading commit data... | |
lynx.h | Loading commit data... | |
lynx.opt | Loading commit data... | |
memcmp.c | Loading commit data... | |
memcpy.c | Loading commit data... | |
memmove.c | Loading commit data... | |
memset.c | Loading commit data... | |
netbsd-aout.h | Loading commit data... | |
netbsd-elf.h | Loading commit data... | |
netbsd.h | Loading commit data... | |
newlib-stdint.h | Loading commit data... | |
openbsd-oldgas.h | Loading commit data... | |
openbsd.h | Loading commit data... | |
print-sysroot-suffix.sh | Loading commit data... | |
rtems.h | Loading commit data... | |
sol2-10.h | Loading commit data... | |
sol2-c.c | Loading commit data... | |
sol2-protos.h | Loading commit data... | |
sol2.c | Loading commit data... | |
sol2.h | Loading commit data... | |
svr3.h | Loading commit data... | |
svr4.h | Loading commit data... | |
sync.c | Loading commit data... | |
t-darwin | Loading commit data... | |
t-dfprules | Loading commit data... | |
t-freebsd | Loading commit data... | |
t-freebsd-thread | Loading commit data... | |
t-gnu | Loading commit data... | |
t-libc-ok | Loading commit data... | |
t-libgcc-pic | Loading commit data... | |
t-libunwind | Loading commit data... | |
t-libunwind-elf | Loading commit data... | |
t-linux | Loading commit data... | |
t-lynx | 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-darwin | Loading commit data... | |
t-slibgcc-elf-ver | Loading commit data... | |
t-slibgcc-nolc-override | Loading commit data... | |
t-slibgcc-sld | Loading commit data... | |
t-sol2 | Loading commit data... | |
t-svr4 | Loading commit data... | |
t-sysroot-suffix | 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... | |
vx-common.h | Loading commit data... | |
vxlib-tls.c | Loading commit data... | |
vxlib.c | Loading commit data... | |
vxworks-dummy.h | Loading commit data... | |
vxworks.c | Loading commit data... | |
vxworks.h | Loading commit data... | |
vxworks.opt | Loading commit data... | |
vxworksae.h | Loading commit data... | |
x-cflags-O1 | Loading commit data... | |
x-darwin | Loading commit data... | |
x-hpux | Loading commit data... | |
x-linux | Loading commit data... | |
x-solaris | Loading commit data... |