Commit ffdda752 by Andreas Krebbel Committed by Ulrich Weigand

s390.c (s390_fixed_condition_code_regs): New function.

2004-11-05  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.c (s390_fixed_condition_code_regs): New function.
	(TARGET_FIXED_CONDITION_CODE_REGS): Macro defined.

From-SVN: r90126
parent adf3ed3f
2004-11-05 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (s390_fixed_condition_code_regs): New function.
(TARGET_FIXED_CONDITION_CODE_REGS): Macro defined.
2004-11-05 Nathan Sidwell <nathan@codesourcery.com>
* bitmap.h (enum bitmap_bits): Remove.
......
......@@ -81,6 +81,7 @@ static bool s390_function_ok_for_sibcall (tree, tree);
static bool s390_call_saved_register_used (tree);
static bool s390_pass_by_reference (CUMULATIVE_ARGS *, enum machine_mode mode,
tree, bool);
static bool s390_fixed_condition_code_regs (unsigned int *, unsigned int *);
#undef TARGET_ASM_ALIGNED_HI_OP
#define TARGET_ASM_ALIGNED_HI_OP "\t.word\t"
......@@ -156,6 +157,9 @@ static bool s390_pass_by_reference (CUMULATIVE_ARGS *, enum machine_mode mode,
#undef TARGET_FUNCTION_OK_FOR_SIBCALL
#define TARGET_FUNCTION_OK_FOR_SIBCALL s390_function_ok_for_sibcall
#undef TARGET_FIXED_CONDITION_CODE_REGS
#define TARGET_FIXED_CONDITION_CODE_REGS s390_fixed_condition_code_regs
struct gcc_target targetm = TARGET_INITIALIZER;
extern int reload_completed;
......@@ -8332,6 +8336,17 @@ s390_function_ok_for_sibcall (tree decl, tree exp)
return true;
}
/* Return the fixed registers used for condition codes. */
static bool
s390_fixed_condition_code_regs (unsigned int *p1, unsigned int *p2)
{
*p1 = CC_REGNUM;
*p2 = INVALID_REGNUM;
return true;
}
/* This function is used by the call expanders of the machine description.
It emits the call insn itself together with the necessary operations
to adjust the target address and returns the emitted insn.
......
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