aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2001-02-21 19:20:17 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2001-02-21 18:20:17 +0000
commit2b71bf377cc9f20f94822f3d5f41af9dc6c986cc (patch)
tree388598341e3c1a96483bb4f1d432da42afbad349 /gcc
parenteb57ffec9d052f3d1fd3e2bef786b4f3a7e275a8 (diff)
downloadgcc-2b71bf377cc9f20f94822f3d5f41af9dc6c986cc.zip
gcc-2b71bf377cc9f20f94822f3d5f41af9dc6c986cc.tar.gz
gcc-2b71bf377cc9f20f94822f3d5f41af9dc6c986cc.tar.bz2
* i386.md (mmx_lshrdi3, mmx_ashldi3): Guard by unspec.
From-SVN: r39952
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/i386.md10
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 73abcc6..fdad97d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Wed Feb 21 18:12:41 CET 2001 Jan Hubicka <jh@suse.cz>
+
+ * i386.md (mmx_lshrdi3, mmx_ashldi3): Guard by unspec.
+
2001-02-21 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md (iorsi3): Do not output an extra newline
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 1f341f4..350af1c 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -14336,8 +14336,9 @@
;; See logical MMX insns.
(define_insn "mmx_lshrdi3"
[(set (match_operand:DI 0 "register_operand" "=y")
- (lshiftrt:DI (match_operand:DI 1 "register_operand" "0")
- (match_operand:DI 2 "nonmemory_operand" "yi")))]
+ (unspec:DI
+ [(lshiftrt:DI (match_operand:DI 1 "register_operand" "0")
+ (match_operand:DI 2 "nonmemory_operand" "yi"))] 45))]
"TARGET_MMX"
"psrlq\\t{%2, %0|%0, %2}"
[(set_attr "type" "mmx")])
@@ -14361,8 +14362,9 @@
;; See logical MMX insns.
(define_insn "mmx_ashldi3"
[(set (match_operand:DI 0 "register_operand" "=y")
- (ashift:DI (match_operand:DI 1 "register_operand" "0")
- (match_operand:DI 2 "nonmemory_operand" "yi")))]
+ (unspec:DI
+ [(ashift:DI (match_operand:DI 1 "register_operand" "0")
+ (match_operand:DI 2 "nonmemory_operand" "yi"))] 45))]
"TARGET_MMX"
"psllq\\t{%2, %0|%0, %2}"
[(set_attr "type" "mmx")])