This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch] MIPS: Factor atomic memory operations into their own .md file.


This is a very mechanical patch that moves 527 lines of code from
mips.md to a new file sync.md.  I discussed this with Richard when
working on the atomic memory operations, and finally got around to doing it.

I am attaching the patch gzipped as it is over 1000 lines long and not
very interesting.

Bootstrapped and tested on mipsel-linux.

OK to commit?

2008-08-23  David Daney  <ddaney@avtrex.com>

	* config/mips/mips.md (fetchop_bit, immediate_insn, atomic_hiqi_op
	memory_barrier, sync_compare_and_swap<mode>,
	compare_and_swap_12, sync_add<mode>, sync_<optab><mode>,
	sync_<optab>_12, sync_old_<optab><mode>, sync_old_<optab>_12,
	sync_new_<optab><mode>, sync_new_<optab>_12, sync_nand<mode>,
	sync_nand_12, sync_old_nand<mode>, sync_old_nand_12,
	sync_new_nand<mode>, sync_new_nand_12, sync_sub<mode>,
	sync_old_add<mode>, sync_old_sub<mode>, sync_new_add<mode>,
	sync_new_sub<mode>, sync_<optab><mode>, sync_old_<optab><mode>,
	sync_new_<optab><mode>, sync_nand<mode>, sync_old_nand<mode>,
	sync_new_nand<mode>, sync_lock_test_and_set<mode>,
	sync_lock_test_and_set<mode>, test_and_set_12):  Moved to sync.md.
	(sync.md): Include.
	* config/mips/sync.md: New file.

Attachment: seperate_sync.diff.gz
Description: GNU Zip compressed data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]