i386.c (ix86_print_operand): Remove dead code that tried to avoid (%rip) for call...
authorUros Bizjak <ubizjak@gmail.com>
Tue, 10 Nov 2015 17:48:31 +0000 (18:48 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 10 Nov 2015 17:48:31 +0000 (18:48 +0100)
commit41d9ec3c24885c2d9731fe99244104758ed44453
treea1931e1814374f90c5e684873599767a012d3541
parent6a9ee02f7afa32a1bded5d4d0644ac1b02064148
i386.c (ix86_print_operand): Remove dead code that tried to avoid (%rip) for call operands.

* config/i386/i386.c (ix86_print_operand): Remove dead code that
tried to avoid (%rip) for call operands.

* config/i386/i386.c (ix86_print_operand_address_as): Add no_rip
argument.  Do not use RIP relative addressing when no_rip is set.
(ix86_print_operand): Update call to ix86_print_operand_address_as.
(ix86_print_operand_address): Ditto.
* config/i386/i386.md (*movabs<mode>_1): Use %P modifier for
absolute movabs operand 0.  Add square braces for -masm=intel.
(*movabs<mode>_2): Ditto for operand 1.

From-SVN: r230117
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md