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
b955a69b
Commit
b955a69b
authored
14 years ago
by
Johann Koenig
Committed by
Code Review
14 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Fix valgrind errors in vp8_sixtap_predict8x4_armv6()."
parents
02e8a7bb
e2795e99
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vp8/common/arm/armv6/sixtappredict8x4_v6.asm
+15
-22
15 additions, 22 deletions
vp8/common/arm/armv6/sixtappredict8x4_v6.asm
with
15 additions
and
22 deletions
vp8/common/arm/armv6/sixtappredict8x4_v6.asm
+
15
−
22
View file @
b955a69b
...
@@ -25,10 +25,10 @@
...
@@ -25,10 +25,10 @@
;and the result is stored in transpose.
;and the result is stored in transpose.
|
vp8_sixtap_predict8x4_armv6
|
PROC
|
vp8_sixtap_predict8x4_armv6
|
PROC
stmdb
sp
!
,
{
r4
-
r11
,
lr
}
stmdb
sp
!
,
{
r4
-
r11
,
lr
}
s
ub
sp
,
sp
,
#
184
;reserve space on stack for temporary storage
: 20x(8+1) +4
s
tr
r3
,
[
sp
,
#
-
184
]
!
;reserve space on stack for temporary storage
, store yoffset
cmp
r2
,
#
0
;skip first_pass filter if xoffset=0
cmp
r2
,
#
0
;skip first_pass filter if xoffset=0
str
r
3
,
[
sp
]
,
#
4
;store yoffset
add
l
r
,
sp
,
#
4
;point to temporary buffer
beq
skip_firstpass_filter
beq
skip_firstpass_filter
;first-pass filter
;first-pass filter
...
@@ -45,7 +45,6 @@
...
@@ -45,7 +45,6 @@
mov
r2
,
#
0x90000
; height=9 is top part of counter
mov
r2
,
#
0x90000
; height=9 is top part of counter
sub
r1
,
r1
,
#
8
sub
r1
,
r1
,
#
8
mov
lr
,
#
20
|
first_pass_hloop_v6
|
|
first_pass_hloop_v6
|
ldrb
r6
,
[
r0
,
#
-
5
]
; load source data
ldrb
r6
,
[
r0
,
#
-
5
]
; load source data
...
@@ -83,10 +82,10 @@
...
@@ -83,10 +82,10 @@
tst
r2
,
#
0xff
; test loop counter
tst
r2
,
#
0xff
; test loop counter
usat
r11
,
#
8
,
r11
,
asr
#
7
usat
r11
,
#
8
,
r11
,
asr
#
7
add
r12
,
r12
,
#
0x40
add
r12
,
r12
,
#
0x40
strh
r11
,
[
sp
],
lr
; result is transposed and stored, which
strh
r11
,
[
lr
],
#
20
; result is transposed and stored, which
usat
r12
,
#
8
,
r12
,
asr
#
7
usat
r12
,
#
8
,
r12
,
asr
#
7
strh
r12
,
[
sp
],
lr
strh
r12
,
[
lr
],
#
20
movne
r11
,
r6
movne
r11
,
r6
movne
r12
,
r7
movne
r12
,
r7
...
@@ -107,8 +106,7 @@
...
@@ -107,8 +106,7 @@
subs
r2
,
r2
,
#
0x10000
subs
r2
,
r2
,
#
0x10000
mov
r6
,
#
158
sub
lr
,
lr
,
#
158
sub
sp
,
sp
,
r6
add
r0
,
r0
,
r1
; move to next input line
add
r0
,
r0
,
r1
; move to next input line
...
@@ -116,10 +114,7 @@
...
@@ -116,10 +114,7 @@
;second pass filter
;second pass filter
secondpass_filter
secondpass_filter
mov
r1
,
#
18
ldr
r3
,
[
sp
],
#
4
; load back yoffset
sub
sp
,
sp
,
r1
; 18+4
ldr
r3
,
[
sp
,
#
-
4
]
; load back yoffset
ldr
r0
,
[
sp
,
#
216
]
; load dst address from stack 180+36
ldr
r0
,
[
sp
,
#
216
]
; load dst address from stack 180+36
ldr
r1
,
[
sp
,
#
220
]
; load dst stride from stack 180+40
ldr
r1
,
[
sp
,
#
220
]
; load dst stride from stack 180+40
...
@@ -192,30 +187,28 @@ skip_firstpass_filter
...
@@ -192,30 +187,28 @@ skip_firstpass_filter
sub
r0
,
r0
,
r1
,
lsl
#
1
sub
r0
,
r0
,
r1
,
lsl
#
1
sub
r1
,
r1
,
#
8
sub
r1
,
r1
,
#
8
mov
r2
,
#
9
mov
r2
,
#
9
mov
r3
,
#
20
skip_firstpass_hloop
skip_firstpass_hloop
ldrb
r4
,
[
r0
],
#
1
; load data
ldrb
r4
,
[
r0
],
#
1
; load data
subs
r2
,
r2
,
#
1
subs
r2
,
r2
,
#
1
ldrb
r5
,
[
r0
],
#
1
ldrb
r5
,
[
r0
],
#
1
strh
r4
,
[
sp
],
r3
; store it to immediate buffer
strh
r4
,
[
lr
],
#
20
; store it to immediate buffer
ldrb
r6
,
[
r0
],
#
1
; load data
ldrb
r6
,
[
r0
],
#
1
; load data
strh
r5
,
[
sp
],
r3
strh
r5
,
[
lr
],
#
20
ldrb
r7
,
[
r0
],
#
1
ldrb
r7
,
[
r0
],
#
1
strh
r6
,
[
sp
],
r3
strh
r6
,
[
lr
],
#
20
ldrb
r8
,
[
r0
],
#
1
ldrb
r8
,
[
r0
],
#
1
strh
r7
,
[
sp
],
r3
strh
r7
,
[
lr
],
#
20
ldrb
r9
,
[
r0
],
#
1
ldrb
r9
,
[
r0
],
#
1
strh
r8
,
[
sp
],
r3
strh
r8
,
[
lr
],
#
20
ldrb
r10
,
[
r0
],
#
1
ldrb
r10
,
[
r0
],
#
1
strh
r9
,
[
sp
],
r3
strh
r9
,
[
lr
],
#
20
ldrb
r11
,
[
r0
],
#
1
ldrb
r11
,
[
r0
],
#
1
strh
r10
,
[
sp
],
r3
strh
r10
,
[
lr
],
#
20
add
r0
,
r0
,
r1
; move to next input line
add
r0
,
r0
,
r1
; move to next input line
strh
r11
,
[
sp
],
r3
strh
r11
,
[
lr
],
#
20
mov
r4
,
#
158
sub
lr
,
lr
,
#
158
; move over to next column
sub
sp
,
sp
,
r4
; move over to next column
bne
skip_firstpass_hloop
bne
skip_firstpass_hloop
b
secondpass_filter
b
secondpass_filter
...
...
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