aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1996-06-05 17:19:36 -0700
committerJim Wilson <wilson@gcc.gnu.org>1996-06-05 17:19:36 -0700
commit564890c98537ee4637edba5c5c91287ec123cb99 (patch)
tree75ab9af4a3268ddb3e7b6389e84f9a98b8358cab
parent211a0f85987396355258c2132251678972837caa (diff)
downloadgcc-564890c98537ee4637edba5c5c91287ec123cb99.zip
gcc-564890c98537ee4637edba5c5c91287ec123cb99.tar.gz
gcc-564890c98537ee4637edba5c5c91287ec123cb99.tar.bz2
(branch_true): Add comment about T-bit compares.
From-SVN: r12172
-rw-r--r--gcc/config/sh/sh.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index 2d112ad..a5ec8b7 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 "" ""))