Commit c5b7018e by Uros Bizjak

i386.md (*zero_extendsidi2): Mark movd alternatives SSE2 only.

	* config/i386/i386.md (*zero_extendsidi2): Mark movd alternatives
	SSE2 only.  Remove x,x alternative.
	(*zero_extendsidi2_rex64): Ditto.

From-SVN: r188630
parent 4e534d30
2012-06-14 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (*zero_extendsidi2): Mark movd alternatives
SSE2 only. Remove x,x alternative.
(*zero_extendsidi2_rex64): Ditto.
2012-06-14 Jakub Jelinek <jakub@redhat.com> 2012-06-14 Jakub Jelinek <jakub@redhat.com>
PR target/53639 PR target/53639
...@@ -82,7 +88,7 @@ ...@@ -82,7 +88,7 @@
2012-06-14 Sandeep Kumar Singh <Sandeep.Singh2@kpitcummins.com> 2012-06-14 Sandeep Kumar Singh <Sandeep.Singh2@kpitcummins.com>
* config/h8300/genmova.sh: Modified to add offset bits of * config/h8300/genmova.sh: Modified to add offset bits of
mova/Sz assembly instruction for memory access. mova/Sz assembly instruction for memory access.
* config/h8300/h8300.c: Likewise. * config/h8300/h8300.c: Likewise.
* config/h8300/mova.md: Likewise. * config/h8300/mova.md: Likewise.
...@@ -187,8 +193,7 @@ ...@@ -187,8 +193,7 @@
(read_rtx): Remove mode maps. Truncate iterator and attribute uses. (read_rtx): Remove mode maps. Truncate iterator and attribute uses.
(read_rtx_code, read_nested_rtx, read_rtx_variadic): Remove mode_maps (read_rtx_code, read_nested_rtx, read_rtx_variadic): Remove mode_maps
parameter. Use the first code iterator value instead of the parameter. Use the first code iterator value instead of the
bellwether_codes array. Use record_potential_iterator_use bellwether_codes array. Use record_potential_iterator_use for modes.
for modes.
2012-06-13 Oleg Endo <olegendo@gcc.gnu.org> 2012-06-13 Oleg Endo <olegendo@gcc.gnu.org>
......
...@@ -3467,10 +3467,10 @@ ...@@ -3467,10 +3467,10 @@
(define_insn "*zero_extendsidi2_rex64" (define_insn "*zero_extendsidi2_rex64"
[(set (match_operand:DI 0 "nonimmediate_operand" [(set (match_operand:DI 0 "nonimmediate_operand"
"=r ,o,?*Ym,?*y,?*Yi,!*x") "=r ,o,?*Ym,?*y,?*Yi,?*x")
(zero_extend:DI (zero_extend:DI
(match_operand:SI 1 "x86_64_zext_general_operand" (match_operand:SI 1 "x86_64_zext_general_operand"
"rmWz,0,r ,m ,r ,m*x")))] "rmWz,0,r ,m ,r ,m")))]
"TARGET_64BIT" "TARGET_64BIT"
"@ "@
mov{l}\t{%1, %k0|%k0, %1} mov{l}\t{%1, %k0|%k0, %1}
...@@ -3479,7 +3479,7 @@ ...@@ -3479,7 +3479,7 @@
movd\t{%1, %0|%0, %1} movd\t{%1, %0|%0, %1}
%vmovd\t{%1, %0|%0, %1} %vmovd\t{%1, %0|%0, %1}
%vmovd\t{%1, %0|%0, %1}" %vmovd\t{%1, %0|%0, %1}"
[(set_attr "isa" "*,*,*,*,*,sse2") [(set_attr "isa" "*,*,sse2,sse2,sse2,sse2")
(set_attr "type" "imovx,multi,mmxmov,mmxmov,ssemov,ssemov") (set_attr "type" "imovx,multi,mmxmov,mmxmov,ssemov,ssemov")
(set_attr "prefix" "orig,*,orig,orig,maybe_vex,maybe_vex") (set_attr "prefix" "orig,*,orig,orig,maybe_vex,maybe_vex")
(set_attr "prefix_0f" "0,*,*,*,*,*") (set_attr "prefix_0f" "0,*,*,*,*,*")
...@@ -3487,9 +3487,9 @@ ...@@ -3487,9 +3487,9 @@
(define_insn "*zero_extendsidi2" (define_insn "*zero_extendsidi2"
[(set (match_operand:DI 0 "nonimmediate_operand" [(set (match_operand:DI 0 "nonimmediate_operand"
"=ro,?r,?o,?*Ym,?*y,?*Yi,!*x") "=ro,?r,?o,?*Ym,?*y,?*Yi,?*x")
(zero_extend:DI (match_operand:SI 1 "nonimmediate_operand" (zero_extend:DI (match_operand:SI 1 "nonimmediate_operand"
"0 ,rm,r ,r ,m ,r ,m*x")))] "0 ,rm,r ,r ,m ,r ,m")))]
"!TARGET_64BIT" "!TARGET_64BIT"
"@ "@
# #
...@@ -3499,7 +3499,7 @@ ...@@ -3499,7 +3499,7 @@
movd\t{%1, %0|%0, %1} movd\t{%1, %0|%0, %1}
%vmovd\t{%1, %0|%0, %1} %vmovd\t{%1, %0|%0, %1}
%vmovd\t{%1, %0|%0, %1}" %vmovd\t{%1, %0|%0, %1}"
[(set_attr "isa" "*,*,*,*,*,*,sse2") [(set_attr "isa" "*,*,*,sse2,sse2,sse2,sse2")
(set_attr "type" "multi,multi,multi,mmxmov,mmxmov,ssemov,ssemov") (set_attr "type" "multi,multi,multi,mmxmov,mmxmov,ssemov,ssemov")
(set_attr "prefix" "*,*,*,orig,orig,maybe_vex,maybe_vex") (set_attr "prefix" "*,*,*,orig,orig,maybe_vex,maybe_vex")
(set_attr "mode" "SI,SI,SI,DI,DI,TI,TI")]) (set_attr "mode" "SI,SI,SI,DI,DI,TI,TI")])
......
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