Closed
Description
Currently for a * b + c;
(integers) we emit:
mul w0, w0, w1
add w0, w0, w2
but C++ compilers emit: madd
(or msub
): https://godbolt.org/z/PMhq9G
Shouldn't be difficult to implement, a very simple implementation: EgorBo@8b7be3f (perhaps, it's better to introduce a new node for it since we might want to also recognize fmadd (for fp) in future in a sort of an "unsafe" math mode.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done