This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Fix minor things in h8300.md
- From: Kazu Hirata <kazu at hxi dot com>
- To: gcc-patches at gcc dot gnu dot org
- Subject: [patch] Fix minor things in h8300.md
Hi,
Attached is a patch to fix minor things in h8300.md.
Tested and committed.
Kazu Hirata
2001-12-15 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md: Adjust whitespacing. Remove
constraints from expanders. Replace \@ with @.
Index: h8300.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300.md,v
retrieving revision 1.45
diff -c -r1.45 h8300.md
*** h8300.md 2001/12/15 01:33:51 1.45
--- h8300.md 2001/12/15 18:19:15
***************
*** 140,146 ****
(define_insn ""
[(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[1], QImode))"
--- 140,146 ----
(define_insn ""
[(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[1], QImode))"
***************
*** 156,162 ****
(define_insn ""
[(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[1], QImode))"
--- 156,162 ----
(define_insn ""
[(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[1], QImode))"
***************
*** 1124,1132 ****
(set_attr "cc" "set_znv,none_0hit")])
(define_expand "iorqi3"
! [(set (match_operand:QI 0 "bit_operand" "=r,U")
! (ior:QI (match_operand:QI 1 "bit_operand" "%0,0")
! (match_operand:QI 2 "nonmemory_operand" "rn,P")))]
""
"
{
--- 1124,1132 ----
(set_attr "cc" "set_znv,none_0hit")])
(define_expand "iorqi3"
! [(set (match_operand:QI 0 "bit_operand" "")
! (ior:QI (match_operand:QI 1 "bit_operand" "")
! (match_operand:QI 2 "nonmemory_operand" "")))]
""
"
{
***************
*** 1135,1143 ****
}")
(define_expand "iorhi3"
! [(set (match_operand:HI 0 "general_operand" "=r,r")
! (ior:HI (match_operand:HI 1 "general_operand" "%0,0")
! (match_operand:HI 2 "general_operand" "J,rn")))]
""
"")
--- 1135,1143 ----
}")
(define_expand "iorhi3"
! [(set (match_operand:HI 0 "general_operand" "")
! (ior:HI (match_operand:HI 1 "general_operand" "")
! (match_operand:HI 2 "general_operand" "")))]
""
"")
***************
*** 1201,1209 ****
(set_attr "cc" "set_znv,none_0hit")])
(define_expand "xorqi3"
! [(set (match_operand:QI 0 "bit_operand" "=r,U")
! (xor:QI (match_operand:QI 1 "bit_operand" "%0,0")
! (match_operand:QI 2 "nonmemory_operand" "rn,O")))]
""
"
{
--- 1201,1209 ----
(set_attr "cc" "set_znv,none_0hit")])
(define_expand "xorqi3"
! [(set (match_operand:QI 0 "bit_operand" "")
! (xor:QI (match_operand:QI 1 "bit_operand" "")
! (match_operand:QI 2 "nonmemory_operand" "")))]
""
"
{
***************
*** 1610,1616 ****
{
if (GET_CODE (XEXP (operands[0], 0)) == SYMBOL_REF
&& SYMBOL_REF_FLAG (XEXP (operands[0], 0)))
! return \"jsr\\t\@%0:8\";
else
return \"jsr\\t%0\";
}"
--- 1610,1616 ----
{
if (GET_CODE (XEXP (operands[0], 0)) == SYMBOL_REF
&& SYMBOL_REF_FLAG (XEXP (operands[0], 0)))
! return \"jsr\\t@%0:8\";
else
return \"jsr\\t%0\";
}"
***************
*** 1634,1640 ****
{
if (GET_CODE (XEXP (operands[1], 0)) == SYMBOL_REF
&& SYMBOL_REF_FLAG (XEXP (operands[1], 0)))
! return \"jsr\\t\@%1:8\";
else
return \"jsr\\t%1\";
}"
--- 1634,1640 ----
{
if (GET_CODE (XEXP (operands[1], 0)) == SYMBOL_REF
&& SYMBOL_REF_FLAG (XEXP (operands[1], 0)))
! return \"jsr\\t@%1:8\";
else
return \"jsr\\t%1\";
}"