Open Access
Optimizing Precision Overhead for x86 Processors
Takeshi Ogasawara,Hideaki Komatsu,Toshio Nakatani +2 more
- 01 Aug 2002
- pp 41-50
TL;DR: This work eliminates redundant mode switches by ignoring the default precision mode and calling a method in the same precision mode as the caller, and reduces the overhead of rounding by isolating code segments of a given method that should be executed in the single‐precision mode.
read more
Abstract: It is a major challenge for a Java JIT compiler to perform single-precision floating-point operations efficiently for the x86 processors. In previous research, the doubleprecision mode is set as the default precision mode when methods are invoked. This introduces redundant mode switches to preserve the default precision mode across method boundaries. Furthermore, the precision mode is switched only at the start and end points of a given method to reduce the overhead of rounding double-precision results to single-precision ones. Therefore, methods that include both singleand double-precision operations cannot switch the mode and have to suffer from the overhead of rounding using this convention, even if single-precision operations are dominant. We propose a new approach to these problems. We eliminate redundant mode switches by ignoring the default precision mode and calling a method in the same precision mode as the caller. For methods that include both singleand double-precision methods, we reduce the overhead of rounding by isolating code segments of a given method that should be executed in the single-precision mode. We implemented our approach in IBM’s production-quality Just-in-Time compiler, and obtained experimental results, showing that, in SPECjvm98, it consistently shows the best performance in any configuration of benchmark programs, inline policies, and processor architectures compared to previous research.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Citations
Evolution of a java just-in-time compiler for IA-32 platforms
Toshio Suganuma,Takeshi Ogasawara,Kiyokuni Kawachiya,Mikio Takeuchi,Kazuaki Ishizaki,Akira Koseki,Tatsushi Inagaki,Toshiaki Yasue,Motohiro Kawahito,Tamiya Onodera,Hideaki Komatsu,Toshio Nakatani +11 more
TL;DR: The design and implementation of the JIT compiler for IA-32 platforms by focusing on the recent advances achieved in the past several years is described, including the dynamic optimization framework, which focuses the expensive optimization efforts only on performance-critical methods, thus helping to manage the total compilation overhead.
23
Evolution of a Java just-in-time compiler for IA-32 platforms
T. Suganuma,T. Ogasawara,K. Kawachiya,M. Takeuchi,K. Ishizaki,A. Koseki,T. Inagaki,T. Yasue,Motohiro Kawahito,T. Onodera,H. Komatsu,T. Nakatani +11 more
TL;DR: The design and implementation of the JIT compiler for IA-32 platforms by focusing on the recent advances achieved in the past several years is described, including the dynamic optimization framework, which focuses the expensive optimization efforts only on performance-critical methods, thus helping to manage the total compilation overhead.
1
A new speculation technique to optimize floating-point performance while preserving bit-by-bit reproducibility
Mikio Takeuchi,Hideaki Komatsu,Toshio Nakatani +2 more
- 23 Jun 2003
TL;DR: A new software technique to optimize floating-point performance while preserving the bit-by-bit reproducibility of the results is proposed, called FP speculation, which is generally applicable for processor architectures that have sufficientfloating-point resources.
References
•Book
The Java Language Specification
James Gosling,Bill Joy,Guy L. Steele +2 more
- 12 Sep 1996
TL;DR: The Java Language Specification, Second Edition is the definitive technical reference for the Java programming language and provides complete, accurate, and detailed coverage of the syntax and semantics of the Java language.
The microarchitecture of the Pentium 4 processor
G. Hinton
- 01 Jan 2001
TL;DR: The main features and functions of the NetBurst microarchitecture of Intel’s new flagship Pentium 4 processor are described, including its new form of instruction cache called the Execution Trace Cache.
671
Adaptive optimization in the Jalapeno JVM
Matthew Arnold,Stephen J. Fink,David Grove,Michael Hind,Peter F. Sweeney +4 more
- 01 Oct 2000
TL;DR: The architecture of the Jalapeno Adaptive Optimization System is presented, a system to support leading-edge virtual machine technology and enable ongoing research on online feedback-directed optimizations, based on a federation of threads with asynchronous communication.
The java hotspot TM server compiler
Michael H. Paleczny,Christopher A. Vick,Cliff Click +2 more
- 23 Apr 2001
TL;DR: The Java HotSpotTM Server Compiler achieves improved asymptotic performance through a combination of object-oriented and classical-compiler optimizations.
324
Related Papers (5)
Jing Yu,María Jesús Garzarán,Marc Snir +2 more
- 01 Oct 2007
Carl Staelin,Larry McVoy +1 more
- 15 Jun 1998