Mon, 21 May 2018 12:00:21 -0400thread: fixed compiler warnings on non-Linux systems that use pthread.
Ryan C. Gordon <icculus@icculus.org> [Mon, 21 May 2018 12:00:21 -0400] rev 11994
thread: fixed compiler warnings on non-Linux systems that use pthread.

(static function rtkit_setpriority was unused, moved it in with rest of
__LINUX__ section.)

Mon, 21 May 2018 11:54:09 -0400audio: Patched to compile on Visual Studio.
Ryan C. Gordon <icculus@icculus.org> [Mon, 21 May 2018 11:54:09 -0400] rev 11993
audio: Patched to compile on Visual Studio.

(It gets upset at the -2147483648, thinking this should be an unsigned value
because 2147483648 is too large for an int32, so the negative sign upsets the
compiler.)

Wed, 16 May 2018 02:03:06 -0400audio: Added ARM NEON versions of audio converters.
Ryan C. Gordon <icculus@icculus.org> [Wed, 16 May 2018 02:03:06 -0400] rev 11992
audio: Added ARM NEON versions of audio converters.

These are _much_ faster than the scalar equivalents on the Raspberry Pi that
I tested on. Often 3x to 4x as fast!

Tue, 15 May 2018 02:29:35 -0400audio: SSE2 float-to-int converters should clamp input.
Ryan C. Gordon <icculus@icculus.org> [Tue, 15 May 2018 02:29:35 -0400] rev 11991
audio: SSE2 float-to-int converters should clamp input.

The scalar versions already do this.

Tue, 15 May 2018 01:40:05 -0400audio: Fix range on float-to-int data clamping.
Ryan C. Gordon <icculus@icculus.org> [Tue, 15 May 2018 01:40:05 -0400] rev 11990
audio: Fix range on float-to-int data clamping.

I can't tell if there was a good reason for this or it was just me getting
numbers wrong due to exhaustion.

Tue, 15 May 2018 01:35:53 -0400audio: float to int converters should clamp inclusively.
Ryan C. Gordon <icculus@icculus.org> [Tue, 15 May 2018 01:35:53 -0400] rev 11989
audio: float to int converters should clamp inclusively.

If we have to test if a sample is > 1.0f anyhow, we might as well use this
to avoid the unnecessary multiplication when it's == 1.0f, too. (etc).

Tue, 15 May 2018 00:04:02 -0400testresample: correctly output .wav files that have floating point audio.
Ryan C. Gordon <icculus@icculus.org> [Tue, 15 May 2018 00:04:02 -0400] rev 11988
testresample: correctly output .wav files that have floating point audio.

Tue, 15 May 2018 01:04:11 -0400audio: converting int32 to/from float shouldn't use doubles.
Ryan C. Gordon <icculus@icculus.org> [Tue, 15 May 2018 01:04:11 -0400] rev 11987
audio: converting int32 to/from float shouldn't use doubles.

The concern is that a massive int sample, like 0x7FFFFFFF, won't fit in a
float32, which doesn't have enough bits to hold a whole number this large,
just to divide it to get a value between 0 and 1.
Previously we would convert to double, to get more bits, do the division, and
cast back to a float, but this is expensive.

Casting to double is more accurate, but it's 2x to 3x slower. Shifting out
the least significant byte of an int32, so it'll definitely fit in a float,
and dividing by 0x7FFFFF is still accurate to about 5 decimal places, and the
difference doesn't appear to be perceptable.

Mon, 21 May 2018 11:35:42 -0400cpuinfo: Added SDL_HasAVX512F().
Ryan C. Gordon <icculus@icculus.org> [Mon, 21 May 2018 11:35:42 -0400] rev 11986
cpuinfo: Added SDL_HasAVX512F().

This checks for the "foundation" AVX-512 instructions (that all AVX-512
compatible CPUs support).

Mon, 14 May 2018 00:03:39 -0400cpuinfo: Make CPU flags easier to read and add to.
Ryan C. Gordon <icculus@icculus.org> [Mon, 14 May 2018 00:03:39 -0400] rev 11985
cpuinfo: Make CPU flags easier to read and add to.