<div dir="ltr">suppose, during execution width comes less than 8 like 5, then we would like to run our code section which handles the reaming width (_end_col:) not the whole code (handle multiple of 8 and renaming width part, it will computed twice in this case and  corrupting some (8 - widthleft) dst[] old values which is being used with 'pblenvb' instruction.This is why we have put a check. if width is always >= 8 you are right, we don't need to put the check.<br>
<div><br></div><div>Regards,</div><div>praveen</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 27, 2013 at 9:05 PM, Jason Garrett-Glaser <span dir="ltr"><<a href="mailto:jason@x264.com" target="_blank">jason@x264.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> +_loop_row:<br>
> +    xor         col,        col<br>
> +    cmp                width,      0<br>
> +    je         _end_col<br>
<br>
</div>I don't understand this. Why do we have to do this check?<br>
<br>
Jason<br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div><br></div>