Use x86_64_*_operand in LEA splitters

Similar to the previous fix, these patterns need to use a constraint
that will reject a SYMBOL_REF expression in -m64 -fPIC.  That is not
how these patterns were handled in upstream -mx32 support.  But the
situation is substantially different there and possibly this is not
the relevant change there because Pmode is SImode for -mx32 while
it's still DImode for x86_64-nacl-gcc -m64.  (That said, I don't
actually understand what RTL transformations happen differently in
this case upstream under -mx32 to prevent it from exhibiting this
bug--which it does not--without this constraint change.)

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3598
TEST= toolchain trybots
R=khim@chromium.org

Review URL: https://codereview.chromium.org/21318002
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index a260bad..d3ebde4 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -6082,7 +6082,7 @@
   [(set (match_operand 0 "register_operand" "=r")
 	(plus (mult (match_operand 1 "index_register_operand" "l")
 		    (match_operand 2 "const248_operand" "i"))
-	      (match_operand 3 "nonmemory_operand" "re")))]
+	      (match_operand 3 "x86_64_nonmemory_operand" "re")))]
   "(GET_MODE (operands[0]) == QImode || GET_MODE (operands[0]) == HImode
     || (TARGET_64BIT && GET_MODE (operands[0]) == SImode))
    && (!TARGET_PARTIAL_REG_STALL || optimize_function_for_size_p (cfun))
@@ -6115,7 +6115,7 @@
 	(zero_extend:DI
 	  (plus:SI (mult:SI (match_operand:SI 1 "index_register_operand" "l")
 			    (match_operand:SI 2 "const248_operand" "n"))
-		   (match_operand:SI 3 "nonmemory_operand" "re"))))]
+		   (match_operand:SI 3 "x86_64_nonmemory_operand" "re"))))]
   "TARGET_64BIT"
   "#"
   "&& reload_completed"
@@ -6138,7 +6138,7 @@
 	(plus (plus (mult (match_operand 1 "index_register_operand" "l")
 			  (match_operand 2 "const248_operand" "i"))
 		    (match_operand 3 "register_operand" "r"))
-	      (match_operand 4 "immediate_operand" "i")))]
+	      (match_operand 4 "x86_64_immediate_operand" "i")))]
   "(GET_MODE (operands[0]) == QImode || GET_MODE (operands[0]) == HImode
     || (TARGET_64BIT && GET_MODE (operands[0]) == SImode))
    && (!TARGET_PARTIAL_REG_STALL || optimize_function_for_size_p (cfun))