8279560: AArch64: generate_compare_long_string_same_encoding and LARGE_LOOP_PREFETCH alignment
Co-authored-by: Wang Huang <whuang@openjdk.org> Reviewed-by: shade, aph
This commit is contained in:
parent
ec5a455efb
commit
126328cb62
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 2021, Red Hat Inc. All rights reserved.
|
||||
* Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 2022, Red Hat Inc. 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
|
||||
@ -5337,11 +5337,11 @@ class StubGenerator: public StubCodeGenerator {
|
||||
__ add(str1, str1, wordSize);
|
||||
__ add(str2, str2, wordSize);
|
||||
if (SoftwarePrefetchHintDistance >= 0) {
|
||||
__ align(OptoLoopAlignment);
|
||||
__ bind(LARGE_LOOP_PREFETCH);
|
||||
__ prfm(Address(str1, SoftwarePrefetchHintDistance));
|
||||
__ prfm(Address(str2, SoftwarePrefetchHintDistance));
|
||||
|
||||
__ align(OptoLoopAlignment);
|
||||
for (int i = 0; i < 4; i++) {
|
||||
__ ldp(tmp1, tmp1h, Address(str1, i * 16));
|
||||
__ ldp(tmp2, tmp2h, Address(str2, i * 16));
|
||||
|
Loading…
Reference in New Issue
Block a user