< prev index next >
src/cpu/s390/vm/c1_LIRAssembler_s390.cpp
Print this page
@@ -1,8 +1,8 @@
/*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
- * Copyright (c) 2016 SAP SE. All rights reserved.
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2017, SAP SE. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -3042,11 +3042,9 @@
Register res = op->result_opr()->as_register();
assert_different_registers(val, crc, res);
__ load_const_optimized(res, StubRoutines::crc_table_addr());
- __ not_(crc, noreg, false); // ~crc
- __ update_byte_crc32(crc, val, res);
- __ not_(res, crc, false); // ~crc
+ __ kernel_crc32_singleByteReg(crc, val, res, true);
}
#undef __
< prev index next >