-
Optimize floating-point minimum/maximum operations. · 47b6ba6dNicolas Capens authored
Combine a floating-point compare + select into min/max operations on x86 using SSE2 instructions, where equivalent. Only handles the most common cases for now (but for both scalars and vectors): x > y ? x : y -> max x < y ? x : y -> min BUG=swiftshader:19 Change-Id: Ic87bfa90cefd8014af5624d85a2ecef1c891e328 Reviewed-on: https://chromium-review.googlesource.com/439814Reviewed-by:
Jim Stichnoth <stichnot@chromium.org>
47b6ba6d
×