TIMEOUT MERGE: fix subnormal test on AMD64
- From: Stefan Westerfeld <stefan space twc de>
- To: Beast Liste <beast gnome org>
- Cc: timj gtk org
- Subject: TIMEOUT MERGE: fix subnormal test on AMD64
- Date: Sun, 27 Jun 2010 11:20:23 +0200
TIMEOUT MERGE TIMEOUT MERGE TIMEOUT MERGE TIMEOUT MERGE TIMEOUT MERGE
Hi!
Since on AMD64, denormals are treated as zero (a feature of SSE math), the
subnormals test breaks. To fix it, I added a simple run time check (which
multiplies a subnormal with a random number and checks if the result is zero),
to skip the test IFF the processor treats denormals as zero.
repo: http://space.twc.de/public/git/stwbeast.git
branch: subnormals-amd64
Cu... Stefan
--
Stefan Westerfeld, Hamburg/Germany, http://space.twc.de/~stefan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]