This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ifcvt.c and STORE_FLAG_VALUE
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Subject: Re: ifcvt.c and STORE_FLAG_VALUE
- From: Richard Henderson <rth at cygnus dot com>
- Date: Thu, 4 May 2000 12:22:17 -0700
- Cc: phdm at macqel dot be, gcc-patches at gcc dot gnu dot org
- References: <10005041825.AA02513@vlsi1.ultra.nyu.edu>
On Thu, May 04, 2000 at 02:24:27PM -0400, Richard Kenner wrote:
> Note that STORE_FLAG_VALUE can be the most negative number (e.g., a29k),
> so negating it needs to be done carefully in any event.
I'm fairly certain we're safe wrt that, though I did not try
to build and test a29k just to be sure. The change originally
proposed was
- if (diff == STORE_FLAG_VALUE || diff == -STORE_FLAG_VALUE)
+ if (diff == STORE_FLAG_VALUE || -diff == STORE_FLAG_VALUE)
which would make no difference wrt INT_MIN.
r~