[Piglit] [PATCH] cl: Add tests for mad mix

Matt Arsenault arsenm2 at gmail.com
Thu Oct 5 19:17:24 UTC 2017


> On Oct 5, 2017, at 08:09, Jan Vesely <jan.vesely at rutgers.edu> wrote:
> 
> On Mon, 2017-10-02 at 10:32 -0700, Matt Arsenault wrote:
>> ping
>> 
>>> On Sep 19, 2017, at 19:25, Matt Arsenault <arsenm2 at gmail.com> wrote:
>>> 
>>> These aren't great since they need more test
>>> values, and generating half results is kind
>>> of a pain from any other tool. The perfect
>>> values used don't really stress the conversions,
>>> but this as at least enough to make sure the
>>> encoding is correct.
> 
> what is this test supposed to test? generic fp16 encoding
> /functionality? if so, why is it better than vstore_half/vload_half
> tests? 
> does it test fp16 version of clamp? why is it better than generated
> clamp tests?
> 
> Jan
> 

It’s specifically testing v_mad_mix_f32, v_mad_mixlo_f16, v_mad_mixhi_f16 instructions added in gfx9



More information about the Piglit mailing list