This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] aarch64 sim fp min/max number bug fix


Hi Jim

> The fp min/max number routines are using fpclassify to try to
> distinguish between a nan and a number, but this is handling zero,
> inf, and subnormals incorrectly.  We get the right result if we just
> use isnan.
> 
> The testcase works with the patch, and fails without the patch.  The
> patch also reduces GCC C testsuite failures from 2416 to 2407.

Approved - please apply.

Cheers
  Nick



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