Re: MERGE: fix subnormal test on AMD64 (2nd attempt)
- From: Tim Janik <tim janik lanedo com>
- To: Stefan Westerfeld <stefan space twc de>
- Cc: Beast Liste <beast gnome org>
- Subject: Re: MERGE: fix subnormal test on AMD64 (2nd attempt)
- Date: Mon, 16 May 2011 23:44:32 +0200 (CEST)
Hi Stefan.
This change aparently caused a regression on MIPS, please
see this bug report:
https://bugzilla.gnome.org/show_bug.cgi?id=649669
On Sun, 9 Jan 2011, Stefan Westerfeld wrote:
Hi!
Since on AMD64, denormals are treated as zero (a feature of SSE math), the
subnormals test breaks. My previous merge request was not accepted, because it
didn't check the CPU status registers, but just assumed that if a certain
calculation resulted in 0, CPU would be in DAZ mode.
So in my new attempt to fix this, I check the CPU status registers. I also
check if the SSE unit is actually used for floating point math by checking
x86_64 and FLT_EVAL_METHOD defines.
repo: http://space.twc.de/public/git/stwbeast.git
branch: subnormals2-amd64
Cu... Stefan
--
Stefan Westerfeld, Hamburg/Germany, http://space.twc.de/~stefan
_______________________________________________
beast mailing list
beast gnome org
http://mail.gnome.org/mailman/listinfo/beast
Yours sincerely,
Tim Janik
---
http://lanedo.com/~timj/ - Founder and CEO of Lanedo GmbH.
Free software author and contributor on various projects.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]