<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div>At 2014-04-16 22:02:54,dnyaneshwar@multicorewareinc.com wrote:<br>># HG changeset patch<br>># User Dnyaneshwar G <dnyaneshwar@multicorewareinc.com><br>># Date 1397656046 -19800<br>># Wed Apr 16 19:17:26 2014 +0530<br>># Node ID 02ab691ea6ecceb5495d0ffa3f71d7752aecc046<br>># Parent 0b696c7f46f261f66ecebbe3280b17c01165f3d0<br>>asm: align stack to 64-bytes, to avoid crash<br>><br>>diff -r 0b696c7f46f2 -r 02ab691ea6ec source/common/x86/intrapred8.asm<br>>--- a/source/common/x86/intrapred8.asm Tue Apr 15 14:07:33 2014 -0500<br>>+++ b/source/common/x86/intrapred8.asm Wed Apr 16 19:17:26 2014 +0530<br>>@@ -619,7 +619,13 @@<br>> %define bottomRow2 m10<br>> %define bottomRow3 m11<br>> %else<br>>-cglobal intra_pred_planar32, 4,7,8,0-(4*mmsize)<br>>+cglobal intra_pred_planar32, 4,7,8<br>>+ ; align stack to 64-bytes<br>>+ mov r6, rsp<br>>+ sub rsp, 64+gprsize<br>64 -> 4*mmsize</div>
<div> </div>
<div>>+ and rsp, ~63<br>>+ mov [rsp+64], r6</div>
<div>same as above</div>
<div><br>>+<br>> %define bottomRow0 [rsp + 0 * mmsize]<br>> %define bottomRow1 [rsp + 1 * mmsize]<br>> %define bottomRow2 [rsp + 2 * mmsize]<br>>@@ -713,7 +719,9 @@<br>> dec r3<br>> jnz .loop<br>> %undef COMP_PRED_PLANAR_ROW<br>>-<br>>+%if ARCH_X86_64 == 0<br>>+ mov rsp, [rsp+64]<br>>+%endif</div>
<div>condition compile will broken x64 build</div>
<div><br>> RET<br>> <br>> ;-----------------------------------------------------------------------------<br>>_______________________________________________<br>>x265-devel mailing list<br>>x265-devel@videolan.org<br>>https://mailman.videolan.org/listinfo/x265-devel<br></div></div>