Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
aom-rav1e
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
aom-rav1e
Commits
8bebfbf7
Commit
8bebfbf7
authored
11 years ago
by
Johann Koenig
Committed by
Gerrit Code Review
11 years ago
Browse files
Options
Downloads
Plain Diff
Merge "vp9: neon: convolve: simplify branching to C fallbacks"
parents
7d14ce8b
2003468d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vp9/common/arm/neon/vp9_convolve8_avg_neon.asm
+8
-21
8 additions, 21 deletions
vp9/common/arm/neon/vp9_convolve8_avg_neon.asm
vp9/common/arm/neon/vp9_convolve8_neon.asm
+8
-21
8 additions, 21 deletions
vp9/common/arm/neon/vp9_convolve8_neon.asm
with
16 additions
and
42 deletions
vp9/common/arm/neon/vp9_convolve8_avg_neon.asm
+
8
−
21
View file @
8bebfbf7
...
...
@@ -52,15 +52,15 @@
; sp[]int h
|
vp9_convolve8_avg_horiz_neon
|
PROC
ldr
r12
,
[
sp
,
#
4
]
; x_step_q4
cmp
r12
,
#
16
bne
vp9_convolve8_avg_horiz_c
push
{
r4
-
r10
,
lr
}
sub
r0
,
r0
,
#
3
; adjust for taps
ldr
r4
,
[
sp
,
#
36
]
; x_step_q4
ldr
r5
,
[
sp
,
#
32
]
; filter_x
cmp
r4
,
#
16
bne
call_horiz_c_convolve
; x_step_q4 != 16
ldr
r6
,
[
sp
,
#
48
]
; w
ldr
r7
,
[
sp
,
#
52
]
; h
...
...
@@ -159,26 +159,20 @@ loop_horiz
pop
{
r4
-
r10
,
pc
}
call_horiz_c_convolve
pop
{
r4
-
r10
,
lr
}
add
r0
,
r0
,
#
3
; un-adjust for taps
b
vp9_convolve8_avg_horiz_c
ENDP
|
vp9_convolve8_avg_vert_neon
|
PROC
ldr
r12
,
[
sp
,
#
12
]
cmp
r12
,
#
16
bne
vp9_convolve8_avg_vert_c
push
{
r4
-
r10
,
lr
}
; adjust for taps
sub
r0
,
r0
,
r1
sub
r0
,
r0
,
r1
,
lsl
#
1
ldr
r6
,
[
sp
,
#
44
]
; y_step_q4
ldr
r7
,
[
sp
,
#
40
]
; filter_y
cmp
r6
,
#
16
bne
call_vert_c_convolve
; y_step_q4 != 16
ldr
r8
,
[
sp
,
#
48
]
; w
ldr
r9
,
[
sp
,
#
52
]
; h
...
...
@@ -266,12 +260,5 @@ loop_vert
pop
{
r4
-
r10
,
pc
}
call_vert_c_convolve
pop
{
r4
-
r10
,
lr
}
; un-adjust for taps
add
r0
,
r0
,
r1
add
r0
,
r0
,
r1
,
lsl
#
1
b
vp9_convolve8_avg_vert_c
ENDP
END
This diff is collapsed.
Click to expand it.
vp9/common/arm/neon/vp9_convolve8_neon.asm
+
8
−
21
View file @
8bebfbf7
...
...
@@ -52,15 +52,15 @@
; sp[]int h
|
vp9_convolve8_horiz_neon
|
PROC
ldr
r12
,
[
sp
,
#
4
]
; x_step_q4
cmp
r12
,
#
16
bne
vp9_convolve8_horiz_c
push
{
r4
-
r10
,
lr
}
sub
r0
,
r0
,
#
3
; adjust for taps
ldr
r4
,
[
sp
,
#
36
]
; x_step_q4
ldr
r5
,
[
sp
,
#
32
]
; filter_x
cmp
r4
,
#
16
bne
call_horiz_c_convolve
; x_step_q4 != 16
ldr
r6
,
[
sp
,
#
48
]
; w
ldr
r7
,
[
sp
,
#
52
]
; h
...
...
@@ -145,26 +145,20 @@ loop_horiz
pop
{
r4
-
r10
,
pc
}
call_horiz_c_convolve
pop
{
r4
-
r10
,
lr
}
add
r0
,
r0
,
#
3
; un-adjust for taps
b
vp9_convolve8_horiz_c
ENDP
|
vp9_convolve8_vert_neon
|
PROC
ldr
r12
,
[
sp
,
#
12
]
cmp
r12
,
#
16
bne
vp9_convolve8_vert_c
push
{
r4
-
r10
,
lr
}
; adjust for taps
sub
r0
,
r0
,
r1
sub
r0
,
r0
,
r1
,
lsl
#
1
ldr
r6
,
[
sp
,
#
44
]
; y_step_q4
ldr
r7
,
[
sp
,
#
40
]
; filter_y
cmp
r6
,
#
16
bne
call_vert_c_convolve
; y_step_q4 != 16
ldr
r8
,
[
sp
,
#
48
]
; w
ldr
r9
,
[
sp
,
#
52
]
; h
...
...
@@ -239,12 +233,5 @@ loop_vert
pop
{
r4
-
r10
,
pc
}
call_vert_c_convolve
pop
{
r4
-
r10
,
lr
}
; un-adjust for taps
add
r0
,
r0
,
r1
add
r0
,
r0
,
r1
,
lsl
#
1
b
vp9_convolve8_vert_c
ENDP
END
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment