Commit d24b3457 by Jan Hubicka Committed by Jan Hubicka

i386-protos.h (ix86_zero_extend_to_Pmode): Declare.

	* i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
	* i386.c (ix86_zero_extend_to_Pmode): Make global.
	* i386.md (strclrsi expander): Use it.

From-SVN: r44194
parent bc8d3f91
Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
* i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
* i386.c (ix86_zero_extend_to_Pmode): Make global.
* i386.md (strclrsi expander): Use it.
Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz> Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz>
* integrate.c (copy_insn_list): handle * integrate.c (copy_insn_list): handle
......
...@@ -119,6 +119,7 @@ extern int ix86_expand_setcc PARAMS ((enum rtx_code, rtx)); ...@@ -119,6 +119,7 @@ extern int ix86_expand_setcc PARAMS ((enum rtx_code, rtx));
extern int ix86_expand_int_movcc PARAMS ((rtx[])); extern int ix86_expand_int_movcc PARAMS ((rtx[]));
extern int ix86_expand_fp_movcc PARAMS ((rtx[])); extern int ix86_expand_fp_movcc PARAMS ((rtx[]));
extern void x86_initialize_trampoline PARAMS ((rtx, rtx, rtx)); extern void x86_initialize_trampoline PARAMS ((rtx, rtx, rtx));
extern rtx ix86_zero_extend_to_Pmode PARAMS ((rtx));
extern void ix86_split_long_move PARAMS ((rtx[])); extern void ix86_split_long_move PARAMS ((rtx[]));
extern void ix86_split_ashldi PARAMS ((rtx *, rtx)); extern void ix86_split_ashldi PARAMS ((rtx *, rtx));
extern void ix86_split_ashrdi PARAMS ((rtx *, rtx)); extern void ix86_split_ashrdi PARAMS ((rtx *, rtx));
......
...@@ -7463,7 +7463,7 @@ ix86_adjust_counter (countreg, value) ...@@ -7463,7 +7463,7 @@ ix86_adjust_counter (countreg, value)
} }
/* Zero extend possibly SImode EXP to Pmode register. */ /* Zero extend possibly SImode EXP to Pmode register. */
static rtx rtx
ix86_zero_extend_to_Pmode (exp) ix86_zero_extend_to_Pmode (exp)
rtx exp; rtx exp;
{ {
......
...@@ -15197,7 +15197,7 @@ ...@@ -15197,7 +15197,7 @@
addr2 = copy_to_mode_reg (Pmode, XEXP (operands[2], 0)); addr2 = copy_to_mode_reg (Pmode, XEXP (operands[2], 0));
count = operands[3]; count = operands[3];
countreg = copy_to_mode_reg (Pmode, count); countreg = ix86_zero_extend_to_Pmode (count);
/* %%% Iff we are testing strict equality, we can use known alignment /* %%% Iff we are testing strict equality, we can use known alignment
to good advantage. This may be possible with combine, particularly to good advantage. This may be possible with combine, particularly
......
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