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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [config/] [or32/] [or32.h] - Diff between revs 282 and 332

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 282 Rev 332
Line 365... Line 365...
  }
  }
 
 
/* Base register for access to arguments of the function.  */
/* Base register for access to arguments of the function.  */
#define ARG_POINTER_REGNUM FRAME_POINTER_REGNUM
#define ARG_POINTER_REGNUM FRAME_POINTER_REGNUM
 
 
/* Register in which static-chain is passed to a function.  */
/* Register in which static-chain is passed to a function.
#define STATIC_CHAIN_REGNUM 0
 
 
   JPB 4-Sep-10: r0 was the wrong thing to use here. I'll take a punt at
 
                 using r11 (return value reg). This is a change to the
 
                 ABI, which needs documenting. */
 
#define STATIC_CHAIN_REGNUM 11
 
 
/* Register in which address to store a structure value
/* Register in which address to store a structure value
   is passed to a function.  */
   is passed to a function.  */
/*#define STRUCT_VALUE_REGNUM 0*/
/*#define STRUCT_VALUE_REGNUM 0*/
 
 
Line 1334... Line 1338...
    default:                                                            \
    default:                                                            \
      output_addr_const (stream, addr);                                 \
      output_addr_const (stream, addr);                                 \
    }                                                                   \
    }                                                                   \
}
}
 
 
/* Trampoline stuff are stubs yet to be written */
/* The size of the trampoline in bytes. This is a block of code followed by
#define TRAMPOLINE_SIZE 26
   two words specifying the function address and static chain pointer. */
 
#define TRAMPOLINE_SIZE                                                 \
 
  (or32_trampoline_code_size + GET_MODE_SIZE (ptr_mode) * 2)
 
 
 
/* Alignment required for trampolines, in bits.
 
 
 
   For the OR32, there is no need for anything other than word alignment. */
 
#define TRAMPOLINE_ALIGNMENT  32
 
 
/* Mark functions for garbage collection. */
/* Mark functions for garbage collection. */
extern GTY(()) rtx or32_compare_op0;
extern GTY(()) rtx or32_compare_op0;
extern GTY(()) rtx or32_compare_op1;
extern GTY(()) rtx or32_compare_op1;
 
 

powered by: WebSVN 2.1.0

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