This is the mail archive of the gcc-cvs@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]

r181853 - in /trunk/gcc: ChangeLog config/sparc...


Author: rth
Date: Wed Nov 30 16:10:24 2011
New Revision: 181853

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181853
Log:
sparc: Add -mmemory-model command-line option.

	* config/sparc/sparc-opts.h (enum sparc_memory_model_type): New.
	* config/sparc/sparc.opt (mmemory-model=): New option.
	* doc/invoke.texi (Sparc Options): Document it.
	* config/sparc/sparc.c (sparc_option_override): Provide default
	for sparc_memory_model.
	(sparc_emit_membar_for_model): Omit barrier combinations that are
	implied by the memory model.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sparc/sparc-opts.h
    trunk/gcc/config/sparc/sparc.c
    trunk/gcc/config/sparc/sparc.opt
    trunk/gcc/doc/invoke.texi


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