Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Gramner <henrik@gramner.com>2015-10-15 18:42:49 +0300
committerHenrik Gramner <henrik@gramner.com>2016-01-22 01:19:46 +0300
commit87b587d4fe91064325884bbd4130ef079e6c3abe (patch)
tree3fb3dc7a2d1412a3114eccb6650d0339244adab2 /libavutil/x86
parent2d60b18cf0827c599123b1418efc2d0f0a346d01 (diff)
x86inc: Simplify AUTO_REP_RET
cpuflags is never undefined any more, it's set to 0 instead. Also fix an incorrect comment.
Diffstat (limited to 'libavutil/x86')
-rw-r--r--libavutil/x86/x86inc.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm
index 7d236a07b3..a4fce72a62 100644
--- a/libavutil/x86/x86inc.asm
+++ b/libavutil/x86/x86inc.asm
@@ -638,10 +638,8 @@ DECLARE_ARG 7, 8, 9, 10, 11, 12, 13, 14
%define last_branch_adr $$
%macro AUTO_REP_RET 0
- %ifndef cpuflags
- times ((last_branch_adr-$)>>31)+1 rep ; times 1 iff $ != last_branch_adr.
- %elif notcpuflag(ssse3)
- times ((last_branch_adr-$)>>31)+1 rep
+ %if notcpuflag(ssse3)
+ times ((last_branch_adr-$)>>31)+1 rep ; times 1 iff $ == last_branch_adr.
%endif
ret
%endmacro