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]

Re: [PATCH] Sparc block profiling fixes (take 2)


On Mon, Dec 13, 1999 at 01:31:18PM +0100, Jakub Jelinek wrote:
> 	* config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
> 	(CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
> 	not %g2.
> 	(MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
> 	as sparc64 block profiling register.
> 	* config/sparc/sparc.c (sparc_override_options): Allow block
> 	profiling with -m32.
> 	(sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
> 	profiling register.
> 	* config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
> 	macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
> 	* config/sparc/sol2.h (MACHINE_STATE_*): Likewise.

Ok.


r~


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