Commit 20c907b0 by Kazu Hirata Committed by Kazu Hirata

* config/h8300/h8300.md: Fix formatting.

From-SVN: r48348
parent 7addeb4d
2001-12-28 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md: Fix formatting.
2001-12-28 Geoff Keating <geoffk@redhat.com> 2001-12-28 Geoff Keating <geoffk@redhat.com>
* varasm.c (record_constant_1): Correct parameter to recursive * varasm.c (record_constant_1): Correct parameter to recursive
......
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
[(set (match_operand:QI 0 "general_operand_dst" "=r,r ,<,r,r,m") [(set (match_operand:QI 0 "general_operand_dst" "=r,r ,<,r,r,m")
(match_operand:QI 1 "general_operand_src" " I,r>,r,n,m,r"))] (match_operand:QI 1 "general_operand_src" " I,r>,r,n,m,r"))]
"TARGET_H8300 "TARGET_H8300
&& (register_operand (operands[0],QImode) && (register_operand (operands[0], QImode)
|| register_operand (operands[1], QImode))" || register_operand (operands[1], QImode))"
"@ "@
sub.b %X0,%X0 sub.b %X0,%X0
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
[(set (match_operand:QI 0 "general_operand_dst" "=r,r ,<,r,r,m") [(set (match_operand:QI 0 "general_operand_dst" "=r,r ,<,r,r,m")
(match_operand:QI 1 "general_operand_src" " I,r>,r,n,m,r"))] (match_operand:QI 1 "general_operand_src" " I,r>,r,n,m,r"))]
"(TARGET_H8300H || TARGET_H8300S) "(TARGET_H8300H || TARGET_H8300S)
&& (register_operand (operands[0],QImode) && (register_operand (operands[0], QImode)
|| register_operand (operands[1], QImode))" || register_operand (operands[1], QImode))"
"@ "@
sub.b %X0,%X0 sub.b %X0,%X0
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
[(set (match_operand:HI 0 "general_operand_dst" "=r,r,<,r,r,m") [(set (match_operand:HI 0 "general_operand_dst" "=r,r,<,r,r,m")
(match_operand:HI 1 "general_operand_src" "I,r>,r,i,m,r"))] (match_operand:HI 1 "general_operand_src" "I,r>,r,i,m,r"))]
"TARGET_H8300 "TARGET_H8300
&& (register_operand (operands[0],HImode) && (register_operand (operands[0], HImode)
|| register_operand (operands[1], HImode)) || register_operand (operands[1], HImode))
&& !(GET_CODE (operands[0]) == MEM && !(GET_CODE (operands[0]) == MEM
&& GET_CODE (XEXP (operands[0], 0)) == PRE_DEC && GET_CODE (XEXP (operands[0], 0)) == PRE_DEC
...@@ -253,7 +253,7 @@ ...@@ -253,7 +253,7 @@
[(set (match_operand:HI 0 "general_operand_dst" "=r,r,<,r,r,m") [(set (match_operand:HI 0 "general_operand_dst" "=r,r,<,r,r,m")
(match_operand:HI 1 "general_operand_src" "I,r>,r,i,m,r"))] (match_operand:HI 1 "general_operand_src" "I,r>,r,i,m,r"))]
"(TARGET_H8300H || TARGET_H8300S) "(TARGET_H8300H || TARGET_H8300S)
&& (register_operand (operands[0],HImode) && (register_operand (operands[0], HImode)
|| register_operand (operands[1], HImode))" || register_operand (operands[1], HImode))"
"@ "@
sub.w %T0,%T0 sub.w %T0,%T0
...@@ -361,15 +361,15 @@ ...@@ -361,15 +361,15 @@
/* Make sure we don't trample the register we index with. */ /* Make sure we don't trample the register we index with. */
if (GET_CODE (operands[1]) == MEM) if (GET_CODE (operands[1]) == MEM)
{ {
rtx inside = XEXP (operands[1],0); rtx inside = XEXP (operands[1], 0);
if (REG_P (inside)) if (REG_P (inside))
{ {
rn = REGNO (inside); rn = REGNO (inside);
} }
else if (GET_CODE (inside) == PLUS) else if (GET_CODE (inside) == PLUS)
{ {
rtx lhs = XEXP (inside,0); rtx lhs = XEXP (inside, 0);
rtx rhs = XEXP (inside,1); rtx rhs = XEXP (inside, 1);
if (REG_P (lhs)) rn = REGNO (lhs); if (REG_P (lhs)) rn = REGNO (lhs);
if (REG_P (rhs)) rn = REGNO (rhs); if (REG_P (rhs)) rn = REGNO (rhs);
} }
...@@ -428,15 +428,15 @@ ...@@ -428,15 +428,15 @@
/* Make sure we don't trample the register we index with. */ /* Make sure we don't trample the register we index with. */
if (GET_CODE (operands[1]) == MEM) if (GET_CODE (operands[1]) == MEM)
{ {
rtx inside = XEXP (operands[1],0); rtx inside = XEXP (operands[1], 0);
if (REG_P (inside)) if (REG_P (inside))
{ {
rn = REGNO (inside); rn = REGNO (inside);
} }
else if (GET_CODE (inside) == PLUS) else if (GET_CODE (inside) == PLUS)
{ {
rtx lhs = XEXP (inside,0); rtx lhs = XEXP (inside, 0);
rtx rhs = XEXP (inside,1); rtx rhs = XEXP (inside, 1);
if (REG_P (lhs)) rn = REGNO (lhs); if (REG_P (lhs)) rn = REGNO (lhs);
if (REG_P (rhs)) rn = REGNO (rhs); if (REG_P (rhs)) rn = REGNO (rhs);
} }
...@@ -1805,21 +1805,21 @@ ...@@ -1805,21 +1805,21 @@
(ashift:QI (match_operand:QI 1 "register_operand" "") (ashift:QI (match_operand:QI 1 "register_operand" "")
(match_operand:QI 2 "nonmemory_operand" "")))] (match_operand:QI 2 "nonmemory_operand" "")))]
"" ""
"if (expand_a_shift (QImode, ASHIFT, operands)) DONE;else FAIL;") "if (expand_a_shift (QImode, ASHIFT, operands)) DONE; else FAIL;")
(define_expand "ashrqi3" (define_expand "ashrqi3"
[(set (match_operand:QI 0 "register_operand" "") [(set (match_operand:QI 0 "register_operand" "")
(ashiftrt:QI (match_operand:QI 1 "register_operand" "") (ashiftrt:QI (match_operand:QI 1 "register_operand" "")
(match_operand:QI 2 "nonmemory_operand" "")))] (match_operand:QI 2 "nonmemory_operand" "")))]
"" ""
"if (expand_a_shift (QImode, ASHIFTRT, operands)) DONE;else FAIL;") "if (expand_a_shift (QImode, ASHIFTRT, operands)) DONE; else FAIL;")
(define_expand "lshrqi3" (define_expand "lshrqi3"
[(set (match_operand:QI 0 "register_operand" "") [(set (match_operand:QI 0 "register_operand" "")
(lshiftrt:QI (match_operand:QI 1 "register_operand" "") (lshiftrt:QI (match_operand:QI 1 "register_operand" "")
(match_operand:QI 2 "nonmemory_operand" "")))] (match_operand:QI 2 "nonmemory_operand" "")))]
"" ""
"if (expand_a_shift (QImode, LSHIFTRT, operands)) DONE;else FAIL;") "if (expand_a_shift (QImode, LSHIFTRT, operands)) DONE; else FAIL;")
(define_insn "" (define_insn ""
[(set (match_operand:QI 0 "register_operand" "=r,r") [(set (match_operand:QI 0 "register_operand" "=r,r")
...@@ -1839,21 +1839,21 @@ ...@@ -1839,21 +1839,21 @@
(ashift:HI (match_operand:HI 1 "nonmemory_operand" "") (ashift:HI (match_operand:HI 1 "nonmemory_operand" "")
(match_operand:QI 2 "nonmemory_operand" "")))] (match_operand:QI 2 "nonmemory_operand" "")))]
"" ""
"if (expand_a_shift (HImode, ASHIFT, operands)) DONE;else FAIL;") "if (expand_a_shift (HImode, ASHIFT, operands)) DONE; else FAIL;")
(define_expand "lshrhi3" (define_expand "lshrhi3"
[(set (match_operand:HI 0 "register_operand" "") [(set (match_operand:HI 0 "register_operand" "")
(lshiftrt:HI (match_operand:HI 1 "general_operand" "") (lshiftrt:HI (match_operand:HI 1 "general_operand" "")
(match_operand:QI 2 "nonmemory_operand" "")))] (match_operand:QI 2 "nonmemory_operand" "")))]
"" ""
"if (expand_a_shift (HImode, LSHIFTRT, operands)) DONE;else FAIL;") "if (expand_a_shift (HImode, LSHIFTRT, operands)) DONE; else FAIL;")
(define_expand "ashrhi3" (define_expand "ashrhi3"
[(set (match_operand:HI 0 "register_operand" "") [(set (match_operand:HI 0 "register_operand" "")
(ashiftrt:HI (match_operand:HI 1 "register_operand" "") (ashiftrt:HI (match_operand:HI 1 "register_operand" "")
(match_operand:QI 2 "nonmemory_operand" "")))] (match_operand:QI 2 "nonmemory_operand" "")))]
"" ""
"if (expand_a_shift (HImode, ASHIFTRT, operands)) DONE;else FAIL;") "if (expand_a_shift (HImode, ASHIFTRT, operands)) DONE; else FAIL;")
(define_insn "" (define_insn ""
[(set (match_operand:HI 0 "register_operand" "=r,r") [(set (match_operand:HI 0 "register_operand" "=r,r")
...@@ -1874,7 +1874,7 @@ ...@@ -1874,7 +1874,7 @@
(match_operand:SI 1 "general_operand" "") (match_operand:SI 1 "general_operand" "")
(match_operand:QI 2 "nonmemory_operand" "")))] (match_operand:QI 2 "nonmemory_operand" "")))]
"" ""
"if (expand_a_shift (SImode, ASHIFT, operands)) DONE;else FAIL;") "if (expand_a_shift (SImode, ASHIFT, operands)) DONE; else FAIL;")
(define_expand "lshrsi3" (define_expand "lshrsi3"
[(set (match_operand:SI 0 "register_operand" "") [(set (match_operand:SI 0 "register_operand" "")
...@@ -1882,7 +1882,7 @@ ...@@ -1882,7 +1882,7 @@
(match_operand:SI 1 "general_operand" "") (match_operand:SI 1 "general_operand" "")
(match_operand:QI 2 "nonmemory_operand" "")))] (match_operand:QI 2 "nonmemory_operand" "")))]
"" ""
"if (expand_a_shift (SImode, LSHIFTRT, operands)) DONE;else FAIL;") "if (expand_a_shift (SImode, LSHIFTRT, operands)) DONE; else FAIL;")
(define_expand "ashrsi3" (define_expand "ashrsi3"
[(set (match_operand:SI 0 "register_operand" "") [(set (match_operand:SI 0 "register_operand" "")
...@@ -1890,7 +1890,7 @@ ...@@ -1890,7 +1890,7 @@
(match_operand:SI 1 "general_operand" "") (match_operand:SI 1 "general_operand" "")
(match_operand:QI 2 "nonmemory_operand" "")))] (match_operand:QI 2 "nonmemory_operand" "")))]
"" ""
"if (expand_a_shift (SImode, ASHIFTRT, operands)) DONE;else FAIL;") "if (expand_a_shift (SImode, ASHIFTRT, operands)) DONE; else FAIL;")
(define_insn "" (define_insn ""
[(set (match_operand:SI 0 "register_operand" "=r,r") [(set (match_operand:SI 0 "register_operand" "=r,r")
...@@ -1912,7 +1912,7 @@ ...@@ -1912,7 +1912,7 @@
(rotate:QI (match_operand:QI 1 "register_operand" "") (rotate:QI (match_operand:QI 1 "register_operand" "")
(match_operand:QI 2 "nonmemory_operand" "")))] (match_operand:QI 2 "nonmemory_operand" "")))]
"" ""
"if (expand_a_rotate (ROTATE, operands)) DONE;else FAIL;") "if (expand_a_rotate (ROTATE, operands)) DONE; else FAIL;")
(define_insn "*rotlqi3_1" (define_insn "*rotlqi3_1"
[(set (match_operand:QI 0 "register_operand" "=r") [(set (match_operand:QI 0 "register_operand" "=r")
...@@ -1928,7 +1928,7 @@ ...@@ -1928,7 +1928,7 @@
(rotate:HI (match_operand:HI 1 "register_operand" "") (rotate:HI (match_operand:HI 1 "register_operand" "")
(match_operand:QI 2 "nonmemory_operand" "")))] (match_operand:QI 2 "nonmemory_operand" "")))]
"" ""
"if (expand_a_rotate (ROTATE, operands)) DONE;else FAIL;") "if (expand_a_rotate (ROTATE, operands)) DONE; else FAIL;")
(define_insn "*rotlhi3_1" (define_insn "*rotlhi3_1"
[(set (match_operand:HI 0 "register_operand" "=r") [(set (match_operand:HI 0 "register_operand" "=r")
...@@ -1944,7 +1944,7 @@ ...@@ -1944,7 +1944,7 @@
(rotate:SI (match_operand:SI 1 "register_operand" "") (rotate:SI (match_operand:SI 1 "register_operand" "")
(match_operand:QI 2 "nonmemory_operand" "")))] (match_operand:QI 2 "nonmemory_operand" "")))]
"TARGET_H8300H || TARGET_H8300S" "TARGET_H8300H || TARGET_H8300S"
"if (expand_a_rotate (ROTATE, operands)) DONE;else FAIL;") "if (expand_a_rotate (ROTATE, operands)) DONE; else FAIL;")
(define_insn "*rotlsi3_1" (define_insn "*rotlsi3_1"
[(set (match_operand:SI 0 "register_operand" "=r") [(set (match_operand:SI 0 "register_operand" "=r")
......
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