mirror of
https://github.com/libretro/RetroArch
synced 2025-02-09 09:39:56 +00:00
Nit.
This commit is contained in:
parent
24e656b601
commit
33e3eee5ab
@ -95,8 +95,8 @@ void audio_convert_float_to_s16_SSE2(int16_t *out,
|
|||||||
void audio_convert_s16_to_float_altivec(float *out,
|
void audio_convert_s16_to_float_altivec(float *out,
|
||||||
const int16_t *in, size_t samples, float gain)
|
const int16_t *in, size_t samples, float gain)
|
||||||
{
|
{
|
||||||
const vector float gain_vec = { gain, gain , gain, gain };
|
const vector float gain_vec = { gain, gain , gain, gain };
|
||||||
const vector float zero_vec = { 0.0f, 0.0f, 0.0f, 0.0f};
|
const vector float zero_vec = { 0.0f, 0.0f, 0.0f, 0.0f};
|
||||||
// Unaligned loads/store is a bit expensive, so we optimize for the good path (very likely).
|
// Unaligned loads/store is a bit expensive, so we optimize for the good path (very likely).
|
||||||
if (((uintptr_t)out & 15) + ((uintptr_t)in & 15) == 0)
|
if (((uintptr_t)out & 15) + ((uintptr_t)in & 15) == 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user