Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
ffmpeg
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Samuel Mira
ffmpeg
Commits
dea944b8
Unverified
Commit
dea944b8
authored
2 years ago
by
Lynne
Browse files
Options
Downloads
Patches
Plain Diff
x86/lpc: fix odd scalar loop overreads/writes
parent
ce16d183
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavcodec/x86/lpc.asm
+4
-5
4 additions, 5 deletions
libavcodec/x86/lpc.asm
with
4 additions
and
5 deletions
libavcodec/x86/lpc.asm
+
4
−
5
View file @
dea944b8
...
...
@@ -107,7 +107,6 @@ cglobal lpc_apply_welch_window, 3, 5, 8, data, len, out, off1, off2
.scalar_o:
movapd
xm7
,
[
dec_tab_scalar
]
subpd
xm0
,
xm7
; Set offsets
add
off2q
,
(
mmsize
/
4
)
+
4
*
cpuflag
(
avx2
)
...
...
@@ -118,14 +117,14 @@ cglobal lpc_apply_welch_window, 3, 5, 8, data, len, out, off1, off2
mulpd
xm2
,
xm0
,
xm0
subpd
xm1
,
xm2
cvtdq2pd
xm3
,
[
dataq
+
off1q
-
(
mmsize
/
4
)
+
4
*
cpuflag
(
avx2
)
]
cvtdq2pd
xm4
,
[
dataq
+
off2q
-
(
mmsize
/
4
)
+
4
*
cpuflag
(
avx2
)
]
cvtdq2pd
xm3
,
[
dataq
+
off1q
]
cvtdq2pd
xm4
,
[
dataq
+
off2q
]
mulpd
xm3
,
xm1
mulpd
xm4
,
xm1
mov
h
pd
[
outq
+
off1q
*
2
],
xm3
mov
h
pd
[
outq
+
off2q
*
2
],
xm4
mov
l
pd
[
outq
+
off1q
*
2
],
xm3
mov
l
pd
[
outq
+
off2q
*
2
],
xm4
addpd
xm0
,
xm7
...
...
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