提交 fd6ecac3 编写于 作者: H Henrik Gramner 提交者: Anton Khirnov

x86inc: Simplify AUTO_REP_RET

cpuflags is never undefined any more, it's set to 0 instead.

Also fix an incorrect comment.
Signed-off-by: NAnton Khirnov <anton@khirnov.net>
上级 5ca8e195
...@@ -638,10 +638,8 @@ DECLARE_ARG 7, 8, 9, 10, 11, 12, 13, 14 ...@@ -638,10 +638,8 @@ DECLARE_ARG 7, 8, 9, 10, 11, 12, 13, 14
%define last_branch_adr $$ %define last_branch_adr $$
%macro AUTO_REP_RET 0 %macro AUTO_REP_RET 0
%ifndef cpuflags %if notcpuflag(ssse3)
times ((last_branch_adr-$)>>31)+1 rep ; times 1 iff $ != last_branch_adr. times ((last_branch_adr-$)>>31)+1 rep ; times 1 iff $ == last_branch_adr.
%elif notcpuflag(ssse3)
times ((last_branch_adr-$)>>31)+1 rep
%endif %endif
ret ret
%endmacro %endmacro
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册