[i386] : Do not explicitly check symbol_operands in ix86_expand_move

Submitted by Uros Bizjak on July 27, 2011, 4:25 p.m.

Details

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

Commit Message

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 hide | download patch | download mbox

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)