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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

253<br />

Table A.5 continued:<br />

# Len Score Multicode<br />

%<br />

33 19 4.4 iload 1 i2b bastore aload 0 dup getfield iconst 1 iadd putfield<br />

aload 0 aload 0 getfield iconst 1 iadd aload 0 getfield iand putfield<br />

return<br />

34 7 4.3 aload 0 getfield bipush faload aload 0 getfield bipush<br />

35 9 4.3 faload fsub aload 3 bipush faload fmul fadd fastore aload 1<br />

36 25 4.3 fastore aload 2 bipush dup2 faload aload 2 bipush faload fsub<br />

fastore aload 2 bipush dup2 faload aload 2 bipush faload fsub<br />

fastore aload 2 bipush dup2 faload aload 2 bipush<br />

37 2 4.2 iload iload<br />

38 7 4.2 sastore aload 1 iload 2 bipush iadd iload isub<br />

39 11 3.7 fconst 0 dup fstore dup fstore dup fstore fstore 3 iconst 0 istore<br />

goto<br />

40 2 3.7 bipush if icmplt<br />

41 11 3.6 istore iload iconst 4 iushr istore iload bipush iand istore iload<br />

ifle<br />

42 3 3.5 iload iload 3 if icmplt<br />

43 11 3.5 iload iconst 2 imul istore aload 1 iload 2 iload iadd aload 0<br />

fload 3 invokespecial<br />

44 7 3.4 aload 1 getfield aload 0 getfield iadd bipush iadd<br />

45 7 3.4 istore aload 0 iconst 0 putfield iconst 1 istore goto<br />

46 10 3.3 faload fmul fadd fstore iload iconst 1 iadd bipush iand istore<br />

47 10 3.3 faload fmul fadd fstore fload aload 0 getfield iload aaload<br />

iconst 0<br />

48 10 3.3 faload fmul fadd fstore 3 fload aload 0 getfield iload aaload bipush<br />

49 13 3.2 aload 0 getfield aload 0 dup getfield dup x1 iconst 1 iadd putfield<br />

baload sipush iand ireturn<br />

50 8 3.1 iconst 0 istore 3 aload 1 getfield istore aload 1 getfield invokevirtual

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

Saved successfully!

Ooh no, something went wrong!