Differences between revisions 5 and 6
Revision 5 as of 2008-05-14 08:31:40
Size: 650
Comment:
Revision 6 as of 2009-09-20 21:55:16
Size: 652
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
[[BR]] <<BR>>
Line 14: Line 14:
implementation file: [http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32APIMagics.cpp?view=markup http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32APIMagics.cpp] implementation file: [[http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32APIMagics.cpp?view=markup|http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32APIMagics.cpp]]

'api_magic' LIR transformation replaces known Java API calls with platform dependent instruction sequences.

Example of Java API methods that can be replaced with IA32 instructions:

java/lang/Integer.numberOfLeadingZeros
java/lang/Long.numberOfLeadingZeros
java/lang/Float.floatToRawIntBits
java/lang/Float.intBitsToFloat
various java/lang/Math methods
...

implementation file: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32APIMagics.cpp

Jitrino_OPT/api_magic (last edited 2009-09-20 21:55:16 by localhost)