sh.md: Correct comment regarding clrt and sett insns.

* config/sh/sh.md: Correct comment regarding clrt and sett insns.

From-SVN: r189747
This commit is contained in:
Oleg Endo 2012-07-21 19:40:37 +00:00
parent a81306122a
commit 55f7c48177
2 changed files with 12 additions and 3 deletions

View 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

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