123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539 |
- /* Definitions of target machine for GNU compiler. HP-UX 68000/68020 version.
- Copyright (C) 1987, 1988 Free Software Foundation, Inc.
- This file is part of GNU CC.
- GNU CC is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY. No author or distributor
- accepts responsibility to anyone for the consequences of using it
- or for whether it serves any particular purpose or works at all,
- unless he says so in writing. Refer to the GNU CC General Public
- License for full details.
- Everyone is granted permission to copy, modify and redistribute
- GNU CC, but only under the conditions described in the
- GNU CC General Public License. A copy of this license is
- supposed to have been given to you along with GNU CC so you
- can know your rights and responsibilities. It should be in a
- file named COPYING. Among other things, the copyright notice
- and this notice must be preserved on all copies. */
- /* Define USE_GAS if GCC is supposed to work with the GNU assembler,
- GNU linker and GNU debugger using DBX debugging information.
- (In other words, much of HPUX has been cast aside.)
- Undefine USE_GAS if you want GCC to feed the HP assembler. */
- /* #define USE_GAS */ /* Use tm-hpgnu.h if you want this. */
- /* Control assembler-syntax conditionals in m68k.md. */
- #ifndef USE_GAS
- #define MOTOROLA
- #define SGS
- #define HPUX_ASM
- #endif
- #include "tm-m68k.h"
- /* See tm-m68k.h. 7 means 68020 with 68881. */
- #define TARGET_DEFAULT 7
- /* Names to predefine in the preprocessor for this target machine. */
- #ifdef HPUX_ASM
- /* This is needed because some programs, particularly GDB, need to
- know which assembler is being used so that the correct `asm'
- instructions can be used. */
- #define CPP_PREDEFINES "-Dhp9000s200 -Dhp9000s300 -DPWB -Dmc68k -Dmc68000 -Dhpux -Dunix -D__HPUX_ASM__"
- #else
- #define CPP_PREDEFINES "-Dhp9000s200 -Dhp9000s300 -DPWB -Dmc68k -Dmc68000 -Dhpux -Dunix"
- #endif
- /* Generate calls to memcpy, memcmp and memset. */
- #define TARGET_MEM_FUNCTIONS
- /* Function calls don't save any fp registers on hpux. */
- #undef CALL_USED_REGISTERS
- #define CALL_USED_REGISTERS \
- {1, 1, 0, 0, 0, 0, 0, 0, \
- 1, 1, 0, 0, 0, 0, 0, 1, \
- 1, 1, 1, 1, 1, 1, 1, 1}
- #ifdef HPUX_ASM
- /* Override parts of tm-m68k.h to fit the HPUX assembler. */
- #undef TARGET_VERSION
- #undef REGISTER_NAMES
- #undef FUNCTION_PROLOGUE
- #undef FUNCTION_EPILOGUE
- #undef ASM_FILE_START
- #undef ASM_APP_ON
- #undef ASM_APP_OFF
- #undef TEXT_SECTION_ASM_OP
- #undef DATA_SECTION_ASM_OP
- #undef ASM_OUTPUT_DOUBLE
- #undef ASM_OUTPUT_FLOAT
- #undef ASM_OUTPUT_INT
- #undef ASM_OUTPUT_SHORT
- #undef ASM_OUTPUT_CHAR
- #undef ASM_OUTPUT_BYTE
- #undef ASM_OUTPUT_ADDR_VEC_ELT
- #undef ASM_OUTPUT_ADDR_DIFF_ELT
- #undef ASM_OUTPUT_ALIGN
- #undef ASM_OUTPUT_SKIP
- #undef ASM_OUTPUT_COMMON
- #undef ASM_OUTPUT_LOCAL
- #undef ASM_FORMAT_PRIVATE_NAME
- #undef PRINT_OPERAND
- #undef PRINT_OPERAND_ADDRESS
- #undef FUNCTION_PROFILER
- #undef ASM_GLOBALIZE_LABEL
- #undef ASM_OUTPUT_INTERNAL_LABEL
- #define TARGET_VERSION printf (" (68k, SGS/hpux syntax)");
- #define NO_DBX_FORMAT
- #define ASM_SPEC "%{m68000:+X}"
- #define REGISTER_NAMES \
- {"%d0", "%d1", "%d2", "%d3", "%d4", "%d5", "%d6", "%d7", \
- "%a0", "%a1", "%a2", "%a3", "%a4", "%a5", "%fp", "%sp", \
- "%fp0", "%fp1", "%fp2", "%fp3", "%fp4", "%fp5", "%fp6", "%fp7"}
- #define FUNCTION_PROLOGUE(FILE, SIZE) \
- { register int regno; \
- register int mask = 0; \
- static char *reg_names[] = REGISTER_NAMES; \
- extern char call_used_regs[]; \
- int fsize = (SIZE); \
- if (frame_pointer_needed) \
- { if (TARGET_68020 || fsize < 0x8000) \
- fprintf (FILE, "\tlink.w %%a6,&%d\n", -fsize); \
- else \
- fprintf (FILE, "\tlink.w %%a6,&0\n\tsub.l &%d,%%sp\n", fsize); } \
- for (regno = 16; regno < FIRST_PSEUDO_REGISTER; regno++) \
- if (regs_ever_live[regno] && ! call_used_regs[regno]) \
- mask |= 1 << (regno - 16); \
- if (mask != 0) \
- fprintf (FILE, "\tfmovem &0x%x,-(%%sp)\n", mask & 0xff); \
- mask = 0; \
- for (regno = 0; regno < 16; regno++) \
- if (regs_ever_live[regno] && ! call_used_regs[regno]) \
- mask |= 1 << (15 - regno); \
- if (frame_pointer_needed) \
- mask &= ~ (1 << (15-FRAME_POINTER_REGNUM)); \
- if (exact_log2 (mask) >= 0) \
- fprintf (FILE, "\tmov.l %s,-(%%sp)\n", reg_names[15 - exact_log2 (mask)]); \
- else if (mask) fprintf (FILE, "\tmovm.l &0x%x,-(%%sp)\n", mask); }
- #define FUNCTION_PROFILER(FILE, LABEL_NO) \
- fprintf (FILE, "\tmov.l &LP%d,%%d0\n\tjsr mcount\n", (LABEL_NO));
- #define FUNCTION_EPILOGUE(FILE, SIZE) \
- { register int regno; \
- register int mask, fmask; \
- register int nregs; \
- int offset, foffset; \
- extern char call_used_regs[]; \
- static char *reg_names[] = REGISTER_NAMES; \
- extern int current_function_pops_args; \
- extern int current_function_args_size; \
- int fsize = (SIZE); \
- int big = 0; \
- nregs = 0; fmask = 0; \
- for (regno = 16; regno < FIRST_PSEUDO_REGISTER; regno++) \
- if (regs_ever_live[regno] && ! call_used_regs[regno]) \
- { nregs++; fmask |= 1 << (23 - regno); } \
- foffset = nregs * 12; \
- nregs = 0; mask = 0; \
- if (frame_pointer_needed) regs_ever_live[FRAME_POINTER_REGNUM] = 0; \
- for (regno = 0; regno < 16; regno++) \
- if (regs_ever_live[regno] && ! call_used_regs[regno]) \
- { nregs++; mask |= 1 << regno; } \
- offset = foffset + nregs * 4; \
- if (offset + fsize >= 0x8000 && frame_pointer_needed) \
- { fprintf (FILE, "\tmov.l &%d,%%a0\n", -fsize); \
- fsize = 0, big = 1; } \
- if (exact_log2 (mask) >= 0) { \
- if (big) \
- fprintf (FILE, "\tmov.l -%d(%%a6,%%a0.l),%s\n", \
- offset + fsize, reg_names[exact_log2 (mask)]); \
- else if (! frame_pointer_needed) \
- fprintf (FILE, "\tmov.l (%%sp)+,%s\n", \
- reg_names[exact_log2 (mask)]); \
- else \
- fprintf (FILE, "\tmov.l -%d(%%a6),%s\n", \
- offset + fsize, reg_names[exact_log2 (mask)]); } \
- else if (mask) { \
- if (big) \
- fprintf (FILE, "\tmovm.l -%d(%%a6,%%a0.l),&0x%x\n", \
- offset + fsize, mask); \
- else if (! frame_pointer_needed) \
- fprintf (FILE, "\tmovm.l (%%sp)+,&0x%x\n", mask); \
- else \
- fprintf (FILE, "\tmovm.l -%d(%%a6),&0x%x\n", \
- offset + fsize, mask); } \
- if (fmask) { \
- if (big) \
- fprintf (FILE, "\tfmovem -%d(%%a6,%%a0.l),&0x%x\n", \
- foffset + fsize, fmask); \
- else if (! frame_pointer_needed) \
- fprintf (FILE, "\tfmovem (%%sp)+,&0x%x\n", fmask); \
- else \
- fprintf (FILE, "\tfmovem -%d(%%a6),&0x%x\n", \
- foffset + fsize, fmask); } \
- if (frame_pointer_needed) \
- fprintf (FILE, "\tunlk %%a6\n"); \
- if (current_function_pops_args && current_function_args_size) \
- fprintf (FILE, "\trtd &%d\n", current_function_args_size); \
- else fprintf (FILE, "\trts\n"); }
- #define ASM_FILE_START ""
- #define ASM_APP_ON ""
- #define ASM_APP_OFF ""
- #define TEXT_SECTION_ASM_OP "\ttext"
- #define DATA_SECTION_ASM_OP "\tdata"
- #define ASCII_DATA_ASM_OP "\tbyte"
- /* This says how to output an assembler line
- to define a global common symbol. */
- #define ASM_OUTPUT_COMMON(FILE, NAME, SIZE) \
- ( fputs ("\tcomm ", (FILE)), \
- assemble_name ((FILE), (NAME)), \
- fprintf ((FILE), ",%d\n", (SIZE)))
- /* This says how to output an assembler line
- to define a local common symbol. */
- #define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE) \
- ( fputs ("\tlcomm ", (FILE)), \
- assemble_name ((FILE), (NAME)), \
- fprintf ((FILE), ",%d,2\n", (SIZE)))
- /* Store in OUTPUT a string (made with alloca) containing
- an assembler-name for a local static variable named NAME.
- LABELNO is an integer which is different for each call. */
- #define ASM_FORMAT_PRIVATE_NAME(OUTPUT, NAME, LABELNO) \
- ( (OUTPUT) = (char *) alloca (strlen ((NAME)) + 12), \
- sprintf ((OUTPUT), "%s___%d", (NAME), (LABELNO)))
- /* This is how to output a command to make the user-level label named NAME
- defined for reference from other files. */
- #define ASM_GLOBALIZE_LABEL(FILE,NAME) \
- do { fputs ("\tglobal ", FILE); assemble_name (FILE, NAME); fputs ("\n", FILE);} while (0)
- #define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \
- do{ if (PREFIX[0] == 'L' && PREFIX[1] == 'I') \
- fprintf(FILE, "\tset %s%d,.+2\n", PREFIX, NUM); \
- else \
- fprintf (FILE, "%s%d:\n", PREFIX, NUM); \
- } while(0)
- #if 0
- /* Are these definitions necessary? */
- #define ASM_OUTPUT_DOUBLE(FILE,VALUE) \
- do { union { double d; long l[2]; } tem; \
- tem.d = (VALUE); \
- fprintf(FILE, "\tlong 0x%x,0x%x\n", tem.l[0], tem.l[1]); \
- } while (0)
- #define ASM_OUTPUT_FLOAT(FILE,VALUE) \
- do { union { float f; long l;} tem; \
- tem.f = (VALUE); \
- fprintf (FILE, "\tlong 0x%x\n", tem.l); \
- } while (0)
- #endif
- #define ASM_OUTPUT_DOUBLE(FILE, VALUE) \
- fprintf (FILE, "\tdouble 0f%.20g\n", (VALUE))
- #define ASM_OUTPUT_FLOAT(FILE, VALUE) \
- fprintf (FILE, "\tfloat 0f%.9g\n", (VALUE))
- /* This is how to output an assembler line defining an `int' constant. */
- #define ASM_OUTPUT_INT(FILE,VALUE) \
- ( fprintf (FILE, "\tlong "), \
- output_addr_const (FILE, (VALUE)), \
- fprintf (FILE, "\n"))
- /* Likewise for `char' and `short' constants. */
- #define ASM_OUTPUT_SHORT(FILE,VALUE) \
- ( fprintf (FILE, "\tshort "), \
- output_addr_const (FILE, (VALUE)), \
- fprintf (FILE, "\n"))
- #define ASM_OUTPUT_CHAR(FILE,VALUE) \
- ( fprintf (FILE, "\tbyte "), \
- output_addr_const (FILE, (VALUE)), \
- fprintf (FILE, "\n"))
- /* This is how to output an assembler line for a numeric constant byte. */
- #define ASM_OUTPUT_BYTE(FILE,VALUE) \
- fprintf (FILE, "\tbyte 0x%x\n", (VALUE))
- #define ASM_OUTPUT_ADDR_VEC_ELT(FILE, VALUE) \
- fprintf (FILE, "\tlong L%d\n", VALUE)
- #define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, VALUE, REL) \
- fprintf (FILE, "\tshort L%d-L%d\n", VALUE, REL)
- #define ASM_OUTPUT_ALIGN(FILE,LOG) \
- if ((LOG) == 1) \
- fprintf (FILE, "\tlalign 2\n"); \
- else if ((LOG) != 0) \
- abort ();
- #define ASM_OUTPUT_SKIP(FILE,SIZE) \
- fprintf (FILE, "\tspace %d\n", (SIZE))
- #define ASM_OUTPUT_SOURCE_FILENAME(FILE, FILENAME)
- #define ASM_OUTPUT_SOURCE_LINE(FILE, LINENO)
- #define PRINT_OPERAND(FILE, X, CODE) \
- { if (CODE == '.') fprintf (FILE, "."); \
- else if (CODE == '#') fprintf (FILE, "&"); \
- else if (CODE == '-') fprintf (FILE, "-(%%sp)"); \
- else if (CODE == '+') fprintf (FILE, "(%%sp)+"); \
- else if (CODE == 's') fprintf (FILE, "(%%sp)"); \
- else if (CODE == '!') fprintf (FILE, "%%cc"); \
- else if (GET_CODE (X) == REG) \
- fprintf (FILE, "%s", reg_name [REGNO (X)]); \
- else if (GET_CODE (X) == MEM) \
- output_address (XEXP (X, 0)); \
- else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X) == SFmode) \
- { union { double d; int i[2]; } u; \
- union { float f; int i; } u1; \
- u.i[0] = XINT (X, 0); u.i[1] = XINT (X, 1); \
- u1.f = u.d; \
- if (CODE == 'f') \
- fprintf (FILE, "&0f%.9g", u1.f); \
- else \
- fprintf (FILE, "&0x%x", u1.i); } \
- else if (GET_CODE (X) == CONST_DOUBLE) \
- { union { double d; int i[2]; } u; \
- u.i[0] = XINT (X, 0); u.i[1] = XINT (X, 1); \
- fprintf (FILE, "&0f%.20g", u.d); } \
- else { putc ('&', FILE); output_addr_const (FILE, X); }}
- #define PRINT_OPERAND_ADDRESS(FILE, ADDR) \
- { register rtx reg1, reg2, breg, ireg; \
- register rtx addr = ADDR; \
- rtx offset; \
- switch (GET_CODE (addr)) \
- { \
- case REG: \
- fprintf (FILE, "(%s)", reg_name [REGNO (addr)]); \
- break; \
- case PRE_DEC: \
- fprintf (FILE, "-(%s)", reg_name [REGNO (XEXP (addr, 0))]); \
- break; \
- case POST_INC: \
- fprintf (FILE, "(%s)+", reg_name [REGNO (XEXP (addr, 0))]); \
- break; \
- case PLUS: \
- reg1 = 0; reg2 = 0; \
- ireg = 0; breg = 0; \
- offset = 0; \
- if (CONSTANT_ADDRESS_P (XEXP (addr, 0))) \
- { \
- offset = XEXP (addr, 0); \
- addr = XEXP (addr, 1); \
- } \
- else if (CONSTANT_ADDRESS_P (XEXP (addr, 1))) \
- { \
- offset = XEXP (addr, 1); \
- addr = XEXP (addr, 0); \
- } \
- if (GET_CODE (addr) != PLUS) ; \
- else if (GET_CODE (XEXP (addr, 0)) == SIGN_EXTEND) \
- { \
- reg1 = XEXP (addr, 0); \
- addr = XEXP (addr, 1); \
- } \
- else if (GET_CODE (XEXP (addr, 1)) == SIGN_EXTEND) \
- { \
- reg1 = XEXP (addr, 1); \
- addr = XEXP (addr, 0); \
- } \
- else if (GET_CODE (XEXP (addr, 0)) == MULT) \
- { \
- reg1 = XEXP (addr, 0); \
- addr = XEXP (addr, 1); \
- } \
- else if (GET_CODE (XEXP (addr, 1)) == MULT) \
- { \
- reg1 = XEXP (addr, 1); \
- addr = XEXP (addr, 0); \
- } \
- else if (GET_CODE (XEXP (addr, 0)) == REG) \
- { \
- reg1 = XEXP (addr, 0); \
- addr = XEXP (addr, 1); \
- } \
- else if (GET_CODE (XEXP (addr, 1)) == REG) \
- { \
- reg1 = XEXP (addr, 1); \
- addr = XEXP (addr, 0); \
- } \
- if (GET_CODE (addr) == REG || GET_CODE (addr) == MULT \
- || GET_CODE (addr) == SIGN_EXTEND) \
- { if (reg1 == 0) reg1 = addr; else reg2 = addr; addr = 0; } \
- /* for OLD_INDEXING \
- else if (GET_CODE (addr) == PLUS) \
- { \
- if (GET_CODE (XEXP (addr, 0)) == REG) \
- { \
- reg2 = XEXP (addr, 0); \
- addr = XEXP (addr, 1); \
- } \
- else if (GET_CODE (XEXP (addr, 1)) == REG) \
- { \
- reg2 = XEXP (addr, 1); \
- addr = XEXP (addr, 0); \
- } \
- } \
- */ \
- if (offset != 0) { if (addr != 0) abort (); addr = offset; } \
- if ((reg1 && (GET_CODE (reg1) == SIGN_EXTEND \
- || GET_CODE (reg1) == MULT)) \
- || (reg2 != 0 && REGNO_OK_FOR_BASE_P (REGNO (reg2)))) \
- { breg = reg2; ireg = reg1; } \
- else if (reg1 != 0 && REGNO_OK_FOR_BASE_P (REGNO (reg1))) \
- { breg = reg1; ireg = reg2; } \
- if (ireg != 0 && breg == 0 && GET_CODE (addr) == LABEL_REF) \
- { int scale = 1; \
- if (GET_CODE (ireg) == MULT) \
- { scale = INTVAL (XEXP (ireg, 1)); \
- ireg = XEXP (ireg, 0); } \
- if (GET_CODE (ireg) == SIGN_EXTEND) \
- fprintf (FILE, "L%d-LI%d(%%pc,%s.w", \
- CODE_LABEL_NUMBER (XEXP (addr, 0)), \
- CODE_LABEL_NUMBER (XEXP (addr, 0)), \
- reg_name[REGNO (XEXP (ireg, 0))]); \
- else \
- fprintf (FILE, "L%d-LI%d(%%pc,%s.l", \
- CODE_LABEL_NUMBER (XEXP (addr, 0)), \
- CODE_LABEL_NUMBER (XEXP (addr, 0)), \
- reg_name[REGNO (ireg)]); \
- if (scale != 1) fprintf (FILE, "*%d", scale); \
- putc (')', FILE); \
- break; } \
- if (ireg != 0 || breg != 0) \
- { int scale = 1; \
- if (breg == 0) \
- abort (); \
- if (addr != 0) \
- output_addr_const (FILE, addr); \
- fprintf (FILE, "(%s", reg_name[REGNO (breg)]); \
- if (ireg != 0) \
- putc (',', FILE); \
- if (ireg != 0 && GET_CODE (ireg) == MULT) \
- { scale = INTVAL (XEXP (ireg, 1)); \
- ireg = XEXP (ireg, 0); } \
- if (ireg != 0 && GET_CODE (ireg) == SIGN_EXTEND) \
- fprintf (FILE, "%s.w", reg_name[REGNO (XEXP (ireg, 0))]); \
- else if (ireg != 0) \
- fprintf (FILE, "%s.l", reg_name[REGNO (ireg)]); \
- if (scale != 1) fprintf (FILE, "*%d", scale); \
- putc (')', FILE); \
- break; \
- } \
- else if (reg1 != 0 && GET_CODE (addr) == LABEL_REF) \
- { fprintf (FILE, "L%d-LI%d(%%pc,%s.w)", \
- CODE_LABEL_NUMBER (XEXP (addr, 0)), \
- CODE_LABEL_NUMBER (XEXP (addr, 0)), \
- reg_name[REGNO (reg1)]); \
- break; } \
- default: \
- if (GET_CODE (addr) == CONST_INT \
- && INTVAL (addr) < 0x8000 \
- && INTVAL (addr) >= -0x8000) \
- fprintf (FILE, "%d.w", INTVAL (addr)); \
- else \
- output_addr_const (FILE, addr); \
- }}
- #define ASM_OUTPUT_ASCII(f, p, size) \
- { register int i; \
- int inside; \
- inside = FALSE; \
- for (i = 0; i < size; i++) { \
- if (i % 8 == 0) { \
- if (i != 0) { \
- if (inside) \
- putc('"', f); \
- putc('\n', f); \
- inside = FALSE; \
- } \
- fprintf(f, "%s ", ASCII_DATA_ASM_OP); \
- } \
- if (p[i] < 32 || p[i] == '\\' || p[i] == '"' || p[i] == 127) { \
- if (inside) { \
- putc('"', f); \
- inside = FALSE; \
- } \
- if (i % 8 != 0) \
- putc(',', f); \
- fprintf(f, "%d", p[i]); \
- } else { \
- if (!inside) { \
- if (i % 8 != 0) \
- putc(',', f); \
- putc('"', f); \
- inside = TRUE; \
- } \
- putc(p[i], f); \
- } \
- } \
- if (inside) \
- putc('"', f); \
- putc('\n', f); \
- }
- /* Translate Motorola opcodes such as `jbeq'
- into SGS opcodes such as `beq.w'.
- Delete the `e' in `move...' and `fmove'.
- Change `ftst' to `ftest'. */
- #define ASM_OUTPUT_OPCODE(FILE, PTR) \
- { if ((PTR)[0] == 'j' && (PTR)[1] == 'b') \
- { ++(PTR); \
- while (*(PTR) != ' ') \
- { putc (*(PTR), (FILE)); ++(PTR); } \
- fprintf ((FILE), ".w"); } \
- else if ((PTR)[0] == 'f') \
- { \
- if (!strncmp ((PTR), "fmove", 5)) \
- { fprintf ((FILE), "fmov"); (PTR) += 5; } \
- else if (!strncmp ((PTR), "ftst", 4)) \
- { fprintf ((FILE), "ftest"); (PTR) += 4; } \
- } \
- else if ((PTR)[0] == 'm' && (PTR)[1] == 'o' \
- && (PTR)[2] == 'v' && (PTR)[3] == 'e') \
- { fprintf ((FILE), "mov"); (PTR) += 4; } \
- }
- #else /* not HPUX_ASM */
- #undef FUNCTION_PROFILER
- #define FUNCTION_PROFILER(FILE, LABELNO) \
- fprintf (FILE, "\tmovl #LP%d,d0\n\tjsr mcount\n", (LABELNO));
- #endif /* not HPUX_ASM */
|