opnsense-src/tools/regression/lib/msun
Enji Cooper d63d2d29cb Fix test-fenv:test_dfl_env when run on some amd64 CPUs
Compare the fields that the AMD [1] and Intel [2] specs say will be
set once fnstenv returns.

Not all amd64 capable processors zero out the env.__x87.__other field
(example: AMD Opteron 6308). The AMD64/x64 specs aren't explicit on what the
env.__x87.__other field will contain after fnstenv is executed, so the values
in env.__x87.__other could be filled with arbitrary data depending on how the
CPU-specific implementation of fnstenv.

1. http://support.amd.com/TechDocs/26569_APM_v5.pdf
2. http://www.intel.com/Assets/en_US/PDF/manual/253666.pdf

Discussed with: kib, Anton Rang <anton.rang@isilon.com>
Reviewed by: Daniel O'Connor <darius@dons.net.au> (earlier patch; pre-generalization)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Reported by: Bill Morchin <wmorchin@isilon.com>
2015-10-14 20:22:12 +00:00
..
Makefile Factor out some common code from the libm tests. This is a bit messy 2013-06-02 04:30:03 +00:00
test-cexp.c - Replace N(a)/N(i)/N(T)/LEN(a)/ARRAY_SIZE(a) with nitems() 2015-08-29 19:47:20 +00:00
test-cexp.t
test-conj.c Be ANSI-C compliant when defining CX_LIMITED_RANGE #pragma 2014-09-09 02:58:58 +00:00
test-conj.t
test-csqrt.c - Replace N(a)/N(i)/N(T)/LEN(a)/ARRAY_SIZE(a) with nitems() 2015-08-29 19:47:20 +00:00
test-csqrt.t
test-ctrig.c Fix some bugs in the complex trig tests so that they test both double 2013-06-10 06:03:03 +00:00
test-ctrig.t
test-exponential.c Factor out some common code from the libm tests. This is a bit messy 2013-06-02 04:30:03 +00:00
test-exponential.t
test-fenv.c Fix test-fenv:test_dfl_env when run on some amd64 CPUs 2015-10-14 20:22:12 +00:00
test-fenv.t
test-fma.c Factor out some common code from the libm tests. This is a bit messy 2013-06-02 04:30:03 +00:00
test-fma.t
test-fmaxmin.c Factor out some common code from the libm tests. This is a bit messy 2013-06-02 04:30:03 +00:00
test-fmaxmin.t
test-ilogb.c
test-ilogb.t
test-invctrig.c Expand the tests structure in test_small(..) to workaround the 2014-09-09 22:14:15 +00:00
test-invtrig.c - Replace N(a)/N(i)/N(T)/LEN(a)/ARRAY_SIZE(a) with nitems() 2015-08-29 19:47:20 +00:00
test-invtrig.t
test-logarithm.c Add more tests for log functions. A few are commented out because the 2013-06-03 09:15:15 +00:00
test-logarithm.t
test-lrint.c
test-lrint.t
test-lround.c
test-lround.t
test-nan.c
test-nan.t
test-nearbyint.c Factor out some common code from the libm tests. This is a bit messy 2013-06-02 04:30:03 +00:00
test-nearbyint.t
test-next.c Factor out some common code from the libm tests. This is a bit messy 2013-06-02 04:30:03 +00:00
test-next.t
test-rem.c Fix some harmless bugs in a test. 2013-05-30 04:47:03 +00:00
test-rem.t
test-trig.c - Replace N(a)/N(i)/N(T)/LEN(a)/ARRAY_SIZE(a) with nitems() 2015-08-29 19:47:20 +00:00
test-trig.t
test-utils.h Factor out some common code from the libm tests. This is a bit messy 2013-06-02 04:30:03 +00:00