From 38bbee15fd6332f25783e281b7cd56982c0277c1 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Tue, 15 Jul 2008 13:10:02 +0000 Subject: [PATCH] 'fix' comment [r20478] --- ir/ir/iropt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ir/ir/iropt.c b/ir/ir/iropt.c index 631570b4b..188afcf51 100644 --- a/ir/ir/iropt.c +++ b/ir/ir/iropt.c @@ -4857,10 +4857,10 @@ static ir_node *transform_node_bitop_shift(ir_node *n) { /** * normalisation: - * (x << c1) >> c2 <=> x>>(c2-c1) & (-1>>c2) + * (x << c1) >> c2 <=> x OP (c2-c1) & ((-1 << c1) >> c2) * also: - * if c2 > c1: x << (c2-c1) - * (x >>s c2) << c1 <=> x>>s(c2-c1) & (-1>>c2) + * (x >> c1) << c2 <=> x OP (c2-c1) & ((-1 >> c1) << c2) + * (also with x >>s c1 when c1>=c2) */ static ir_node *transform_node_shl_shr(ir_node *n) { ir_node *left; -- 2.20.1