From 564890c98537ee4637edba5c5c91287ec123cb99 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Wed, 5 Jun 1996 17:19:36 -0700 Subject: [PATCH] (branch_true): Add comment about T-bit compares. From-SVN: r12172 --- gcc/config/sh/sh.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 2d112adb03f..a5ec8b769ef 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -1483,6 +1483,10 @@ ;; Define the real conditional branch instructions. ;; ------------------------------------------------------------------------ +;; ??? Branches should compare T-bit against zero not one, so that they will +;; be in canonical form. get_condition in loop.c for instance will fail +;; with these patterns. + (define_insn "branch_true" [(set (pc) (if_then_else (eq (reg:SI 18) (const_int 1)) (label_ref (match_operand 0 "" "")) -- 2.30.2