-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMItenet-performancePerformance related issuePerformance related issue
Milestone
Description
Currently for a * b + c; (integers) we emit:
mul w0, w0, w1
add w0, w0, w2but 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.
benaadams and ShreyasJejurkarbenaadams
Metadata
Metadata
Assignees
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMItenet-performancePerformance related issuePerformance related issue
Type
Projects
Status
Done