i965/fs: Add support for the MAC instruction

Graphics / Mesa 3D Graphics Library / Mesa - Juha-Pekka Heikkila [gmail.com] - 17 April 2014 00:46 UTC

This allows us to generate the MAC (multiply-accumulate) instruction, which can be used to implement some expressions in fewer instructions than doing a series of MUL and ADDs.

da0c3b0 i965/fs: Add support for the MAC instruction.
src/mesa/drivers/dri/i965/brw_fs.cpp | 1 +
src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 3 +++
2 files changed, 4 insertions(+)

Upstream: cgit.freedesktop.org


  • Share