[x264-devel] x86inc: Fix VEX -> EVEX instruction conversion
Henrik Gramner
git at videolan.org
Tue Aug 7 00:05:28 CEST 2018
x264 | branch: master | Henrik Gramner <henrik at gramner.com> | Sat Mar 31 01:16:06 2018 +0200| [0a84d986e7020f8344f00752e3600b9769cc1e85] | committer: Henrik Gramner
x86inc: Fix VEX -> EVEX instruction conversion
There's an edge case that wasn't properly handled.
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=0a84d986e7020f8344f00752e3600b9769cc1e85
---
common/x86/x86inc.asm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/common/x86/x86inc.asm b/common/x86/x86inc.asm
index 5ec29e29..49e73d65 100644
--- a/common/x86/x86inc.asm
+++ b/common/x86/x86inc.asm
@@ -1654,6 +1654,11 @@ FMA4_INSTR fnmsub, pd, ps, sd, ss
%assign %%evex_required 1
%endif
%endif
+ %ifnum regnumof%3
+ %if regnumof%3 >= 16 || sizeof%3 > 32
+ %assign %%evex_required 1
+ %endif
+ %endif
%if %%evex_required
%6 %%args
%else
More information about the x264-devel
mailing list