* config/h8300/h8300.md: Fix formatting.
From-SVN: r48348
This commit is contained in:
parent
7addeb4dcd
commit
20c907b05d
@ -1,3 +1,7 @@
|
||||
2001-12-28 Kazu Hirata <kazu@hxi.com>
|
||||
|
||||
* config/h8300/h8300.md: Fix formatting.
|
||||
|
||||
2001-12-28 Geoff Keating <geoffk@redhat.com>
|
||||
|
||||
* varasm.c (record_constant_1): Correct parameter to recursive
|
||||
|
@ -142,7 +142,7 @@
|
||||
[(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"))]
|
||||
"TARGET_H8300
|
||||
&& (register_operand (operands[0],QImode)
|
||||
&& (register_operand (operands[0], QImode)
|
||||
|| register_operand (operands[1], QImode))"
|
||||
"@
|
||||
sub.b %X0,%X0
|
||||
@ -158,7 +158,7 @@
|
||||
[(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"))]
|
||||
"(TARGET_H8300H || TARGET_H8300S)
|
||||
&& (register_operand (operands[0],QImode)
|
||||
&& (register_operand (operands[0], QImode)
|
||||
|| register_operand (operands[1], QImode))"
|
||||
"@
|
||||
sub.b %X0,%X0
|
||||
@ -232,7 +232,7 @@
|
||||
[(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"))]
|
||||
"TARGET_H8300
|
||||
&& (register_operand (operands[0],HImode)
|
||||
&& (register_operand (operands[0], HImode)
|
||||
|| register_operand (operands[1], HImode))
|
||||
&& !(GET_CODE (operands[0]) == MEM
|
||||
&& GET_CODE (XEXP (operands[0], 0)) == PRE_DEC
|
||||
@ -253,7 +253,7 @@
|
||||
[(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"))]
|
||||
"(TARGET_H8300H || TARGET_H8300S)
|
||||
&& (register_operand (operands[0],HImode)
|
||||
&& (register_operand (operands[0], HImode)
|
||||
|| register_operand (operands[1], HImode))"
|
||||
"@
|
||||
sub.w %T0,%T0
|
||||
@ -361,15 +361,15 @@
|
||||
/* Make sure we don't trample the register we index with. */
|
||||
if (GET_CODE (operands[1]) == MEM)
|
||||
{
|
||||
rtx inside = XEXP (operands[1],0);
|
||||
rtx inside = XEXP (operands[1], 0);
|
||||
if (REG_P (inside))
|
||||
{
|
||||
rn = REGNO (inside);
|
||||
}
|
||||
else if (GET_CODE (inside) == PLUS)
|
||||
{
|
||||
rtx lhs = XEXP (inside,0);
|
||||
rtx rhs = XEXP (inside,1);
|
||||
rtx lhs = XEXP (inside, 0);
|
||||
rtx rhs = XEXP (inside, 1);
|
||||
if (REG_P (lhs)) rn = REGNO (lhs);
|
||||
if (REG_P (rhs)) rn = REGNO (rhs);
|
||||
}
|
||||
@ -428,15 +428,15 @@
|
||||
/* Make sure we don't trample the register we index with. */
|
||||
if (GET_CODE (operands[1]) == MEM)
|
||||
{
|
||||
rtx inside = XEXP (operands[1],0);
|
||||
rtx inside = XEXP (operands[1], 0);
|
||||
if (REG_P (inside))
|
||||
{
|
||||
rn = REGNO (inside);
|
||||
}
|
||||
else if (GET_CODE (inside) == PLUS)
|
||||
{
|
||||
rtx lhs = XEXP (inside,0);
|
||||
rtx rhs = XEXP (inside,1);
|
||||
rtx lhs = XEXP (inside, 0);
|
||||
rtx rhs = XEXP (inside, 1);
|
||||
if (REG_P (lhs)) rn = REGNO (lhs);
|
||||
if (REG_P (rhs)) rn = REGNO (rhs);
|
||||
}
|
||||
@ -1805,21 +1805,21 @@
|
||||
(ashift:QI (match_operand:QI 1 "register_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"
|
||||
[(set (match_operand:QI 0 "register_operand" "")
|
||||
(ashiftrt:QI (match_operand:QI 1 "register_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"
|
||||
[(set (match_operand:QI 0 "register_operand" "")
|
||||
(lshiftrt:QI (match_operand:QI 1 "register_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 ""
|
||||
[(set (match_operand:QI 0 "register_operand" "=r,r")
|
||||
@ -1839,21 +1839,21 @@
|
||||
(ashift:HI (match_operand:HI 1 "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"
|
||||
[(set (match_operand:HI 0 "register_operand" "")
|
||||
(lshiftrt:HI (match_operand:HI 1 "general_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"
|
||||
[(set (match_operand:HI 0 "register_operand" "")
|
||||
(ashiftrt:HI (match_operand:HI 1 "register_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 ""
|
||||
[(set (match_operand:HI 0 "register_operand" "=r,r")
|
||||
@ -1874,7 +1874,7 @@
|
||||
(match_operand:SI 1 "general_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"
|
||||
[(set (match_operand:SI 0 "register_operand" "")
|
||||
@ -1882,7 +1882,7 @@
|
||||
(match_operand:SI 1 "general_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"
|
||||
[(set (match_operand:SI 0 "register_operand" "")
|
||||
@ -1890,7 +1890,7 @@
|
||||
(match_operand:SI 1 "general_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 ""
|
||||
[(set (match_operand:SI 0 "register_operand" "=r,r")
|
||||
@ -1912,7 +1912,7 @@
|
||||
(rotate:QI (match_operand:QI 1 "register_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"
|
||||
[(set (match_operand:QI 0 "register_operand" "=r")
|
||||
@ -1928,7 +1928,7 @@
|
||||
(rotate:HI (match_operand:HI 1 "register_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"
|
||||
[(set (match_operand:HI 0 "register_operand" "=r")
|
||||
@ -1944,7 +1944,7 @@
|
||||
(rotate:SI (match_operand:SI 1 "register_operand" "")
|
||||
(match_operand:QI 2 "nonmemory_operand" "")))]
|
||||
"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"
|
||||
[(set (match_operand:SI 0 "register_operand" "=r")
|
||||
|
Loading…
Reference in New Issue
Block a user