1.1 --- a/src/cpu/mips/vm/nativeInst_mips.cpp Mon Dec 02 16:01:35 2019 +0800 1.2 +++ b/src/cpu/mips/vm/nativeInst_mips.cpp Wed Dec 04 18:01:06 2019 +0800 1.3 @@ -552,6 +552,7 @@ 1.4 count++; 1.5 } 1.6 1.7 + guarantee(((long)addr_at(0) % (BytesPerWord * 2)) == 0, "must be aligned"); 1.8 atomic_store128_ptr func = get_atomic_store128_func(); 1.9 (*func)((long *)addr_at(0), 0, *(long *)&insts[0], *(long *)&insts[2]); 1.10 1.11 @@ -711,7 +712,7 @@ 1.12 patch_on_jal_only(dest); 1.13 } else if (is_special_op(int_at(16), Assembler::jalr_op)) { 1.14 if (UseLEXT1) { 1.15 - patch_on_jalr(dest); 1.16 + patch_on_jalr_gs(dest); 1.17 } else { 1.18 patch_on_jalr(dest); 1.19 } 1.20 @@ -1199,6 +1200,7 @@ 1.21 count++; 1.22 } 1.23 1.24 + guarantee(((long)addr_at(0) % (BytesPerWord * 2)) == 0, "must be aligned"); 1.25 atomic_store128_ptr func = get_atomic_store128_func(); 1.26 (*func)((long *)addr_at(0), 0, *(long *)&insts[0], *(long *)&insts[2]); 1.27