Unfolds multiply-and-accumulate instructions into two opcodes, allowing simplification of other algorithms that might otherwise need special handling of the MAD opcode.
Marcel Sondaar
Public Domain
unfold_mad.c | Unfolds multiply-and-accumulate instructions into two opcodes, allowing simplification of other algorithms that might otherwise need special handling of the MAD opcode. |
Functions | |
LibGFX_UnfoldMad | substitutes the MAD opcode with an ADD and a MUL, replacing the original node |
substitutes the MAD opcode with an ADD and a MUL, replacing the original node
int LibGFX_UnfoldMad( AST_Node * root )