]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sh.md: Correct comment regarding clrt and sett insns.
authorOleg Endo <olegendo@gcc.gnu.org>
Sat, 21 Jul 2012 19:40:37 +0000 (19:40 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Sat, 21 Jul 2012 19:40:37 +0000 (19:40 +0000)
* config/sh/sh.md: Correct comment regarding clrt and sett insns.

From-SVN: r189747

gcc/ChangeLog
gcc/config/sh/sh.md

index a2838d787271a2cb225b9a93f7c4a9d464f13e97..51b24829e9553616459541339355c887ad62102b 100644 (file)
@@ -1,3 +1,7 @@
+2012-07-21  Oleg Endo  <olegendo@gcc.gnu.org>
+
+       * config/sh/sh.md: Correct comment regarding clrt and sett insns.
+
 2012-07-21  Andrew Pinski  <apinski@cavium.com>
 
        * config/mips/mips.md (*popcountdi2_trunc): New pattern
index 14463473caa8dd1d88cc153ddb39ba4055261ad6..0358b751b20d481d4202b0f67828f58cf76f3b09 100644 (file)
@@ -5094,9 +5094,14 @@ label:
   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))]