mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8145438: Guarantee failures since 8144028: Use AArch64 bit-test instructions in C2
Implement short and long versions of bit test instructions. Reviewed-by: kvn
This commit is contained in:
parent
ae19a4b931
commit
dd5481cbbc
5 changed files with 127 additions and 30 deletions
|
@ -1246,7 +1246,8 @@ bool InstructForm::check_branch_variant(ArchDesc &AD, InstructForm *short_branch
|
|||
!is_short_branch() && // Don't match another short branch variant
|
||||
reduce_result() != NULL &&
|
||||
strcmp(reduce_result(), short_branch->reduce_result()) == 0 &&
|
||||
_matrule->equivalent(AD.globalNames(), short_branch->_matrule)) {
|
||||
_matrule->equivalent(AD.globalNames(), short_branch->_matrule) &&
|
||||
equivalent_predicates(this, short_branch)) {
|
||||
// The instructions are equivalent.
|
||||
|
||||
// Now verify that both instructions have the same parameters and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue