[PATCH] R600/SI: Improve min/max selection

Owen Anderson resistor at mac.com
Mon Aug 11 10:32:58 PDT 2014


FYI, you might want to double check the behavior of your fmax/fmin instructions.  It’s likely that they have NaN behavior that doesn’t match what the simple SELECT/SELECT_CC sequence would do.

—Owen

On Aug 11, 2014, at 1:33 AM, Matt Arsenault <arsenm2 at gmail.com> wrote:

> Hi,
> 
> These patches enable matching of min / max instructions on SI, which used to be matched from select_cc which is expanded on SI. Also match min3 / max3 versions.
> 
> <0001-R600-SI-Fix-fmin-fmax-matching-for-SI.patch><0002-R600-SI-Match-integer-min-max-instructions.patch><0003-R600-SI-Combine-min3-max3-instructions.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list