From: Richard Henderson Date: Mon, 24 Dec 2001 03:08:23 +0000 (-0800) Subject: alpha.md (UNSPEC_SIBCALL): New. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c5b3a39ef4e75784e8210b2f7f8d8f258c0d37d0;p=gcc.git alpha.md (UNSPEC_SIBCALL): New. * config/alpha/alpha.md (UNSPEC_SIBCALL): New. (sibcall, sibcall_value, sibcall_osf_1_er, sibcall_osf_1): Use it. (sibcall_value_osf_1_er, sibcall_value_osf_1): Likewise. From-SVN: r48295 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1b84b719068..8ea8d35738e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-12-23 Richard Henderson + + * config/alpha/alpha.md (UNSPEC_SIBCALL): New. + (sibcall, sibcall_value, sibcall_osf_1_er, sibcall_osf_1): Use it. + (sibcall_value_osf_1_er, sibcall_value_osf_1): Likewise. + 2001-12-23 Joseph S. Myers * c-typeck.c (c_start_case): Don't strip conversions from the diff --git a/gcc/config/alpha/alpha.md b/gcc/config/alpha/alpha.md index 605c56ca082..7ab782a36e7 100644 --- a/gcc/config/alpha/alpha.md +++ b/gcc/config/alpha/alpha.md @@ -38,6 +38,7 @@ (UNSPEC_LDGP2 10) (UNSPEC_LITERAL 11) (UNSPEC_LITUSE 12) + (UNSPEC_SIBCALL 13) ]) ;; UNSPEC_VOLATILE: @@ -4582,7 +4583,7 @@ fadd,fmul,fcpys,fdiv,fsqrt,misc,mvi,ftoi,itof,multi" (define_expand "sibcall" [(parallel [(call (mem:DI (match_operand 0 "" "")) (match_operand 1 "" "")) - (use (reg:DI 29))])] + (unspec [(reg:DI 29)] UNSPEC_SIBCALL)])] "TARGET_ABI_OSF" { if (GET_CODE (operands[0]) != MEM) @@ -4710,7 +4711,7 @@ fadd,fmul,fcpys,fdiv,fsqrt,misc,mvi,ftoi,itof,multi" [(parallel [(set (match_operand 0 "" "") (call (mem:DI (match_operand 1 "" "")) (match_operand 2 "" ""))) - (use (reg:DI 29))])] + (unspec [(reg:DI 29)] UNSPEC_SIBCALL)])] "TARGET_ABI_OSF" { if (GET_CODE (operands[1]) != MEM) @@ -4920,7 +4921,7 @@ fadd,fmul,fcpys,fdiv,fsqrt,misc,mvi,ftoi,itof,multi" (define_insn "*sibcall_osf_1_er" [(call (mem:DI (match_operand:DI 0 "symbolic_operand" "R,s")) (match_operand 1 "" "")) - (use (reg:DI 29))] + (unspec [(reg:DI 29)] UNSPEC_SIBCALL)] "TARGET_EXPLICIT_RELOCS && TARGET_ABI_OSF" "@ br $31,$%0..ng @@ -4931,7 +4932,7 @@ fadd,fmul,fcpys,fdiv,fsqrt,misc,mvi,ftoi,itof,multi" (define_insn "*sibcall_osf_1" [(call (mem:DI (match_operand:DI 0 "symbolic_operand" "R,s")) (match_operand 1 "" "")) - (use (reg:DI 29))] + (unspec [(reg:DI 29)] UNSPEC_SIBCALL)] "! TARGET_EXPLICIT_RELOCS && TARGET_ABI_OSF" "@ br $31,$%0..ng @@ -6932,7 +6933,7 @@ fadd,fmul,fcpys,fdiv,fsqrt,misc,mvi,ftoi,itof,multi" [(set (match_operand 0 "" "") (call (mem:DI (match_operand:DI 1 "symbolic_operand" "R,s")) (match_operand 2 "" ""))) - (use (reg:DI 29))] + (unspec [(reg:DI 29)] UNSPEC_SIBCALL)] "TARGET_EXPLICIT_RELOCS && TARGET_ABI_OSF" "@ br $31,$%1..ng @@ -6944,7 +6945,7 @@ fadd,fmul,fcpys,fdiv,fsqrt,misc,mvi,ftoi,itof,multi" [(set (match_operand 0 "" "") (call (mem:DI (match_operand:DI 1 "symbolic_operand" "R,s")) (match_operand 2 "" ""))) - (use (reg:DI 29))] + (unspec [(reg:DI 29)] UNSPEC_SIBCALL)] "! TARGET_EXPLICIT_RELOCS && TARGET_ABI_OSF" "@ br $31,$%1..ng