summaryrefslogtreecommitdiff
path: root/gcc/config/mn10200
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-07-07 10:45:12 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-07-07 10:45:12 +0000
commit85a66f1709530118efc54b865b6cec59b481cd24 (patch)
tree47f790cb56d1a0ecbd33ac0c408169f615d5e896 /gcc/config/mn10200
parentc4901273e758ce83a620e5f815ef113546ef3c73 (diff)
downloadgcc-85a66f1709530118efc54b865b6cec59b481cd24.tar.gz
* mn10200.md (various zero/sign extension patterns): zero and sign
extensions which use "sub" clobber cc0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20992 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mn10200')
-rw-r--r--gcc/config/mn10200/mn10200.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/mn10200/mn10200.md b/gcc/config/mn10200/mn10200.md
index fe46101130b..7659ce763cc 100644
--- a/gcc/config/mn10200/mn10200.md
+++ b/gcc/config/mn10200/mn10200.md
@@ -1020,7 +1020,7 @@
extxbu %L0\;sub %H0,%H0
mov %1,%L0\;extxbu %L0\;sub %H0,%H0
movbu %1,%L0\;sub %H0,%H0"
- [(set_attr "cc" "none_0hit")])
+ [(set_attr "cc" "clobber")])
(define_insn "zero_extendhipsi2"
[(set (match_operand:PSI 0 "general_operand" "=d,d,d")
@@ -1041,7 +1041,7 @@
"@
sub %H0,%H0
mov %1,%L0\;sub %H0,%H0"
- [(set_attr "cc" "none_0hit")])
+ [(set_attr "cc" "clobber,clobber")])
;; The last alternative is necessary because the second operand might
;; have been the frame pointer. The frame pointer would get replaced
@@ -1118,7 +1118,7 @@
else
return \"movb %1,%L0\;mov %L0,%H0\;add %H0,%H0\;subc %H0,%H0\";
}"
- [(set_attr "cc" "none_0hit")])
+ [(set_attr "cc" "clobber")])
(define_insn "extendhipsi2"
[(set (match_operand:PSI 0 "general_operand" "=d,d,d")
@@ -1140,7 +1140,7 @@
mov %L0,%H0\;add %H0,%H0\;subc %H0,%H0
mov %1,%L0\;mov %L0,%H0\;add %H0,%H0\;subc %H0,%H0
mov %1,%L0\;mov %L0,%H0\;add %H0,%H0\;subc %H0,%H0"
- [(set_attr "cc" "none_0hit")])
+ [(set_attr "cc" "clobber")])
;; The last alternative is necessary because the second operand might
;; have been the frame pointer. The frame pointer would get replaced
@@ -1186,7 +1186,7 @@
extxbu %L0\;sub %H0,%H0
mov %1,%L0\;extxbu %L0\;sub %H0,%H0
movbu %1,%L0\;sub %H0,%H0"
- [(set_attr "cc" "none_0hit")])
+ [(set_attr "cc" "clobber")])
(define_insn ""
[(set (match_operand:PSI 0 "general_operand" "=d,d,d")