Commit cb297538 by Jan Hubicka Committed by Jan Hubicka

* i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt correctly.

From-SVN: r61128
parent cf53ae10
Thu Jan 9 22:47:38 CET 2003 Jan Hubicka <jh@suse.cz>
* i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt correctly.
2003-01-09 Paolo Carlini <pcarlini@unitus.it>
* doc/tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo.
......
......@@ -161,7 +161,7 @@
(cond [(eq_attr "type" "fmov,fop,fsgn,fmul,fdiv,fpspc,fcmov,fcmp,fxch,fistp")
(const_string "i387")
(eq_attr "type" "sselog,sseiadd,sseishft,sseimul,
sse,ssemov,sseadd,ssemul,ssecmp,ssecomi,ssecvt,ssediv")
sse,ssemov,sseadd,ssemul,ssecmp,ssecomi,ssecvt,sseicvt,ssediv")
(const_string "sse")
(eq_attr "type" "mmx,mmxmov,mmxadd,mmxmul,mmxcmp,mmxcvt,mmxshft")
(const_string "mmx")
......@@ -225,11 +225,8 @@
;; Set when 0f opcode prefix is used.
(define_attr "prefix_0f" ""
(if_then_else
(eq_attr "type"
"imovx,setcc,icmov,
sselog,sseiadd,sseishft,sseimul,
sse,ssemov,sseadd,ssemul,ssecmp,ssecomi,ssecvt,ssediv,
mmx,mmxmov,mmxadd,mmxmul,mmxcmp,mmxcvt,mmxshft")
(ior (eq_attr "type" "imovx,setcc,icmov")
(eq_attr "unit" "sse,mmx"))
(const_int 1)
(const_int 0)))
......@@ -350,7 +347,7 @@
"!alu1,negnot,
imov,imovx,icmp,test,
fmov,fcmp,fsgn,
sse,ssemov,ssecmp,ssecomi,ssecvt,
sse,ssemov,ssecmp,ssecomi,ssecvt,sseicvt,
mmx,mmxmov,mmxcmp,mmxcvt")
(match_operand 2 "memory_operand" ""))
(const_string "load")
......
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