summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorAart Bik <ajcbik@google.com>2016-02-25 11:32:32 -0800
committerAart Bik <ajcbik@google.com>2016-02-26 09:16:07 -0800
commit2a6aad9d388bd29bff04aeec3eb9429d436d1873 (patch)
treea5fa70df33d410af1be1064c460b6e34f07caf93 /compiler/optimizing/graph_visualizer.cc
parent9ec486cc08ad658eee33f9bde405b97502562840 (diff)
Implement fp to bits methods as intrinsics.
Rationale: Better optimization, better performance. Results on libcore benchmark: Most gain is from moving the invariant call out of the loop after we detect everything is a side-effect free intrinsic. But generated code in general case is much cleaner too. Before: timeFloatToIntBits() in 181 ms. timeFloatToRawIntBits() in 35 ms. timeDoubleToLongBits() in 208 ms. timeDoubleToRawLongBits() in 35 ms. After: timeFloatToIntBits() in 36 ms. timeFloatToRawIntBits() in 35 ms. timeDoubleToLongBits() in 35 ms. timeDoubleToRawLongBits() in 34 ms. bug=11548336 Change-Id: I6e001bd3708e800bd75a82b8950fb3a0fc01766e
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions