bagel99 / llvm-my66000

This is a fork of the LLVM project. The code in branch my66000 supports Mitch Alsup's MY66000. The code in branch mcore supports the Motorola MCore.
http://llvm.org
Other
2 stars 2 forks source link

Missed optimizaton for FMAC #16

Closed bagel99 closed 1 year ago

bagel99 commented 1 year ago

This was part of issue #15. Small point:

    cvtsd   r3,#1
    fmac    r1,r2,r1,r3

could probably be done better with the constant 1.0 as the fourth argument to fmac - same number of words, one less instruction).

bagel99 commented 1 year ago

Fixed in commit 242c042a9d39f8e2aa5ff43d964fc531474dc185.