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.

247<br />

# Len Score Multicode<br />

%<br />

1 19 100.0 aload 0 getfield aload 0 getfield iload iadd caload istore 3<br />

aload 1 getfield aload 1 getfield iload iadd caload istore iload 3<br />

iload if icmpeq<br />

2 2 27.3 aload 0 getfield<br />

3 13 22.1 iload iload 2 aload 1 iload iload 3 iadd baload sipush iand ior<br />

i2c castore iinc<br />

4 4 15.0 aload iload baload bipush<br />

5 7 12.9 iload 3 iload iadd aaload getfield iload 1 invokevirtual<br />

6 3 12.1 iload iload 2 if icmplt<br />

7 3 8.6 iload 1 aaload areturn<br />

8 5 8.6 iload 3 aaload getfield iload 1 invokevirtual<br />

9 5 8.6 checkcast astore aload aload invokevirtual<br />

10 9 7.9 iload 3 iload iadd aload aastore iload 3 iload isub istore 3<br />

11 4 7.1 istore 2 iconst 0 istore goto<br />

12 3 6.2 iload iload 3 if icmpge<br />

13 4 4.9 iload 3 iload isub ireturn<br />

14 5 4.9 iload 2 iload isub istore 3 goto<br />

15 3 4.3 iload 0 iload 1 if icmpge<br />

16 3 4.3 aload 1 getfield invokestatic<br />

17 3 4.1 iload iload if icmplt<br />

18 5 3.9 iload 3 iload iadd aaload aastore<br />

19 7 3.2 aload 0 dup getfield dup x1 iconst 1 iadd putfield<br />

20 15 3.1 aload 0 iload newarray putfield aload 0 iconst 0 putfield aload 0<br />

iload putfield iload 2 sipush iand bipush ishl<br />

21 3 2.4 iload 2 iload if icmplt<br />

22 10 2.3 iload 2 aload 1 aastore aload 0 dup getfield iconst 1 iadd putfield<br />

return<br />

23 11 2.2 aload 2 getfield new dup aload iconst 0 iload iload iload isub<br />

invokespecial<br />

24 2 2.2 iload 3 ifge<br />

25 2 2.1 checkcast astore<br />

Table A.3: Multicodes of Length 45 or Less using Transfer Reduction Scoring for<br />

209 db

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

Saved successfully!

Ooh no, something went wrong!