From fbadafbc20492db9c7ac0bb5bd541d72efeff9d7 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 10 Jan 2003 15:54:34 -0800 Subject: [PATCH] alpha.h (NO_PROFILE_COUNTERS): Set. * config/alpha/alpha.h (NO_PROFILE_COUNTERS): Set. (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Kill. From-SVN: r61179 --- gcc/ChangeLog | 5 +++++ gcc/config/alpha/alpha.h | 20 ++++---------------- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 76dcc2efa3a..978cfc8d73d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-01-10 Richard Henderson + + * config/alpha/alpha.h (NO_PROFILE_COUNTERS): Set. + (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Kill. + 2003-01-10 Richard Henderson * combine.c (make_compound_operation): Use SCALAR_INT_MODE_P, diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index 2873d157eff..24550f4d634 100644 --- a/gcc/config/alpha/alpha.h +++ b/gcc/config/alpha/alpha.h @@ -1210,6 +1210,10 @@ extern struct alpha_compare alpha_compare; #define PROFILE_BEFORE_PROLOGUE 1 +/* Never use profile counters. */ + +#define NO_PROFILE_COUNTERS 1 + /* Output assembler code to FILE to increment profiler label # LABELNO for profiling a function entry. Under OSF/1, profiling is enabled by simply passing -pg to the assembler and linker. */ @@ -1809,22 +1813,6 @@ do { \ } \ while (0) -/* This is how to output an insn to push a register on the stack. - It need not be very fast code. */ - -#define ASM_OUTPUT_REG_PUSH(FILE,REGNO) \ - fprintf (FILE, "\tsubq $30,8,$30\n\tst%s $%s%d,0($30)\n", \ - (REGNO) > 32 ? "t" : "q", (REGNO) > 32 ? "f" : "", \ - (REGNO) & 31); - -/* This is how to output an insn to pop a register from the stack. - It need not be very fast code. */ - -#define ASM_OUTPUT_REG_POP(FILE,REGNO) \ - fprintf (FILE, "\tld%s $%s%d,0($30)\n\taddq $30,8,$30\n", \ - (REGNO) > 32 ? "t" : "q", (REGNO) > 32 ? "f" : "", \ - (REGNO) & 31); - /* This is how to output an element of a case-vector that is absolute. (Alpha does not use such vectors, but we must define this macro anyway.) */ -- 2.30.2