mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
41d9ec3c24
commit
c5a237e923
|
|
@ -1,3 +1,9 @@
|
||||||
|
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>
|
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
|
||||||
|
|
@ -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 @@
|
||||||
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 @@
|
||||||
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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue