]> git.sesse.net Git - x264/commitdiff
x86inc: Simplify AUTO_REP_RET
authorHenrik Gramner <henrik@gramner.com>
Thu, 15 Oct 2015 15:42:49 +0000 (17:42 +0200)
committerHenrik Gramner <henrik@gramner.com>
Sat, 16 Jan 2016 23:30:12 +0000 (00:30 +0100)
cpuflags is never undefined any more, it's set to 0 instead.

Also fix an incorrect comment.

common/x86/x86inc.asm

index 51e6995defc0d86f4d2dc2d80734ce8665ac6d0f..71629db452438e38e56c42a9c2640e9a56081d8a 100644 (file)
@@ -625,10 +625,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