OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [config/] [arm/] [aof.h] - Diff between revs 38 and 154

Only display areas with differences | Details | Blame | View Log

Rev 38 Rev 154
/* Definitions of target machine for GNU compiler, for Advanced RISC Machines
/* Definitions of target machine for GNU compiler, for Advanced RISC Machines
   ARM compilation, AOF Assembler.
   ARM compilation, AOF Assembler.
   Copyright (C) 1995, 1996, 1997, 2000, 2003, 2004, 2007
   Copyright (C) 1995, 1996, 1997, 2000, 2003, 2004, 2007
   Free Software Foundation, Inc.
   Free Software Foundation, Inc.
   Contributed by Richard Earnshaw (rearnsha@armltd.co.uk)
   Contributed by Richard Earnshaw (rearnsha@armltd.co.uk)
 
 
   This file is part of GCC.
   This file is part of GCC.
 
 
   GCC is free software; you can redistribute it and/or modify it
   GCC is free software; you can redistribute it and/or modify it
   under the terms of the GNU General Public License as published
   under the terms of the GNU General Public License as published
   by the Free Software Foundation; either version 3, or (at your
   by the Free Software Foundation; either version 3, or (at your
   option) any later version.
   option) any later version.
 
 
   GCC is distributed in the hope that it will be useful, but WITHOUT
   GCC is distributed in the hope that it will be useful, but WITHOUT
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
   License for more details.
   License for more details.
 
 
   You should have received a copy of the GNU General Public License
   You should have received a copy of the GNU General Public License
   along with GCC; see the file COPYING3.  If not see
   along with GCC; see the file COPYING3.  If not see
   <http://www.gnu.org/licenses/>.  */
   <http://www.gnu.org/licenses/>.  */
 
 


 
 
#define AOF_ASSEMBLER
#define AOF_ASSEMBLER
 
 
#define LINK_LIBGCC_SPECIAL 1
#define LINK_LIBGCC_SPECIAL 1
 
 
#define LINK_SPEC "%{aof} %{bin} %{aif} %{ihf} %{shl,*} %{reent*} %{split} \
#define LINK_SPEC "%{aof} %{bin} %{aif} %{ihf} %{shl,*} %{reent*} %{split} \
                   %{ov*} %{reloc*} -nodebug"
                   %{ov*} %{reloc*} -nodebug"
 
 
#define STARTFILE_SPEC "crtbegin.o%s"
#define STARTFILE_SPEC "crtbegin.o%s"
 
 
#define ENDFILE_SPEC "crtend.o%s"
#define ENDFILE_SPEC "crtend.o%s"
 
 
#ifndef ASM_SPEC
#ifndef ASM_SPEC
#define ASM_SPEC "%{g -g} -arch 4 -apcs 3/32bit"
#define ASM_SPEC "%{g -g} -arch 4 -apcs 3/32bit"
#endif
#endif
 
 
#ifndef LIB_SPEC
#ifndef LIB_SPEC
#define LIB_SPEC "%{Eb: armlib_h.32b%s}%{!Eb: armlib_h.32l%s}"
#define LIB_SPEC "%{Eb: armlib_h.32b%s}%{!Eb: armlib_h.32l%s}"
#endif
#endif
 
 
#define LIBGCC_SPEC "libgcc.a%s"
#define LIBGCC_SPEC "libgcc.a%s"
 
 
#define CTOR_LIST_BEGIN                         \
#define CTOR_LIST_BEGIN                         \
  asm (CTORS_SECTION_ASM_OP);                   \
  asm (CTORS_SECTION_ASM_OP);                   \
  extern func_ptr __CTOR_END__[1];              \
  extern func_ptr __CTOR_END__[1];              \
  func_ptr __CTOR_LIST__[1] = {__CTOR_END__};
  func_ptr __CTOR_LIST__[1] = {__CTOR_END__};
 
 
#define CTOR_LIST_END                           \
#define CTOR_LIST_END                           \
  asm (CTORS_SECTION_ASM_OP);                   \
  asm (CTORS_SECTION_ASM_OP);                   \
  func_ptr __CTOR_END__[1] = { (func_ptr) 0 };
  func_ptr __CTOR_END__[1] = { (func_ptr) 0 };
 
 
#define DO_GLOBAL_CTORS_BODY                    \
#define DO_GLOBAL_CTORS_BODY                    \
  do                                            \
  do                                            \
    {                                           \
    {                                           \
      func_ptr *ptr = __CTOR_LIST__ + 1;        \
      func_ptr *ptr = __CTOR_LIST__ + 1;        \
                                                \
                                                \
      while (*ptr)                              \
      while (*ptr)                              \
        (*ptr++) ();                            \
        (*ptr++) ();                            \
    }                                           \
    }                                           \
  while (0)
  while (0)
 
 
#define DTOR_LIST_BEGIN                         \
#define DTOR_LIST_BEGIN                         \
  asm (DTORS_SECTION_ASM_OP);                   \
  asm (DTORS_SECTION_ASM_OP);                   \
  extern func_ptr __DTOR_END__[1];              \
  extern func_ptr __DTOR_END__[1];              \
  func_ptr __DTOR_LIST__[1] = {__DTOR_END__};
  func_ptr __DTOR_LIST__[1] = {__DTOR_END__};
 
 
#define DTOR_LIST_END                           \
#define DTOR_LIST_END                           \
  asm (DTORS_SECTION_ASM_OP);                   \
  asm (DTORS_SECTION_ASM_OP);                   \
  func_ptr __DTOR_END__[1] = { (func_ptr) 0 };
  func_ptr __DTOR_END__[1] = { (func_ptr) 0 };
 
 
#define DO_GLOBAL_DTORS_BODY                    \
#define DO_GLOBAL_DTORS_BODY                    \
  do                                            \
  do                                            \
    {                                           \
    {                                           \
      func_ptr *ptr = __DTOR_LIST__ + 1;        \
      func_ptr *ptr = __DTOR_LIST__ + 1;        \
                                                \
                                                \
      while (*ptr)                              \
      while (*ptr)                              \
        (*ptr++) ();                            \
        (*ptr++) ();                            \
    }                                           \
    }                                           \
  while (0)
  while (0)
 
 
/* We really want to put Thumb tables in a read-only data section, but
/* We really want to put Thumb tables in a read-only data section, but
   switching to another section during function output is not
   switching to another section during function output is not
   possible.  We could however do what the SPARC does and defer the
   possible.  We could however do what the SPARC does and defer the
   whole table generation until the end of the function.  */
   whole table generation until the end of the function.  */
#define JUMP_TABLES_IN_TEXT_SECTION 1
#define JUMP_TABLES_IN_TEXT_SECTION 1
 
 
#define TARGET_ASM_INIT_SECTIONS aof_asm_init_sections
#define TARGET_ASM_INIT_SECTIONS aof_asm_init_sections
 
 
/* Some systems use __main in a way incompatible with its use in gcc, in these
/* Some systems use __main in a way incompatible with its use in gcc, in these
   cases use the macros NAME__MAIN to give a quoted symbol and SYMBOL__MAIN to
   cases use the macros NAME__MAIN to give a quoted symbol and SYMBOL__MAIN to
   give the same symbol without quotes for an alternative entry point.  You
   give the same symbol without quotes for an alternative entry point.  You
   must define both, or neither.  */
   must define both, or neither.  */
#define NAME__MAIN "__gccmain"
#define NAME__MAIN "__gccmain"
#define SYMBOL__MAIN __gccmain
#define SYMBOL__MAIN __gccmain
 
 
#define ASM_COMMENT_START ";"
#define ASM_COMMENT_START ";"
#define ASM_APP_ON        ""
#define ASM_APP_ON        ""
#define ASM_APP_OFF       ""
#define ASM_APP_OFF       ""
 
 
#define ASM_OUTPUT_ASCII(STREAM, PTR, LEN)              \
#define ASM_OUTPUT_ASCII(STREAM, PTR, LEN)              \
{                                                       \
{                                                       \
  int i;                                                \
  int i;                                                \
  const char *ptr = (PTR);                              \
  const char *ptr = (PTR);                              \
  fprintf ((STREAM), "\tDCB");                          \
  fprintf ((STREAM), "\tDCB");                          \
  for (i = 0; i < (long)(LEN); i++)                     \
  for (i = 0; i < (long)(LEN); i++)                     \
    fprintf ((STREAM), " &%02x%s",                      \
    fprintf ((STREAM), " &%02x%s",                      \
             (unsigned ) *(ptr++),                      \
             (unsigned ) *(ptr++),                      \
             (i + 1 < (long)(LEN)                       \
             (i + 1 < (long)(LEN)                       \
              ? ((i & 3) == 3 ? "\n\tDCB" : ",")        \
              ? ((i & 3) == 3 ? "\n\tDCB" : ",")        \
              : "\n"));                                 \
              : "\n"));                                 \
}
}
 
 
#define IS_ASM_LOGICAL_LINE_SEPARATOR(C) ((C) == '\n')
#define IS_ASM_LOGICAL_LINE_SEPARATOR(C) ((C) == '\n')
 
 
/* Output of Uninitialized Variables.  */
/* Output of Uninitialized Variables.  */
 
 
#define ASM_OUTPUT_COMMON(STREAM, NAME, SIZE, ROUNDED)          \
#define ASM_OUTPUT_COMMON(STREAM, NAME, SIZE, ROUNDED)          \
  (in_section = NULL,                                           \
  (in_section = NULL,                                           \
   fprintf ((STREAM), "\tAREA "),                               \
   fprintf ((STREAM), "\tAREA "),                               \
   assemble_name ((STREAM), (NAME)),                            \
   assemble_name ((STREAM), (NAME)),                            \
   fprintf ((STREAM), ", DATA, COMMON\n\t%% %d\t%s size=%d\n",  \
   fprintf ((STREAM), ", DATA, COMMON\n\t%% %d\t%s size=%d\n",  \
            (int)(ROUNDED), ASM_COMMENT_START, (int)(SIZE)))
            (int)(ROUNDED), ASM_COMMENT_START, (int)(SIZE)))
 
 
#define ASM_OUTPUT_LOCAL(STREAM, NAME, SIZE, ROUNDED)   \
#define ASM_OUTPUT_LOCAL(STREAM, NAME, SIZE, ROUNDED)   \
   (zero_init_section (),                               \
   (zero_init_section (),                               \
    assemble_name ((STREAM), (NAME)),                   \
    assemble_name ((STREAM), (NAME)),                   \
    fprintf ((STREAM), "\n"),                           \
    fprintf ((STREAM), "\n"),                           \
    fprintf ((STREAM), "\t%% %d\t%s size=%d\n",         \
    fprintf ((STREAM), "\t%% %d\t%s size=%d\n",         \
             (int)(ROUNDED), ASM_COMMENT_START, (int)(SIZE)))
             (int)(ROUNDED), ASM_COMMENT_START, (int)(SIZE)))
 
 
/* Output and Generation of Labels */
/* Output and Generation of Labels */
extern int arm_main_function;
extern int arm_main_function;
 
 
/* Globalizing directive for a label.  */
/* Globalizing directive for a label.  */
#define GLOBAL_ASM_OP "\tEXPORT\t"
#define GLOBAL_ASM_OP "\tEXPORT\t"
 
 
#define ASM_OUTPUT_LABEL(STREAM,NAME)   \
#define ASM_OUTPUT_LABEL(STREAM,NAME)   \
do {                                    \
do {                                    \
  assemble_name (STREAM,NAME);          \
  assemble_name (STREAM,NAME);          \
  fputs ("\n", STREAM);                 \
  fputs ("\n", STREAM);                 \
} while (0)
} while (0)
 
 
#define ASM_DECLARE_FUNCTION_NAME(STREAM,NAME,DECL) \
#define ASM_DECLARE_FUNCTION_NAME(STREAM,NAME,DECL) \
{                                               \
{                                               \
  if (TARGET_POKE_FUNCTION_NAME)                \
  if (TARGET_POKE_FUNCTION_NAME)                \
    arm_poke_function_name ((STREAM), (NAME));  \
    arm_poke_function_name ((STREAM), (NAME));  \
  ASM_OUTPUT_LABEL (STREAM, NAME);              \
  ASM_OUTPUT_LABEL (STREAM, NAME);              \
  if (! TREE_PUBLIC (DECL))                     \
  if (! TREE_PUBLIC (DECL))                     \
    {                                           \
    {                                           \
      fputs ("\tKEEP ", STREAM);                \
      fputs ("\tKEEP ", STREAM);                \
      ASM_OUTPUT_LABEL (STREAM, NAME);          \
      ASM_OUTPUT_LABEL (STREAM, NAME);          \
    }                                           \
    }                                           \
  aof_delete_import ((NAME));                   \
  aof_delete_import ((NAME));                   \
}
}
 
 
#define ASM_DECLARE_OBJECT_NAME(STREAM,NAME,DECL) \
#define ASM_DECLARE_OBJECT_NAME(STREAM,NAME,DECL) \
{                                               \
{                                               \
  ASM_OUTPUT_LABEL (STREAM, NAME);              \
  ASM_OUTPUT_LABEL (STREAM, NAME);              \
  if (! TREE_PUBLIC (DECL))                     \
  if (! TREE_PUBLIC (DECL))                     \
    {                                           \
    {                                           \
      fputs ("\tKEEP ", STREAM);                \
      fputs ("\tKEEP ", STREAM);                \
      ASM_OUTPUT_LABEL (STREAM, NAME);          \
      ASM_OUTPUT_LABEL (STREAM, NAME);          \
    }                                           \
    }                                           \
  aof_delete_import ((NAME));                   \
  aof_delete_import ((NAME));                   \
}
}
 
 
#define ASM_OUTPUT_EXTERNAL(STREAM,DECL,NAME)   \
#define ASM_OUTPUT_EXTERNAL(STREAM,DECL,NAME)   \
 aof_add_import ((NAME))
 aof_add_import ((NAME))
 
 
#define ASM_OUTPUT_EXTERNAL_LIBCALL(STREAM,SYMREF)      \
#define ASM_OUTPUT_EXTERNAL_LIBCALL(STREAM,SYMREF)      \
 (fprintf ((STREAM), "\tIMPORT\t"),                     \
 (fprintf ((STREAM), "\tIMPORT\t"),                     \
  assemble_name ((STREAM), XSTR ((SYMREF), 0)),         \
  assemble_name ((STREAM), XSTR ((SYMREF), 0)),         \
  fputc ('\n', (STREAM)))
  fputc ('\n', (STREAM)))
 
 
#define ASM_OUTPUT_LABELREF(STREAM,NAME)        \
#define ASM_OUTPUT_LABELREF(STREAM,NAME)        \
  fprintf ((STREAM), "|%s|", NAME)
  fprintf ((STREAM), "|%s|", NAME)
 
 
#define ASM_GENERATE_INTERNAL_LABEL(STRING,PREFIX,NUM)  \
#define ASM_GENERATE_INTERNAL_LABEL(STRING,PREFIX,NUM)  \
  sprintf ((STRING), "*|%s..%ld|", (PREFIX), (long)(NUM))
  sprintf ((STRING), "*|%s..%ld|", (PREFIX), (long)(NUM))
 
 
/* How initialization functions are handled.  */
/* How initialization functions are handled.  */
 
 
#define CTORS_SECTION_ASM_OP "\tAREA\t|C$$gnu_ctorsvec|, DATA, READONLY"
#define CTORS_SECTION_ASM_OP "\tAREA\t|C$$gnu_ctorsvec|, DATA, READONLY"
#define DTORS_SECTION_ASM_OP "\tAREA\t|C$$gnu_dtorsvec|, DATA, READONLY"
#define DTORS_SECTION_ASM_OP "\tAREA\t|C$$gnu_dtorsvec|, DATA, READONLY"
 
 
/* Output of Assembler Instructions.  */
/* Output of Assembler Instructions.  */
 
 
#define REGISTER_NAMES                          \
#define REGISTER_NAMES                          \
{                                               \
{                                               \
  "a1", "a2", "a3", "a4",                       \
  "a1", "a2", "a3", "a4",                       \
  "v1", "v2", "v3", "v4",                       \
  "v1", "v2", "v3", "v4",                       \
  "v5", "v6", "sl", "fp",                       \
  "v5", "v6", "sl", "fp",                       \
  "ip", "sp", "lr", "pc",                       \
  "ip", "sp", "lr", "pc",                       \
  "f0", "f1", "f2", "f3",                       \
  "f0", "f1", "f2", "f3",                       \
  "f4", "f5", "f6", "f7",                       \
  "f4", "f5", "f6", "f7",                       \
  "cc", "sfp", "afp",                           \
  "cc", "sfp", "afp",                           \
  "mv0",   "mv1",   "mv2",   "mv3",             \
  "mv0",   "mv1",   "mv2",   "mv3",             \
  "mv4",   "mv5",   "mv6",   "mv7",             \
  "mv4",   "mv5",   "mv6",   "mv7",             \
  "mv8",   "mv9",   "mv10",  "mv11",            \
  "mv8",   "mv9",   "mv10",  "mv11",            \
  "mv12",  "mv13",  "mv14",  "mv15",            \
  "mv12",  "mv13",  "mv14",  "mv15",            \
  "wcgr0", "wcgr1", "wcgr2", "wcgr3",           \
  "wcgr0", "wcgr1", "wcgr2", "wcgr3",           \
  "wr0",   "wr1",   "wr2",   "wr3",             \
  "wr0",   "wr1",   "wr2",   "wr3",             \
  "wr4",   "wr5",   "wr6",   "wr7",             \
  "wr4",   "wr5",   "wr6",   "wr7",             \
  "wr8",   "wr9",   "wr10",  "wr11",            \
  "wr8",   "wr9",   "wr10",  "wr11",            \
  "wr12",  "wr13",  "wr14",  "wr15",            \
  "wr12",  "wr13",  "wr14",  "wr15",            \
  "s0",  "s1",  "s2",  "s3",  "s4",  "s5",  "s6",  "s7",  \
  "s0",  "s1",  "s2",  "s3",  "s4",  "s5",  "s6",  "s7",  \
  "s8",  "s9",  "s10", "s11", "s12", "s13", "s14", "s15", \
  "s8",  "s9",  "s10", "s11", "s12", "s13", "s14", "s15", \
  "s16", "s17", "s18", "s19", "s20", "s21", "s22", "s23", \
  "s16", "s17", "s18", "s19", "s20", "s21", "s22", "s23", \
  "s24", "s25", "s26", "s27", "s28", "s29", "s30", "s31",  \
  "s24", "s25", "s26", "s27", "s28", "s29", "s30", "s31",  \
  "vfpcc"                                       \
  "vfpcc"                                       \
}
}
 
 
#define ADDITIONAL_REGISTER_NAMES               \
#define ADDITIONAL_REGISTER_NAMES               \
{                                               \
{                                               \
  {"r0", 0}, {"a1", 0},                         \
  {"r0", 0}, {"a1", 0},                         \
  {"r1", 1}, {"a2", 1},                         \
  {"r1", 1}, {"a2", 1},                         \
  {"r2", 2}, {"a3", 2},                         \
  {"r2", 2}, {"a3", 2},                         \
  {"r3", 3}, {"a4", 3},                         \
  {"r3", 3}, {"a4", 3},                         \
  {"r4", 4}, {"v1", 4},                         \
  {"r4", 4}, {"v1", 4},                         \
  {"r5", 5}, {"v2", 5},                         \
  {"r5", 5}, {"v2", 5},                         \
  {"r6", 6}, {"v3", 6},                         \
  {"r6", 6}, {"v3", 6},                         \
  {"r7", 7}, {"wr", 7},                         \
  {"r7", 7}, {"wr", 7},                         \
  {"r8", 8}, {"v5", 8},                         \
  {"r8", 8}, {"v5", 8},                         \
  {"r9", 9}, {"v6", 9},                         \
  {"r9", 9}, {"v6", 9},                         \
  {"r10", 10}, {"sl", 10}, {"v7", 10},          \
  {"r10", 10}, {"sl", 10}, {"v7", 10},          \
  {"r11", 11}, {"fp", 11},                      \
  {"r11", 11}, {"fp", 11},                      \
  {"r12", 12}, {"ip", 12},                      \
  {"r12", 12}, {"ip", 12},                      \
  {"r13", 13}, {"sp", 13},                      \
  {"r13", 13}, {"sp", 13},                      \
  {"r14", 14}, {"lr", 14},                      \
  {"r14", 14}, {"lr", 14},                      \
  {"r15", 15}, {"pc", 15},                      \
  {"r15", 15}, {"pc", 15},                      \
  {"d0", 63},                                   \
  {"d0", 63},                                   \
  {"d1", 65},                                   \
  {"d1", 65},                                   \
  {"d2", 67},                                   \
  {"d2", 67},                                   \
  {"d3", 69},                                   \
  {"d3", 69},                                   \
  {"d4", 71},                                   \
  {"d4", 71},                                   \
  {"d5", 73},                                   \
  {"d5", 73},                                   \
  {"d6", 75},                                   \
  {"d6", 75},                                   \
  {"d7", 77},                                   \
  {"d7", 77},                                   \
  {"d8", 79},                                   \
  {"d8", 79},                                   \
  {"d9", 81},                                   \
  {"d9", 81},                                   \
  {"d10", 83},                                  \
  {"d10", 83},                                  \
  {"d11", 85},                                  \
  {"d11", 85},                                  \
  {"d12", 87},                                  \
  {"d12", 87},                                  \
  {"d13", 89},                                  \
  {"d13", 89},                                  \
  {"d14", 91},                                  \
  {"d14", 91},                                  \
  {"d15", 93}                                   \
  {"d15", 93}                                   \
}
}
 
 
#define REGISTER_PREFIX "__"
#define REGISTER_PREFIX "__"
#define USER_LABEL_PREFIX ""
#define USER_LABEL_PREFIX ""
#define LOCAL_LABEL_PREFIX ""
#define LOCAL_LABEL_PREFIX ""
 
 
/* AOF does not prefix user function names with an underscore.  */
/* AOF does not prefix user function names with an underscore.  */
#define ARM_MCOUNT_NAME "_mcount"
#define ARM_MCOUNT_NAME "_mcount"
 
 
/* Output of Dispatch Tables.  */
/* Output of Dispatch Tables.  */
#define ASM_OUTPUT_ADDR_DIFF_ELT(STREAM, BODY, VALUE, REL)                      \
#define ASM_OUTPUT_ADDR_DIFF_ELT(STREAM, BODY, VALUE, REL)                      \
  do                                                                            \
  do                                                                            \
    {                                                                           \
    {                                                                           \
      if (TARGET_ARM)                                                           \
      if (TARGET_ARM)                                                           \
        fprintf ((STREAM), "\tb\t|L..%d|\n", (VALUE));                          \
        fprintf ((STREAM), "\tb\t|L..%d|\n", (VALUE));                          \
      else                                                                      \
      else                                                                      \
        fprintf ((STREAM), "\tDCD\t|L..%d| - |L..%d|\n", (VALUE), (REL));       \
        fprintf ((STREAM), "\tDCD\t|L..%d| - |L..%d|\n", (VALUE), (REL));       \
    }                                                                           \
    }                                                                           \
  while (0)
  while (0)
 
 
#define ASM_OUTPUT_ADDR_VEC_ELT(STREAM, VALUE)  \
#define ASM_OUTPUT_ADDR_VEC_ELT(STREAM, VALUE)  \
  fprintf ((STREAM), "\tDCD\t|L..%d|\n", (VALUE))
  fprintf ((STREAM), "\tDCD\t|L..%d|\n", (VALUE))
 
 
/* A label marking the start of a jump table is a data label.  */
/* A label marking the start of a jump table is a data label.  */
#define ASM_OUTPUT_CASE_LABEL(STREAM, PREFIX, NUM, TABLE)       \
#define ASM_OUTPUT_CASE_LABEL(STREAM, PREFIX, NUM, TABLE)       \
  fprintf ((STREAM), "\tALIGN\n|%s..%d|\n", (PREFIX), (NUM))
  fprintf ((STREAM), "\tALIGN\n|%s..%d|\n", (PREFIX), (NUM))
 
 
/* Assembler Commands for Alignment.  */
/* Assembler Commands for Alignment.  */
#define ASM_OUTPUT_SKIP(STREAM, NBYTES)         \
#define ASM_OUTPUT_SKIP(STREAM, NBYTES)         \
 fprintf ((STREAM), "\t%%\t%d\n", (int) (NBYTES))
 fprintf ((STREAM), "\t%%\t%d\n", (int) (NBYTES))
 
 
#define ASM_OUTPUT_ALIGN(STREAM, POWER)                 \
#define ASM_OUTPUT_ALIGN(STREAM, POWER)                 \
  do                                                    \
  do                                                    \
    {                                                   \
    {                                                   \
      int amount = 1 << (POWER);                        \
      int amount = 1 << (POWER);                        \
                                                        \
                                                        \
      if (amount == 2)                                  \
      if (amount == 2)                                  \
        fprintf ((STREAM), "\tALIGN 2\n");              \
        fprintf ((STREAM), "\tALIGN 2\n");              \
      else if (amount == 4)                             \
      else if (amount == 4)                             \
        fprintf ((STREAM), "\tALIGN\n");                \
        fprintf ((STREAM), "\tALIGN\n");                \
      else                                              \
      else                                              \
        fprintf ((STREAM), "\tALIGN %d\n", amount);     \
        fprintf ((STREAM), "\tALIGN %d\n", amount);     \
    }                                                   \
    }                                                   \
  while (0)
  while (0)
 
 
#undef DBX_DEBUGGING_INFO
#undef DBX_DEBUGGING_INFO
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.