Commit bc1aa946 by Jim Wilson

(scc pattterns): Add missing mode to conditional operators.

From-SVN: r4312
parent f87550e0
...@@ -261,7 +261,7 @@ ...@@ -261,7 +261,7 @@
(define_expand "seq" (define_expand "seq"
[(set (match_operand:SI 0 "general_operand" "=d") [(set (match_operand:SI 0 "general_operand" "=d")
(eq (match_dup 1) (const_int 0)))] (eq:SI (match_dup 1) (const_int 0)))]
"" ""
" "
{ {
...@@ -270,7 +270,7 @@ ...@@ -270,7 +270,7 @@
(define_expand "sne" (define_expand "sne"
[(set (match_operand:SI 0 "general_operand" "=d") [(set (match_operand:SI 0 "general_operand" "=d")
(ne (match_dup 1) (const_int 0)))] (ne:SI (match_dup 1) (const_int 0)))]
"" ""
" "
{ {
...@@ -279,7 +279,7 @@ ...@@ -279,7 +279,7 @@
(define_expand "sgt" (define_expand "sgt"
[(set (match_operand:SI 0 "general_operand" "=d") [(set (match_operand:SI 0 "general_operand" "=d")
(gt (match_dup 1) (const_int 0)))] (gt:SI (match_dup 1) (const_int 0)))]
"" ""
" "
{ {
...@@ -288,7 +288,7 @@ ...@@ -288,7 +288,7 @@
(define_expand "sgtu" (define_expand "sgtu"
[(set (match_operand:SI 0 "general_operand" "=d") [(set (match_operand:SI 0 "general_operand" "=d")
(gtu (match_dup 1) (const_int 0)))] (gtu:SI (match_dup 1) (const_int 0)))]
"" ""
" "
{ {
...@@ -297,7 +297,7 @@ ...@@ -297,7 +297,7 @@
(define_expand "slt" (define_expand "slt"
[(set (match_operand:SI 0 "general_operand" "=d") [(set (match_operand:SI 0 "general_operand" "=d")
(lt (match_dup 1) (const_int 0)))] (lt:SI (match_dup 1) (const_int 0)))]
"" ""
" "
{ {
...@@ -306,7 +306,7 @@ ...@@ -306,7 +306,7 @@
(define_expand "sltu" (define_expand "sltu"
[(set (match_operand:SI 0 "general_operand" "=d") [(set (match_operand:SI 0 "general_operand" "=d")
(ltu (match_dup 1) (const_int 0)))] (ltu:SI (match_dup 1) (const_int 0)))]
"" ""
" "
{ {
...@@ -315,7 +315,7 @@ ...@@ -315,7 +315,7 @@
(define_expand "sge" (define_expand "sge"
[(set (match_operand:SI 0 "general_operand" "=d") [(set (match_operand:SI 0 "general_operand" "=d")
(ge (match_dup 1) (const_int 0)))] (ge:SI (match_dup 1) (const_int 0)))]
"" ""
" "
{ {
...@@ -324,7 +324,7 @@ ...@@ -324,7 +324,7 @@
(define_expand "sgeu" (define_expand "sgeu"
[(set (match_operand:SI 0 "general_operand" "=d") [(set (match_operand:SI 0 "general_operand" "=d")
(geu (match_dup 1) (const_int 0)))] (geu:SI (match_dup 1) (const_int 0)))]
"" ""
" "
{ {
...@@ -333,7 +333,7 @@ ...@@ -333,7 +333,7 @@
(define_expand "sle" (define_expand "sle"
[(set (match_operand:SI 0 "general_operand" "=d") [(set (match_operand:SI 0 "general_operand" "=d")
(le (match_dup 1) (const_int 0)))] (le:SI (match_dup 1) (const_int 0)))]
"" ""
" "
{ {
...@@ -342,7 +342,7 @@ ...@@ -342,7 +342,7 @@
(define_expand "sleu" (define_expand "sleu"
[(set (match_operand:SI 0 "general_operand" "=d") [(set (match_operand:SI 0 "general_operand" "=d")
(leu (match_dup 1) (const_int 0)))] (leu:SI (match_dup 1) (const_int 0)))]
"" ""
" "
{ {
...@@ -351,14 +351,14 @@ ...@@ -351,14 +351,14 @@
(define_insn "" (define_insn ""
[(set (match_operand:SI 0 "general_operand" "=d") [(set (match_operand:SI 0 "general_operand" "=d")
(match_operator 1 "comparison_operator" [(reg:CC 36) (const_int 0)]))] (match_operator:SI 1 "comparison_operator" [(reg:CC 36) (const_int 0)]))]
"" ""
"test%C1 %0" "test%C1 %0"
[(set_attr "type" "compare")]) [(set_attr "type" "compare")])
(define_insn "" (define_insn ""
[(set (match_operand:SI 0 "general_operand" "=d") [(set (match_operand:SI 0 "general_operand" "=d")
(match_operator 1 "comparison_operator" [(reg:CC_UNS 36) (const_int 0)]))] (match_operator:SI 1 "comparison_operator" [(reg:CC_UNS 36) (const_int 0)]))]
"" ""
"test%C1 %0" "test%C1 %0"
[(set_attr "type" "compare")]) [(set_attr "type" "compare")])
......
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