Commit c5a237e9 by Uros Bizjak Committed by Uros Bizjak

i386.md (*movabs<mode>_1): Add explicit size directives for -masm=intel.

	* config/i386/i386.md (*movabs<mode>_1): Add explicit
	size directives for -masm=intel.
	(*movabs<mode>_2): Ditto.

From-SVN: r230119
parent 41d9ec3c
2015-11-10 Uros Bizjak <ubizjak@gmail.com> 2015-11-10 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (*movabs<mode>_1): Add explicit
size directives for -masm=intel.
(*movabs<mode>_2): Ditto.
2015-11-10 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (ix86_print_operand): Remove dead code that * config/i386/i386.c (ix86_print_operand): Remove dead code that
tried to avoid (%rip) for call operands. tried to avoid (%rip) for call operands.
...@@ -9,6 +15,9 @@ ...@@ -9,6 +15,9 @@
argument. Do not use RIP relative addressing when no_rip is set. 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): Update call to ix86_print_operand_address_as.
(ix86_print_operand_address): Ditto. (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.
2015-11-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 2015-11-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
...@@ -2601,7 +2601,7 @@ ...@@ -2601,7 +2601,7 @@
switch (which_alternative) switch (which_alternative)
{ {
case 0: case 0:
return "movabs{<imodesuffix>}\t{%1, %P0|[%P0], %1}"; return "movabs{<imodesuffix>}\t{%1, %P0|<iptrsize> PTR [%P0], %1}";
case 1: case 1:
return "mov{<imodesuffix>}\t{%1, %0|%0, %1}"; return "mov{<imodesuffix>}\t{%1, %0|%0, %1}";
default: default:
...@@ -2625,7 +2625,7 @@ ...@@ -2625,7 +2625,7 @@
switch (which_alternative) switch (which_alternative)
{ {
case 0: case 0:
return "movabs{<imodesuffix>}\t{%P1, %0|%0, [%P1]}"; return "movabs{<imodesuffix>}\t{%P1, %0|%0, <iptrsize> PTR [%P1]}";
case 1: case 1:
return "mov{<imodesuffix>}\t{%1, %0|%0, %1}"; return "mov{<imodesuffix>}\t{%1, %0|%0, %1}";
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment