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.

246<br />

Table A.2 continued:<br />

# Len Score Multicode<br />

%<br />

26 2 1.1 aload 0 aload 1<br />

27 3 1.0 iload iconst m1 if icmpeq<br />

28 2 1.0 aload 0 invokespecial<br />

29 3 1.0 aload 1 aload 0 if acmpne<br />

30 10 1.0 arraylength istore aload 2 getfield iconst 0 aaload astore iconst 0<br />

istore goto<br />

31 15 0.9 aload 0 ldc putfield aload 0 bipush putfield aload 0 bipush putfield<br />

aload 0 ldc putfield aload 0 sipush putfield<br />

32 3 0.9 aload 1 instanceof ifne<br />

33 4 0.8 iload aaload instanceof ifeq<br />

34 4 0.7 iload 2 aaload astore 3 goto<br />

35 3 0.7 aload aload invokevirtual<br />

36 4 0.7 aload getfield iconst 1 if icmpne<br />

37 7 0.7 astore 3 aload 3 aload 2 getfield iconst 0 aaload invokevirtual<br />

38 2 0.7 aload 1 invokevirtual<br />

39 2 0.7 bipush if icmpne<br />

40 4 0.6 aload 1 getfield dcmpl ifeq<br />

41 3 0.6 aload ldc invokevirtual<br />

42 2 0.6 aload 0 invokevirtual<br />

43 6 0.6 aload 3 aload 2 getfield putfield aload 3 areturn<br />

44 3 0.6 aload 1 aastore return<br />

45 4 0.5 aload 1 aload 3 getfield invokevirtual<br />

46 3 0.5 iload aload 3 invokevirtual<br />

47 2 0.5 aload 0 iload 1<br />

48 3 0.5 astore 2 aload 2 ifnonnull<br />

49 2 0.4 putfield return<br />

50 2 0.4 new dup

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

Saved successfully!

Ooh no, something went wrong!