TIMEOUT MERGE: fix subnormal test on AMD64



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]