diff --git a/src/hotspot/cpu/riscv/assembler_riscv.hpp b/src/hotspot/cpu/riscv/assembler_riscv.hpp index e39e6737685..4536b23b912 100644 --- a/src/hotspot/cpu/riscv/assembler_riscv.hpp +++ b/src/hotspot/cpu/riscv/assembler_riscv.hpp @@ -1852,13 +1852,13 @@ enum Nf { // versions. An example: // // CompressibleRegion cr(_masm); -// __ add(...); // this instruction will be compressed into 'c.and' when possible +// __ add(...); // this instruction will be compressed into 'c.add' when possible // { // IncompressibleRegion ir(_masm); // __ add(...); // this instruction will not be compressed // { // CompressibleRegion cr(_masm); -// __ add(...); // this instruction will be compressed into 'c.and' when possible +// __ add(...); // this instruction will be compressed into 'c.add' when possible // } // } //