Commit e093d046 by H.J. Lu Committed by H.J. Lu

i386: Allow MMXMODE moves with TARGET_MMX_WITH_SSE

	PR target/89021
	* config/i386/mmx.md (MMXMODE:mov<mode>): Also allow
	TARGET_MMX_WITH_SSE.
	(MMXMODE:*mov<mode>_internal): Likewise.
	(MMXMODE:movmisalign<mode>): Likewise.

From-SVN: r271250
parent ebd3c067
2019-05-15 H.J. Lu <hongjiu.lu@intel.com>
PR target/89021
* config/i386/mmx.md (MMXMODE:mov<mode>): Also allow
TARGET_MMX_WITH_SSE.
(MMXMODE:*mov<mode>_internal): Likewise.
(MMXMODE:movmisalign<mode>): Likewise.
2019-05-15 Uroš Bizjak <ubizjak@gmail.com> 2019-05-15 Uroš Bizjak <ubizjak@gmail.com>
PR target/89021 PR target/89021
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
(define_expand "mov<mode>" (define_expand "mov<mode>"
[(set (match_operand:MMXMODE 0 "nonimmediate_operand") [(set (match_operand:MMXMODE 0 "nonimmediate_operand")
(match_operand:MMXMODE 1 "nonimmediate_operand"))] (match_operand:MMXMODE 1 "nonimmediate_operand"))]
"TARGET_MMX" "TARGET_MMX || TARGET_MMX_WITH_SSE"
{ {
ix86_expand_vector_move (<MODE>mode, operands); ix86_expand_vector_move (<MODE>mode, operands);
DONE; DONE;
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
"=r ,o ,r,r ,m ,?!y,!y,?!y,m ,r ,?!y,v,v,v,m,r,v,!y,*x") "=r ,o ,r,r ,m ,?!y,!y,?!y,m ,r ,?!y,v,v,v,m,r,v,!y,*x")
(match_operand:MMXMODE 1 "nonimm_or_0_operand" (match_operand:MMXMODE 1 "nonimm_or_0_operand"
"rCo,rC,C,rm,rC,C ,!y,m ,?!y,?!y,r ,C,v,m,v,v,r,*x,!y"))] "rCo,rC,C,rm,rC,C ,!y,m ,?!y,?!y,r ,C,v,m,v,v,r,*x,!y"))]
"TARGET_MMX "(TARGET_MMX || TARGET_MMX_WITH_SSE)
&& !(MEM_P (operands[0]) && MEM_P (operands[1]))" && !(MEM_P (operands[0]) && MEM_P (operands[1]))"
{ {
switch (get_attr_type (insn)) switch (get_attr_type (insn))
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
(define_expand "movmisalign<mode>" (define_expand "movmisalign<mode>"
[(set (match_operand:MMXMODE 0 "nonimmediate_operand") [(set (match_operand:MMXMODE 0 "nonimmediate_operand")
(match_operand:MMXMODE 1 "nonimmediate_operand"))] (match_operand:MMXMODE 1 "nonimmediate_operand"))]
"TARGET_MMX" "TARGET_MMX || TARGET_MMX_WITH_SSE"
{ {
ix86_expand_vector_move (<MODE>mode, operands); ix86_expand_vector_move (<MODE>mode, operands);
DONE; DONE;
......
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