URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/gnu-src/gcc-4.5.1/gcc/config/or32
- from Rev 518 to Rev 522
- ↔ Reverse comparison
Rev 518 → Rev 522
/or32.md
365,9 → 365,9
"l.movhi \t%0,hi(%1)\;l.ori \t%0,%0,lo(%1)" |
;; the switch of or32 bfd to Rela allows us to schedule insns separately. |
"(GET_CODE (operands[1]) != CONST_INT |
|| ! (CONST_OK_FOR_CONSTRAINT_P (INTVAL (operands[1]),'I', \"I\") |
|| CONST_OK_FOR_CONSTRAINT_P (INTVAL (operands[1]),'K', \"K\") |
|| CONST_OK_FOR_CONSTRAINT_P (INTVAL (operands[1]), 'M', \"M\"))) |
|| ! (CONST_OK_FOR_CONSTRAINT_P (INTVAL (operands[1]), 'I', \"I\") |
|| CONST_OK_FOR_CONSTRAINT_P (INTVAL (operands[1]), 'K', \"K\") |
|| CONST_OK_FOR_CONSTRAINT_P (INTVAL (operands[1]), 'M', \"M\"))) |
&& reload_completed |
&& GET_CODE (operands[1]) != HIGH && GET_CODE (operands[1]) != LO_SUM" |
[(pc)] |
713,13 → 713,13
;; |
(define_insn_and_split "movdi" |
[(set (match_operand:DI 0 "nonimmediate_operand" "=r, r, m, r") |
(match_operand:DI 1 "general_operand" " r, m, r, n"))] |
(match_operand:DI 1 "general_operand" " r, m, r, n"))] |
"" |
"* |
return or32_output_move_double (operands); |
" |
"&& reload_completed && CONSTANT_P (operands[1])" |
[(set (match_dup 2) (match_dup 3)) (set (match_dup 4) (match_dup 5))] |
[(set (match_dup 2) (match_dup 3)) (set (match_dup 4) (match_dup 5))] |
"operands[2] = operand_subword (operands[0], 0, 0, DImode); |
operands[3] = operand_subword (operands[1], 0, 0, DImode); |
operands[4] = operand_subword (operands[0], 1, 0, DImode); |
/or32.h
48,16 → 48,14
|
#undef CPP_SPEC |
#define CPP_SPEC \ |
"%{!mnewlib*:%{pthread:-D_XOPEN_SOURCE=700}}" \ |
"%{mnewlib*:-idirafter %(target_prefix)/newlib-include}" |
"%{!mnewlib:%{pthread:-D_XOPEN_SOURCE=700}}" |
|
/* Make sure we pick up the crti.o, crtbegin.o, crtend.o and crtn.o files. */ |
#undef STARTFILE_SPEC |
#define STARTFILE_SPEC \ |
"%{!shared:"\ |
"%{mnewlib*:%(target_prefix)/lib/crt0.o} "\ |
"%{mnewlib-*:%(target_prefix)/lib/crtparam-%*.o} "\ |
"%{!mnewlib*:crt0.o%s} crti.o%s crtbegin.o%s}" |
"%{mnewlib:%(target_prefix)/lib/crt0.o} "\ |
"%{!mnewlib:crt0.o%s} crti.o%s crtbegin.o%s}" |
|
#undef ENDFILE_SPEC |
#define ENDFILE_SPEC "crtend.o%s crtn.o%s" |
789,7 → 787,6
#define RETURN_ADDR_RTX(COUNT, FP) \ |
((COUNT) ? NULL_RTX : get_hard_reg_initial_val (Pmode, LINK_REGNUM)) |
|
|
/* Addressing modes, and classification of registers for them. */ |
|
/* #define HAVE_POST_INCREMENT */ |
1005,12 → 1002,8
#undef DWARF2_FRAME_INFO |
#define DWARF2_FRAME_INFO 1 |
|
/* Macro to idenfity where the incoming return address is on a function call |
before the start of the prologue (i.e. the link register). Used to produce |
DWARF2 frame debug info when DWARF2_UNWIND_INFO is non-zero. Override any |
default value. */ |
#undef INCOMING_RETURN_ADDR_RTX |
#define INCOMING_RETURN_ADDR_RTX gen_rtx_REG (Pmode, LINK_REGNUM) |
/* Macro specifying which register holds the return address */ |
#define DWARF_FRAME_RETURN_COLUMN DWARF_FRAME_REGNUM (LINK_REGNUM) |
|
/* Where is the start of our stack frame in relation to the end of the |
previous stack frame at the start of a function, before the prologue */ |