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:
Andrew Haley 2015-12-15 19:18:05 +00:00
parent ae19a4b931
commit dd5481cbbc
5 changed files with 127 additions and 30 deletions

View file

@ -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