commit | 9e9eb7c60d57620bfe46b2a489e7f56a5925115a | [log] [tgz] |
---|---|---|
author | Steven Fuerst <svfuerst@gmail.com> | Wed Aug 15 15:07:16 2012 -0700 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Sep 20 13:10:34 2012 -0400 |
tree | 8a22cea5cebee49a5e9bdbe205965270cc3414b4 | |
parent | 747f49ba67b8895a5831ab539de551b916f3738c [diff] |
Annotate int2float() as being a pure function. This allows gcc to fold duplicate calls into a single call. Since the current users do actually call it multiple times with the same arguments, this is an obvious win. Signed-off-by: Steven Fuerst <svfuerst@gmail.com>