This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: fix for LT comparison



  In message <200007160315.UAA02407@localhost.cygnus.com>you write:
  > 
  > This patch fixes comparisons like
  > 
  > 0x00000000ffffffffLL > 0
  > 
  > which was being considered to be false, in a 32-bit-word ->
  > 64-bit-word cross-environment.
  > 
  > Bootstrapped & tested OK on x86 linux native.  It's also been tested
  > on an older version of the tree (+ cygnus hacks) on AIX32 and AIX64,
  > which is where the problem appeared.
  > 
  > OK to commit?
  > 
  > -- 
  > - Geoffrey Keating <geoffk@cygnus.com>
  > 
  > ===File ~/patches/cygnus/rs6000-simplifyLT.patch============
  > 2000-07-08  Geoffrey Keating  <geoffk@cygnus.com>
  > 
  > 	* simplify-rtx.c (simplify_relational_operation): Two signed
  > 	values with equal high words are less/greater than each other if
  > 	their low words are less/greater when considered as unsigned.
This is fine.  Please install this patch.

Did you happen to have a testcase for this patch that could be included
in the testsuite?  If so, could you please make one?

Thanks,
jeffd


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]