This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[SH][committed] Correct comment.
- From: Oleg Endo <oleg dot endo at t-online dot de>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 21 Jul 2012 21:42:49 +0200
- Subject: [SH][committed] Correct comment.
Hello,
I have just committed the attached patch as obvious as rev 189747.
Cheers,
Oleg
ChangeLog:
* config/sh/sh.md: Correct comment regarding clrt and sett
insns.
Index: gcc/config/sh/sh.md
===================================================================
--- gcc/config/sh/sh.md (revision 189733)
+++ gcc/config/sh/sh.md (working copy)
@@ -5094,9 +5094,14 @@
DONE;
})
-;; These two patterns can happen as the result of optimization, when
-;; comparisons get simplified to a move of zero or 1 into the T reg.
-;; They don't disappear completely, because the T reg is a fixed hard reg.
+;; The clrt and sett patterns can happen as the result of optimization and
+;; insn expansion.
+;; Comparisons might get simplified to a move of zero or 1 into the T reg.
+;; In this case they might not disappear completely, because the T reg is
+;; a fixed hard reg.
+;; When DImode operations that use the T reg as carry/borrow are split into
+;; individual SImode operations, the T reg is usually cleared before the
+;; first SImode insn.
(define_insn "clrt"
[(set (reg:SI T_REG) (const_int 0))]