ref: 7481edb33f5ea82e29f12e0e872d04ea1a5373cb
parent: 240726ac85c16792d2bcf656c20248ea24d4734c
author: James Zern <jzern@google.com>
date: Tue Sep 27 15:43:03 EDT 2016
vpx_dsp/get_prob: make clip_prob branchless + inline the function directly as there was only one consumer (get_prob()) this is an attempt to reduce the amount of branches to workaround an amd bug. this change is mildly faster or neutral across x86-64, arm. http://support.amd.com/TechDocs/44739_12h_Rev_Gd.pdf 665 Integer Divide Instruction May Cause Unpredictable Behavior BUG=chromium:639712 Suggested-by: Pascal Massimino <pascal.massimino@gmail.com> Change-Id: Ia91823aded79aab469dd68095d44300e8df04ed2