summaryrefslogtreecommitdiff
path: root/gcc/config/i960/i960.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i960/i960.h')
-rw-r--r--gcc/config/i960/i960.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h
index ee27398300d..11932e967f8 100644
--- a/gcc/config/i960/i960.h
+++ b/gcc/config/i960/i960.h
@@ -1466,19 +1466,4 @@ extern int rtx_equal_function_value_matters;
/* Output code to add DELTA to the first argument, and then jump to FUNCTION.
Used for C++ multiple inheritance. */
-#define ASM_OUTPUT_MI_THUNK(FILE, THUNK_FNDECL, DELTA, FUNCTION) \
-do { \
- int d = (DELTA); \
- if (d < 0 && d > -32) \
- fprintf (FILE, "\tsubo %d,g0,g0\n", -d); \
- else if (d > 0 && d < 32) \
- fprintf (FILE, "\taddo %d,g0,g0\n", d); \
- else \
- { \
- fprintf (FILE, "\tldconst %d,r5\n", d); \
- fprintf (FILE, "\taddo r5,g0,g0\n"); \
- } \
- fprintf (FILE, "\tbx "); \
- assemble_name (FILE, XSTR (XEXP (DECL_RTL (FUNCTION), 0), 0)); \
- fprintf (FILE, "\n"); \
-} while (0);
+#define ASM_OUTPUT_MI_THUNK i960_output_mi_thunk