Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
85a3c19e
Commit
85a3c19e
authored
Jul 20, 2012
by
Jason Garrett-Glaser
Committed by
Justin Ruggles
Jul 22, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsputil: x86: add SHUFFLE_MASK_W macro
Simplifies pshufb masks that operate on words.
parent
b2704a65
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
dsputil_yasm.asm
libavcodec/x86/dsputil_yasm.asm
+1
-1
x86util.asm
libavutil/x86/x86util.asm
+12
-0
No files found.
libavcodec/x86/dsputil_yasm.asm
View file @
85a3c19e
...
@@ -28,7 +28,7 @@ pb_zzzzzzzz77777777: times 8 db -1
...
@@ -28,7 +28,7 @@ pb_zzzzzzzz77777777: times 8 db -1
pb_7
:
times
8
db
7
pb_7
:
times
8
db
7
pb_zzzz3333zzzzbbbb
:
db
-
1
,
-
1
,
-
1
,
-
1
,
3
,
3
,
3
,
3
,
-
1
,
-
1
,
-
1
,
-
1
,
11
,
11
,
11
,
11
pb_zzzz3333zzzzbbbb
:
db
-
1
,
-
1
,
-
1
,
-
1
,
3
,
3
,
3
,
3
,
-
1
,
-
1
,
-
1
,
-
1
,
11
,
11
,
11
,
11
pb_zz11zz55zz99zzdd
:
db
-
1
,
-
1
,
1
,
1
,
-
1
,
-
1
,
5
,
5
,
-
1
,
-
1
,
9
,
9
,
-
1
,
-
1
,
13
,
13
pb_zz11zz55zz99zzdd
:
db
-
1
,
-
1
,
1
,
1
,
-
1
,
-
1
,
5
,
5
,
-
1
,
-
1
,
9
,
9
,
-
1
,
-
1
,
13
,
13
pb_revwords
:
db
14
,
15
,
12
,
13
,
10
,
11
,
8
,
9
,
6
,
7
,
4
,
5
,
2
,
3
,
0
,
1
pb_revwords
:
SHUFFLE_MASK_W
7
,
6
,
5
,
4
,
3
,
2
,
1
,
0
pd_16384
:
times
4
dd
16384
pd_16384
:
times
4
dd
16384
pb_bswap32
:
db
3
,
2
,
1
,
0
,
7
,
6
,
5
,
4
,
11
,
10
,
9
,
8
,
15
,
14
,
13
,
12
pb_bswap32
:
db
3
,
2
,
1
,
0
,
7
,
6
,
5
,
4
,
11
,
10
,
9
,
8
,
15
,
14
,
13
,
12
...
...
libavutil/x86/x86util.asm
View file @
85a3c19e
...
@@ -625,3 +625,15 @@
...
@@ -625,3 +625,15 @@
shufps
%1
,
%1
,
0
shufps
%1
,
%1
,
0
%endif
%endif
%endmacro
%endmacro
%macro
SHUFFLE_MASK_W
8
%
rep
8
%
if
%1
>=
0x80
db
%1
,
%1
%
else
db
%1
*
2
db
%1
*
2
+
1
%
endif
%
rotate
1
%
endrep
%endmacro
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