13.10.2014 Views

OPTIMIZING THE JAVA VIRTUAL MACHINE INSTRUCTION SET BY ...

OPTIMIZING THE JAVA VIRTUAL MACHINE INSTRUCTION SET BY ...

OPTIMIZING THE JAVA VIRTUAL MACHINE INSTRUCTION SET BY ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

248<br />

Table A.3 continued:<br />

# Len Score Multicode<br />

%<br />

26 3 2.1 iload 3 aaload astore<br />

27 4 1.5 aload 1 getfield isub ireturn<br />

28 6 1.3 aload 0 iload 3 iconst 1 iadd putfield iload 2<br />

29 2 0.8 aload 0 invokespecial<br />

30 4 0.8 aload 0 aload 1 aload 0 invokevirtual<br />

31 3 0.7 iload 1 bipush if icmpne<br />

32 9 0.7 aload 0 aload 1 putfield aload 0 iconst 0 putfield aload 0 aload 1<br />

invokespecial<br />

33 2 0.6 iload 0 goto<br />

34 3 0.6 iload iload 3 if icmplt<br />

35 4 0.6 iload 1 castore aload 0 areturn<br />

36 8 0.4 invokestatic lstore lload lload 1 lsub lstore lload invokestatic<br />

37 7 0.4 aload iload 3 caload aload iload caload if icmpeq<br />

38 4 0.4 istore 1 iload 1 bipush if icmpeq<br />

39 7 0.4 getstatic lload ladd putstatic aload 0 iconst 1 invokespecial<br />

40 5 0.4 new dup aload 0 dup ifnonnull<br />

41 2 0.4 getfield if icmplt<br />

42 7 0.4 aload 0 aload 1 iload 2 iload iadd baload invokevirtual<br />

43 4 0.4 dup istore 3 bipush if icmpeq<br />

44 4 0.3 iload 1 iinc aload 3 invokeinterface<br />

45 4 0.3 aload 1 iload 3 i2c invokevirtual<br />

46 2 0.3 iconst 1 iadd<br />

47 2 0.3 aload 1 ifnonnull<br />

48 2 0.3 iload 2 ifge<br />

49 5 0.3 getstatic lload 0 ladd putstatic return<br />

50 5 0.3 getstatic iload 1 iadd putstatic return

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!