< prev index next >

src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp

Print this page

        

*** 2655,2667 **** assert_different_registers(val, crc, res); unsigned long offset; __ adrp(res, ExternalAddress(StubRoutines::crc_table_addr()), offset); if (offset) __ add(res, res, offset); ! __ ornw(crc, zr, crc); // ~crc __ update_byte_crc32(crc, val, res); ! __ ornw(res, zr, crc); // ~crc } void LIR_Assembler::emit_profile_type(LIR_OpProfileType* op) { COMMENT("emit_profile_type {"); Register obj = op->obj()->as_register(); --- 2655,2667 ---- assert_different_registers(val, crc, res); unsigned long offset; __ adrp(res, ExternalAddress(StubRoutines::crc_table_addr()), offset); if (offset) __ add(res, res, offset); ! __ mvnw(crc, crc); // ~crc __ update_byte_crc32(crc, val, res); ! __ mvnw(res, crc); // ~crc } void LIR_Assembler::emit_profile_type(LIR_OpProfileType* op) { COMMENT("emit_profile_type {"); Register obj = op->obj()->as_register();
< prev index next >