Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
beetle-pce-libretro
Commits
6bb903f4
Commit
6bb903f4
authored
Oct 07, 2020
by
Libretro-Admin
Browse files
Cleanups - get rid of register keyword
parent
2d9f243e
Pipeline
#578
failed with stages
in 1 minute and 30 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
mednafen/sound/OwlResampler_altivec.inc
View file @
6bb903f4
...
...
@@ -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
);
...
...
mednafen/sound/OwlResampler_neon.inc
View file @
6bb903f4
...
...
@@ -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
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment