Patchwork [i386] : Do not explicitly check symbol_operands in ix86_expand_move

login
register
mail settings
Submitter Uros Bizjak
Date July 27, 2011, 4:25 p.m.
Message ID <CAFULd4adp2F4bUoayUWEGQD8tmjocES3wx_e8sKJvJyDDKj5Wg@mail.gmail.com>
Download mbox | patch
Permalink /patch/107127/
State New
Headers show

Comments

Uros Bizjak - July 27, 2011, 4:25 p.m.
Hello!

There is no way symbol_operand uses non-DI or non-SI modes on x86.

2011-07-27  Uros Bizjak  <ubizjak@gmail.com>

	* config/i386/i386.c (ix86_expand_move): Do not explicitly check
	the mode of symbolic_opreand RTXes.

Tested on x86_64-pc-linux-gnu {,-m32}. Committed to mainline SVN.

Uros.

Patch

Index: config/i386/i386.c
===================================================================
--- config/i386/i386.c	(revision 176833)
+++ config/i386/i386.c	(working copy)
@@ -15032,7 +15032,6 @@ 
     }

   if ((flag_pic || MACHOPIC_INDIRECT)
-      && (mode == SImode || mode == DImode)
       && symbolic_operand (op1, mode))
     {
       if (TARGET_MACHO && !TARGET_64BIT)