[i386] : Emit CLOBBERs in VOIDmode

Submitted by Uros Bizjak on Nov. 20, 2012, 12:56 p.m.

Details

Message ID CAFULd4YeqoLMeXM9hFz_evzPTFPKZU0Vxo2dieuY9sySifhACQ@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Nov. 20, 2012, 12:56 p.m.
Hello!

2012-11-20  Uros Bizjak  <ubizjak@gmail.com>

	* config/i386/i386.c (ix86_expand_call): Emit CLOBBERs in VOIDmode.

Tested on x86_64-linux-gnu {,-m32}, committed to mainline.

Uros.

Patch hide | download patch | download mbox

Index: config/i386/i386.c
===================================================================
--- config/i386/i386.c	(revision 193657)
+++ config/i386/i386.c	(working copy)
@@ -23528,9 +23528,8 @@  ix86_expand_call (rtx retval, rtx fnaddr, rtx call
 				       UNSPEC_MS_TO_SYSV_CALL);
 
       for (i = 0; i < ARRAY_SIZE (clobbered_registers); i++)
-        vec[vec_len++]
-	  = gen_rtx_CLOBBER (SSE_REGNO_P (clobbered_registers[i])
-			     ? TImode : DImode,
+	vec[vec_len++]
+	  = gen_rtx_CLOBBER (VOIDmode,
 			     gen_rtx_REG (SSE_REGNO_P (clobbered_registers[i])
 					  ? TImode : DImode,
 					  clobbered_registers[i]));