[Interpreter] Fixed unaligned load in TemplateTable::branch.

Mon, 30 May 2016 03:07:54 -0400

author
aoqi
date
Mon, 30 May 2016 03:07:54 -0400
changeset 15
b0af19080e55
parent 14
92759d406e78
child 16
3cedde979d75

[Interpreter] Fixed unaligned load in TemplateTable::branch.
Effect:
java -jar SPECjvm2008.jar -ikv -ict -bt 1 xml.transform
unaligned access: 428303 -> 873

src/cpu/mips/vm/templateTable_mips_64.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/cpu/mips/vm/templateTable_mips_64.cpp	Mon May 30 02:35:49 2016 -0400
     1.2 +++ b/src/cpu/mips/vm/templateTable_mips_64.cpp	Mon May 30 03:07:54 2016 -0400
     1.3 @@ -1815,7 +1815,7 @@
     1.4      __ load_two_bytes_from_at_bcp(A7, AT, 1);
     1.5      __ hswap(A7);
     1.6    } else {
     1.7 -    __ lw(A7, at_bcp(1));
     1.8 +    __ get_4_byte_integer_at_bcp(A7, AT, 1);
     1.9      __ swap(A7);
    1.10    }
    1.11  

mercurial