Commit 6bb903f4 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Cleanups - get rid of register keyword

parent 2d9f243e
Pipeline #578 failed with stages
in 1 minute and 30 seconds
......@@ -3,7 +3,7 @@
//
static INLINE void DoMAC_AltiVec(float* wave, float* coeffs, int32 count, int32* accum_output)
{
register vector float acc0, acc1, acc2, acc3;
vector float acc0, acc1, acc2, acc3;
acc0 = (vector float)vec_splat_u8(0);
acc1 = acc0;
......@@ -15,7 +15,7 @@ static INLINE void DoMAC_AltiVec(float* wave, float* coeffs, int32 count, int32*
if(!((uint64)wave & 0xF))
{
register vector float w, c;
vector float w, c;
do
{
w = vec_ld(0, wave);
......@@ -40,17 +40,17 @@ static INLINE void DoMAC_AltiVec(float* wave, float* coeffs, int32 count, int32*
}
else
{
register vector unsigned char lperm;
register vector float loado;
vector unsigned char lperm;
vector float loado;
lperm = vec_lvsl(0, wave);
loado = vec_ld(0, wave);
do
{
register vector float tl;
register vector float w;
register vector float c;
vector float tl;
vector float w;
vector float c;
tl = vec_ld(15 + 0, wave);
w = vec_perm(loado, tl, lperm);
......
......@@ -3,8 +3,7 @@
//
static INLINE void DoMAC_NEON(float* wave, float* coeffs, int32 count, int32* accum_output)
{
register float32x4_t acc0, acc1, acc2, acc3;
float32x4_t acc0, acc1, acc2, acc3;
acc0 = acc1 = acc2 = acc3 = vdupq_n_f32(0);
count >>= 4;
......@@ -22,8 +21,8 @@ static INLINE void DoMAC_NEON(float* wave, float* coeffs, int32 count, int32* ac
//
//
//
register float32x4_t sum4;
register float32x2_t sum2;
float32x4_t sum4;
float32x2_t sum2;
sum4 = vaddq_f32(vaddq_f32(acc0, acc1), vaddq_f32(acc2, acc3));
sum2 = vadd_f32(vget_high_f32(sum4), vget_low_f32(sum4));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment