mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
6981773: incorrect fill value with OptimizeFill
Reviewed-by: kvn, twisti
This commit is contained in:
parent
690e6e149c
commit
6e78f6cb4b
1 changed files with 6 additions and 6 deletions
|
@ -1683,12 +1683,6 @@ class StubGenerator: public StubCodeGenerator {
|
|||
}
|
||||
#endif
|
||||
|
||||
Label L_check_fill_8_bytes;
|
||||
// Fill 32-byte chunks
|
||||
__ subcc(count, 8 << shift, count);
|
||||
__ brx(Assembler::less, false, Assembler::pt, L_check_fill_8_bytes);
|
||||
__ delayed()->nop();
|
||||
|
||||
if (t == T_INT) {
|
||||
// Zero extend value
|
||||
__ srl(value, 0, value);
|
||||
|
@ -1698,6 +1692,12 @@ class StubGenerator: public StubCodeGenerator {
|
|||
__ or3(value, O3, value);
|
||||
}
|
||||
|
||||
Label L_check_fill_8_bytes;
|
||||
// Fill 32-byte chunks
|
||||
__ subcc(count, 8 << shift, count);
|
||||
__ brx(Assembler::less, false, Assembler::pt, L_check_fill_8_bytes);
|
||||
__ delayed()->nop();
|
||||
|
||||
Label L_fill_32_bytes_loop;
|
||||
__ align(16);
|
||||
__ BIND(L_fill_32_bytes_loop);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue