summaryrefslogtreecommitdiff
path: root/gcc/config/m88k
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-19 08:31:53 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-19 08:31:53 +0000
commit43db11ad50f05cc703462a0bc6ed18edde328452 (patch)
treeff15c2db487e701300fea79cf42cfc3ca364bb88 /gcc/config/m88k
parent7b4a38a6036e7a17bf0c302f77c31a6a27ab0ca9 (diff)
downloadgcc-43db11ad50f05cc703462a0bc6ed18edde328452.tar.gz
* system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE,
FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison. * toplev.c (display_help): Kill -a -ax help. * config/1750a/1750a.h, config/alpha/alpha.h, config/clipper/clipper.h, config/dsp16xx/dsp16xx.h, config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h, config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h: (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill. * libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill. * config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill. * config/i386/i386-protos.h (ix86_output_block_profiler): Kill. (ix86_output_function_block_profiler): Kill. * config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill. (m68hc11_function_block_profiler): Kill. * config/m68hc11/m68hc11-protos.h: Update. * config/m88k/m88k.c (output_block_profiler): Kill. (output_function_block_profiler): Kill. * config/m88k/m88k-protos.h: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53617 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m88k')
-rw-r--r--gcc/config/m88k/m88k-protos.h2
-rw-r--r--gcc/config/m88k/m88k.c67
-rw-r--r--gcc/config/m88k/m88k.h16
3 files changed, 0 insertions, 85 deletions
diff --git a/gcc/config/m88k/m88k-protos.h b/gcc/config/m88k/m88k-protos.h
index 89ab4ae8b09..9d121dace2c 100644
--- a/gcc/config/m88k/m88k-protos.h
+++ b/gcc/config/m88k/m88k-protos.h
@@ -86,8 +86,6 @@ extern void m88k_layout_frame PARAMS ((void));
extern void m88k_expand_prologue PARAMS ((void));
extern void m88k_expand_epilogue PARAMS ((void));
extern void output_function_profiler PARAMS ((FILE *, int, const char *, int));
-extern void output_function_block_profiler PARAMS ((FILE *, int));
-extern void output_block_profiler PARAMS ((FILE *, int));
extern void output_ascii PARAMS ((FILE *, const char *, int,
const char *, int));
extern void output_label PARAMS ((int));
diff --git a/gcc/config/m88k/m88k.c b/gcc/config/m88k/m88k.c
index 5fefab00790..7e3c96f689c 100644
--- a/gcc/config/m88k/m88k.c
+++ b/gcc/config/m88k/m88k.c
@@ -2471,73 +2471,6 @@ output_function_profiler (file, labelno, name, savep)
fprintf (file, "\taddu\t %s,%s,64\n", reg_names[31], reg_names[31]);
}
}
-
-/* Output assembler code to FILE to initialize basic-block profiling for
- the current module. LABELNO is unique to each instance. */
-
-void
-output_function_block_profiler (file, labelno)
- FILE *file;
- int labelno;
-{
- char block[256];
- char label[256];
-
- /* Remember to update FUNCTION_BLOCK_PROFILER_LENGTH. */
-
- ASM_GENERATE_INTERNAL_LABEL (block, "LPBX", 0);
- ASM_GENERATE_INTERNAL_LABEL (label, "LPY", labelno);
-
- /* @@ Need to deal with PIC. I'm not sure what the requirements are on
- register usage, so I used r26/r27 to be safe. */
- fprintf (file, "\tor.u\t %s,%s,%shi16(%s)\n", reg_names[27], reg_names[0],
- m88k_pound_sign, &block[1]);
- fprintf (file, "\tld\t %s,%s,%slo16(%s)\n", reg_names[26], reg_names[27],
- m88k_pound_sign, &block[1]);
- fprintf (file, "\tbcnd\t %sne0,%s,%s\n",
- m88k_pound_sign, reg_names[26], &label[1]);
- fprintf (file, "\tsubu\t %s,%s,64\n", reg_names[31], reg_names[31]);
- fprintf (file, "\tst.d\t %s,%s,32\n", reg_names[2], reg_names[31]);
- fprintf (file, "\tst.d\t %s,%s,40\n", reg_names[4], reg_names[31]);
- fprintf (file, "\tst.d\t %s,%s,48\n", reg_names[6], reg_names[31]);
- fprintf (file, "\tst.d\t %s,%s,56\n", reg_names[8], reg_names[31]);
- fputs ("\tbsr.n\t ", file);
- ASM_OUTPUT_LABELREF (file, "__bb_init_func");
- putc ('\n', file);
- fprintf (file, "\tor\t %s,%s,%slo16(%s)\n", reg_names[2], reg_names[27],
- m88k_pound_sign, &block[1]);
- fprintf (file, "\tld.d\t %s,%s,32\n", reg_names[2], reg_names[31]);
- fprintf (file, "\tld.d\t %s,%s,40\n", reg_names[4], reg_names[31]);
- fprintf (file, "\tld.d\t %s,%s,48\n", reg_names[6], reg_names[31]);
- fprintf (file, "\tld.d\t %s,%s,56\n", reg_names[8], reg_names[31]);
- fprintf (file, "\taddu\t %s,%s,64\n", reg_names[31], reg_names[31]);
- ASM_OUTPUT_INTERNAL_LABEL (file, "LPY", labelno);
-}
-
-/* Output assembler code to FILE to increment the count associated with
- the basic block number BLOCKNO. */
-
-void
-output_block_profiler (file, blockno)
- FILE *file;
- int blockno;
-{
- char block[256];
-
- /* Remember to update BLOCK_PROFILER_LENGTH. */
-
- ASM_GENERATE_INTERNAL_LABEL (block, "LPBX", 2);
-
- /* @@ Need to deal with PIC. I'm not sure what the requirements are on
- register usage, so I used r26/r27 to be safe. */
- fprintf (file, "\tor.u\t %s,%s,%shi16(%s+%d)\n", reg_names[27], reg_names[0],
- m88k_pound_sign, &block[1], 4 * blockno);
- fprintf (file, "\tld\t %s,%s,%slo16(%s+%d)\n", reg_names[26], reg_names[27],
- m88k_pound_sign, &block[1], 4 * blockno);
- fprintf (file, "\taddu\t %s,%s,1\n", reg_names[26], reg_names[26]);
- fprintf (file, "\tst\t %s,%s,%slo16(%s+%d)\n", reg_names[26], reg_names[27],
- m88k_pound_sign, &block[1], 4 * blockno);
-}
/* Determine whether a function argument is passed in a register, and
which register.
diff --git a/gcc/config/m88k/m88k.h b/gcc/config/m88k/m88k.h
index 30c7070d36f..172c2d661cf 100644
--- a/gcc/config/m88k/m88k.h
+++ b/gcc/config/m88k/m88k.h
@@ -1041,22 +1041,6 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS,
/* Maximum length in instructions of the code output by FUNCTION_PROFILER. */
#define FUNCTION_PROFILER_LENGTH (5+3+1+5)
-/* Output assembler code to FILE to initialize basic-block profiling for
- the current module. LABELNO is unique to each instance. */
-#define FUNCTION_BLOCK_PROFILER(FILE, LABELNO) \
- output_function_block_profiler (FILE, LABELNO)
-
-/* Maximum length in instructions of the code output by
- FUNCTION_BLOCK_PROFILER. */
-#define FUNCTION_BLOCK_PROFILER_LENGTH (3+5+2+5)
-
-/* Output assembler code to FILE to increment the count associated with
- the basic block number BLOCKNO. */
-#define BLOCK_PROFILER(FILE, BLOCKNO) output_block_profiler (FILE, BLOCKNO)
-
-/* Maximum length in instructions of the code output by BLOCK_PROFILER. */
-#define BLOCK_PROFILER_LENGTH 4
-
/* EXIT_IGNORE_STACK should be nonzero if, when returning from a function,
the stack pointer does not matter. The value is tested only in
functions that have frame pointers.