This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Sparc block profiling fixes (take 2)
- To: Jakub Jelinek <jakub at redhat dot com>
- Subject: Re: [PATCH] Sparc block profiling fixes (take 2)
- From: Richard Henderson <rth at cygnus dot com>
- Date: Tue, 14 Dec 1999 03:58:12 -0800
- Cc: "David S. Miller" <davem at redhat dot com>, "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, gcc-patches at gcc dot gnu dot org
- References: <199912122025.PAA05718@caip.rutgers.edu> <19991213123413.E822@mff.cuni.cz> <19991213133118.F822@mff.cuni.cz>
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~