Commit e1175f68 by Richard Sandiford Committed by Aldy Hernandez

* config/frv/frv.h (EPILOGUE_USES): New. Use LR.

From-SVN: r85271
parent eef3c949
2004-07-28 Richard Sandiford <rsandifo@redhat.com> 2004-07-28 Richard Sandiford <rsandifo@redhat.com>
* config/frv/frv.h (EPILOGUE_USES): New. Use LR.
2004-07-28 Richard Sandiford <rsandifo@redhat.com>
* cse.c (validate_canon_reg): New function, split out from... * cse.c (validate_canon_reg): New function, split out from...
(canon_reg): ...here. Use validate_canon_reg for both 'e' and 'E'. (canon_reg): ...here. Use validate_canon_reg for both 'e' and 'E'.
......
...@@ -959,6 +959,8 @@ extern int target_flags; ...@@ -959,6 +959,8 @@ extern int target_flags;
#define EH_RETURN_STACKADJ_RTX gen_rtx_REG (SImode, STACKADJ_REGNO) #define EH_RETURN_STACKADJ_RTX gen_rtx_REG (SImode, STACKADJ_REGNO)
#define EH_RETURN_HANDLER_RTX RETURN_ADDR_RTX (0, frame_pointer_rtx) #define EH_RETURN_HANDLER_RTX RETURN_ADDR_RTX (0, frame_pointer_rtx)
#define EPILOGUE_USES(REGNO) ((REGNO) == LR_REGNO)
/* An initializer that says which registers are used for fixed purposes all /* An initializer that says which registers are used for fixed purposes all
throughout the compiled code and are therefore not available for general throughout the compiled code and are therefore not available for general
allocation. These would include the stack pointer, the frame pointer allocation. These would include the stack pointer, the frame pointer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment