Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
23e0cb9f
Commit
23e0cb9f
authored
Oct 01, 2011
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add the clobber register list to inline assembly.
parent
f6a21a8d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
modules/codec/avcodec/copy.c
modules/codec/avcodec/copy.c
+6
-3
No files found.
modules/codec/avcodec/copy.c
View file @
23e0cb9f
...
...
@@ -45,7 +45,8 @@
store " %%xmm2, 16(%[dst])\n" \
store " %%xmm3, 32(%[dst])\n" \
store " %%xmm4, 48(%[dst])\n" \
: : [dst]"r"(dstp), [src]"r"(srcp) : "memory")
: : [dst]"r"(dstp), [src]"r"(srcp) \
: "xmm1", "xmm2", "xmm3", "xmm4", "memory")
/* Execute the instruction op only if SSE2 is supported. */
#ifdef CAN_COMPILE_SSE2
...
...
@@ -184,7 +185,8 @@ static void SplitUV(uint8_t *dstu, size_t dstu_pitch,
"pshufb %%xmm7, %%xmm2
\n
"
"pshufb %%xmm7, %%xmm3
\n
"
STORE2X32
:
:
[
dst1
]
"r"
(
&
dstu
[
x
]),
[
dst2
]
"r"
(
&
dstv
[
x
]),
[
src
]
"r"
(
&
src
[
2
*
x
]),
[
shuffle
]
"r"
(
shuffle
)
:
"memory"
);
:
:
[
dst1
]
"r"
(
&
dstu
[
x
]),
[
dst2
]
"r"
(
&
dstv
[
x
]),
[
src
]
"r"
(
&
src
[
2
*
x
]),
[
shuffle
]
"r"
(
shuffle
)
:
"xmm0"
,
"xmm1"
,
"xmm2"
,
"xmm3"
,
"xmm7"
,
"memory"
);
}
}
else
#endif
...
...
@@ -210,7 +212,8 @@ static void SplitUV(uint8_t *dstu, size_t dstu_pitch,
"packuswb %%xmm6, %%xmm2
\n
"
"packuswb %%xmm7, %%xmm3
\n
"
STORE2X32
:
:
[
dst2
]
"r"
(
&
dstu
[
x
]),
[
dst1
]
"r"
(
&
dstv
[
x
]),
[
src
]
"r"
(
&
src
[
2
*
x
]),
[
mask
]
"r"
(
mask
)
:
"memory"
);
:
:
[
dst2
]
"r"
(
&
dstu
[
x
]),
[
dst1
]
"r"
(
&
dstv
[
x
]),
[
src
]
"r"
(
&
src
[
2
*
x
]),
[
mask
]
"r"
(
mask
)
:
"xmm0"
,
"xmm1"
,
"xmm2"
,
"xmm3"
,
"xmm4"
,
"xmm5"
,
"xmm6"
,
"xmm7"
,
"memory"
);
}
}
#endif
...
...
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