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
b73aae6f
Commit
b73aae6f
authored
Mar 17, 2014
by
Matt Oliver
Committed by
Michael Niedermayer
Mar 17, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/x86/idct_sse2_xvid: move offsets out of MANGLE()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
8e92ff25
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
idct_sse2_xvid.c
libavcodec/x86/idct_sse2_xvid.c
+8
-8
No files found.
libavcodec/x86/idct_sse2_xvid.c
View file @
b73aae6f
...
...
@@ -147,7 +147,7 @@ DECLARE_ASM_CONST(16, int32_t, walkenIdctRounders)[] = {
#endif
#define ROUND(x) "paddd "
MANGLE(x)
#define ROUND(x) "paddd "
x
#define JZ(reg, to) \
"testl "reg","reg" \n\t" \
...
...
@@ -347,13 +347,13 @@ inline void ff_idct_xvid_sse2(short *block)
{
__asm__
volatile
(
"movq "
MANGLE
(
m127
)
", %%mm0
\n\t
"
iMTX_MULT
(
"(%0)"
,
MANGLE
(
iTab1
),
ROUND
(
walkenIdctRounders
),
PUT_EVEN
(
ROW0
))
iMTX_MULT
(
"1*16(%0)"
,
MANGLE
(
iTab2
),
ROUND
(
walkenIdctRounders
+
1
*
16
),
PUT_ODD
(
ROW1
))
iMTX_MULT
(
"2*16(%0)"
,
MANGLE
(
iTab3
),
ROUND
(
walkenIdctRounders
+
2
*
16
),
PUT_EVEN
(
ROW2
))
iMTX_MULT
(
"(%0)"
,
MANGLE
(
iTab1
),
ROUND
(
MANGLE
(
walkenIdctRounders
)
),
PUT_EVEN
(
ROW0
))
iMTX_MULT
(
"1*16(%0)"
,
MANGLE
(
iTab2
),
ROUND
(
"1*16+"
MANGLE
(
walkenIdctRounders
)
),
PUT_ODD
(
ROW1
))
iMTX_MULT
(
"2*16(%0)"
,
MANGLE
(
iTab3
),
ROUND
(
"2*16+"
MANGLE
(
walkenIdctRounders
)
),
PUT_EVEN
(
ROW2
))
TEST_TWO_ROWS
(
"3*16(%0)"
,
"4*16(%0)"
,
"%%eax"
,
"%%ecx"
,
CLEAR_ODD
(
ROW3
),
CLEAR_EVEN
(
ROW4
))
JZ
(
"%%eax"
,
"1f"
)
iMTX_MULT
(
"3*16(%0)"
,
MANGLE
(
iTab4
),
ROUND
(
walkenIdctRounders
+
3
*
16
),
PUT_ODD
(
ROW3
))
iMTX_MULT
(
"3*16(%0)"
,
MANGLE
(
iTab4
),
ROUND
(
"3*16+"
MANGLE
(
walkenIdctRounders
)
),
PUT_ODD
(
ROW3
))
TEST_TWO_ROWS
(
"5*16(%0)"
,
"6*16(%0)"
,
"%%eax"
,
"%%edx"
,
CLEAR_ODD
(
ROW5
),
CLEAR_EVEN
(
ROW6
))
TEST_ONE_ROW
(
"7*16(%0)"
,
"%%esi"
,
CLEAR_ODD
(
ROW7
))
...
...
@@ -368,13 +368,13 @@ inline void ff_idct_xvid_sse2(short *block)
"2:
\n\t
"
iMTX_MULT
(
"4*16(%0)"
,
MANGLE
(
iTab1
),
"#"
,
PUT_EVEN
(
ROW4
))
"3:
\n\t
"
iMTX_MULT
(
"5*16(%0)"
,
MANGLE
(
iTab4
),
ROUND
(
walkenIdctRounders
+
4
*
16
),
PUT_ODD
(
ROW5
))
iMTX_MULT
(
"5*16(%0)"
,
MANGLE
(
iTab4
),
ROUND
(
"4*16+"
MANGLE
(
walkenIdctRounders
)
),
PUT_ODD
(
ROW5
))
JZ
(
"%%edx"
,
"1f"
)
"4:
\n\t
"
iMTX_MULT
(
"6*16(%0)"
,
MANGLE
(
iTab3
),
ROUND
(
walkenIdctRounders
+
5
*
16
),
PUT_EVEN
(
ROW6
))
iMTX_MULT
(
"6*16(%0)"
,
MANGLE
(
iTab3
),
ROUND
(
"5*16+"
MANGLE
(
walkenIdctRounders
)
),
PUT_EVEN
(
ROW6
))
JZ
(
"%%esi"
,
"1f"
)
"5:
\n\t
"
iMTX_MULT
(
"7*16(%0)"
,
MANGLE
(
iTab2
),
ROUND
(
walkenIdctRounders
+
5
*
16
),
PUT_ODD
(
ROW7
))
iMTX_MULT
(
"7*16(%0)"
,
MANGLE
(
iTab2
),
ROUND
(
"5*16+"
MANGLE
(
walkenIdctRounders
)
),
PUT_ODD
(
ROW7
))
#if ARCH_X86_32
iLLM_HEAD
#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