[Mesa-dev] [PATCH 1/2] gallium: add TGSI_OPCODE_FMA

Marek Olšák maraeo at gmail.com
Mon Mar 2 11:44:25 PST 2015


On Mon, Mar 2, 2015 at 5:09 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> Like Roland mentioned, you need to add DFMA, and the relevant cases to
> glsl_to_tgsi_visitor::get_opcode so that it can be selected.

I plan to add DFMA too, but it's really low priority for me right now.
I can wait with this patch until it becomes high priority if needed.
Or feel free to take over.

I'll just change the definition of FMA to:

"Perform a * b + c with no intermediate rounding step." (same as LLVM's FMA)

That should be enough for everybody.

Marek


More information about the mesa-dev mailing list