Patchwork [SH,committed] Correct comment.

login
register
mail settings
Submitter Oleg Endo
Date July 21, 2012, 7:42 p.m.
Message ID <1342899769.2143.101.camel@yam-132-YW-E178-FTW>
Download mbox | patch
Permalink /patch/172454/
State New
Headers show

Comments

Oleg Endo - July 21, 2012, 7:42 p.m.
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.

Patch

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))]