Replace rip lea with eip

Fix for the POINTERS_EXTEND_UNSIGNED > 0 problem of keeping high part of rip.

Note that ix86_lea_decompose_address does not produce pc_rtx in base or index even if -fPIC is used: pc_rtx is added later in print_operand_address_parts. That's why we are handling !base and !index case here.

BUG=http://code.google.com/p/nativeclient/issues/detail?id=1304
TEST=see reproducer in bug above

R=eaeltsin@google.com

Review URL: https://chromiumcodereview.appspot.com/10386087
3 files changed