From: Richard Henderson Date: Sat, 7 Nov 1998 11:38:33 +0000 (-0800) Subject: i386.md (call_value_pop): If we're not popping anything, defer to call_value. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35e2d030db97552fd1980f0efec744d65288077d;p=gcc.git i386.md (call_value_pop): If we're not popping anything, defer to call_value. * i386.md (call_value_pop): If we're not popping anything, defer to call_value. (call_pop): Likewise defer to call. From-SVN: r23556 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f74d64b2969..ea3e6619115 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Sat Nov 7 11:37:53 1998 Richard Henderson + + * i386.md (call_value_pop): If we're not popping anything, + defer to call_value. + (call_pop): Likewise defer to call. + Sat Nov 7 02:49:56 1998 Richard Henderson * function.c (purge_addressof): Clear purge_addressof_replacements diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index e1f026a005e..57195df2dcd 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -6101,6 +6101,12 @@ byte_xor_operation: { rtx addr; + if (operands[3] == const0_rtx) + { + emit_insn (gen_call (operands[0], operands[1])); + DONE; + } + if (flag_pic) current_function_uses_pic_offset_table = 1; @@ -6203,6 +6209,12 @@ byte_xor_operation: { rtx addr; + if (operands[4] == const0_rtx) + { + emit_insn (gen_call_value (operands[0], operands[1], operands[2])); + DONE; + } + if (flag_pic) current_function_uses_pic_offset_table = 1;