Replace UNSPEC_STACK_CHECK with UNSPECV_SPLIT_STACK_RETURN.

2010-10-27  Ian Lance Taylor  <iant@google.com>

	PR target/46197
	* config/i386/i386.md (UNSPECV_SPLIT_STACK_RETURN): New.
	(split_stack_return): Replace UNSPEC_STACK_CHECK with
	UNSPECV_SPLIT_STACK_RETURN.

From-SVN: r166001
This commit is contained in:
Ian Lance Taylor 2010-10-27 13:32:54 +00:00 committed by H.J. Lu
parent 2767a7f210
commit 9c042d80ae
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2010-10-27 Ian Lance Taylor <iant@google.com>
PR target/46197
* config/i386/i386.md (UNSPECV_SPLIT_STACK_RETURN): New.
(split_stack_return): Replace UNSPEC_STACK_CHECK with
UNSPECV_SPLIT_STACK_RETURN.
2010-10-27 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386-protos.h (init_cumulative_args): Add an int.

View File

@ -261,6 +261,7 @@
UNSPECV_WRFSBASE
UNSPECV_WRGSBASE
UNSPECV_RDRAND
UNSPECV_SPLIT_STACK_RETURN
])
;; Constants to represent pcomtrue/pcomfalse variants
@ -11752,7 +11753,7 @@
;; instruction which the middle-end doesn't see.
(define_insn "split_stack_return"
[(unspec_volatile [(match_operand:SI 0 "const_int_operand" "")]
UNSPEC_STACK_CHECK)]
UNSPECV_SPLIT_STACK_RETURN)]
""
{
if (operands[0] == const0_rtx)