aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/ia64/ia64.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/ia64/ia64.h')
-rw-r--r--gcc/config/ia64/ia64.h100
1 files changed, 0 insertions, 100 deletions
diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h
index af1d52b..49e50a4 100644
--- a/gcc/config/ia64/ia64.h
+++ b/gcc/config/ia64/ia64.h
@@ -1554,106 +1554,6 @@ do { \
fputs ("\tmov out2 = b0\n", FILE); \
fputs ("\tbr.call.sptk.many b0 = _mcount;;\n", FILE); \
} while (0)
-
-/* A C statement or compound statement to output to FILE some assembler code to
- initialize basic-block profiling for the current object module. */
-
-/* ??? Unclear if this will actually work. No way to test this currently. */
-
-#define FUNCTION_BLOCK_PROFILER(FILE, LABELNO) \
-do { \
- int labelno = LABELNO; \
- switch (profile_block_flag) \
- { \
- case 2: \
- fputs ("\taddl r16 = @ltoff(LPBX0), gp\n", FILE); \
- fprintf (FILE, "\tmov out1 = %d;;\n", labelno); \
- fputs ("\tld8 out0 = [r16]\n", FILE); \
- fputs ("\tmov r17 = r1\n", FILE); \
- fputs ("\tmov r18 = b0\n", FILE); \
- fputs ("\tbr.call.sptk.many rp = __bb_init_trace_func;;\n", FILE);\
- fputs ("\tmov r1 = r17\n", FILE); \
- fputs ("\tmov b0 = r18;;\n", FILE); \
- break; \
- default: \
- fputs ("\taddl r16 = @ltoff(LPBX0), gp;;\n", FILE); \
- fputs ("\tld8 out0 = [r16];;\n", FILE); \
- fputs ("\tld8 r17 = [out0];;\n", FILE); \
- fputs ("\tcmp.eq p6, p0 = r0, r17;;\n", FILE); \
- fputs ("(p6)\tmov r16 = r1\n", FILE); \
- fputs ("(p6)\tmov r17 = b0\n", FILE); \
- fputs ("(p6)\tbr.call.sptk.many rp = __bb_init_func;;\n", FILE); \
- fputs ("(p6)\tmov r1 = r16\n", FILE); \
- fputs ("(p6)\tmov b0 = r17;;\n", FILE); \
- break; \
- } \
-} while (0)
-
-/* A C statement or compound statement to output to FILE some assembler code to
- increment the count associated with the basic block number BLOCKNO. */
-
-/* ??? This can't work unless we mark some registers as fixed, so that we
- can use them as temporaries in this macro. We need two registers for -a
- profiling and 4 registers for -ax profiling. */
-
-#define BLOCK_PROFILER(FILE, BLOCKNO) \
-do { \
- int blockn = BLOCKNO; \
- switch (profile_block_flag) \
- { \
- case 2: \
- fputs ("\taddl r2 = @ltoff(__bb), gp\n", FILE); \
- fputs ("\taddl r3 = @ltoff(LPBX0), gp;;\n", FILE); \
- fprintf (FILE, "\tmov r9 = %d\n", blockn); \
- fputs ("\tld8 r2 = [r2]\n", FILE); \
- fputs ("\tld8 r3 = [r3];;\n", FILE); \
- fputs ("\tadd r8 = 8, r2\n", FILE); \
- fputs ("\tst8 [r2] = r9;;\n", FILE); \
- fputs ("\tst8 [r8] = r3\n", FILE); \
- fputs ("\tbr.call.sptk.many rp = __bb_trace_func\n", FILE); \
- break; \
- \
- default: \
- fputs ("\taddl r2 = @ltoff(LPBX2), gp;;\n", FILE); \
- fputs ("\tld8 r2 = [r2];;\n", FILE); \
- fprintf (FILE, "\taddl r2 = %d, r2;;\n", 8 * blockn); \
- fputs ("\tld8 r3 = [r2];;\n", FILE); \
- fputs ("\tadd r3 = 1, r3;;\n", FILE); \
- fputs ("\tst8 [r2] = r3;;\n", FILE); \
- break; \
- } \
-} while(0)
-
-/* A C statement or compound statement to output to FILE assembler
- code to call function `__bb_trace_ret'. */
-
-/* ??? Unclear if this will actually work. No way to test this currently. */
-
-/* ??? This needs to be emitted into the epilogue. Perhaps rewrite to emit
- rtl and call from ia64_expand_epilogue? */
-
-#define FUNCTION_BLOCK_PROFILER_EXIT(FILE) \
- fputs ("\tbr.call.sptk.many rp = __bb_trace_ret\n", FILE);
-#undef FUNCTION_BLOCK_PROFILER_EXIT
-
-/* A C statement or compound statement to save all registers, which may be
- clobbered by a function call, including condition codes. */
-
-/* ??? We would have to save 20 GRs, 106 FRs, 10 PRs, 2 BRs, and possibly
- other things. This is not practical. Perhaps leave this feature (-ax)
- unsupported by undefining above macros? */
-
-/* #define MACHINE_STATE_SAVE(ID) */
-
-/* A C statement or compound statement to restore all registers, including
- condition codes, saved by `MACHINE_STATE_SAVE'. */
-
-/* ??? We would have to restore 20 GRs, 106 FRs, 10 PRs, 2 BRs, and possibly
- other things. This is not practical. Perhaps leave this feature (-ax)
- unsupported by undefining above macros? */
-
-/* #define MACHINE_STATE_RESTORE(ID) */
-
/* Implementing the Varargs Macros. */