Skip to content

Commit

Permalink
disabled test for BitCoundNode on AArch64
Browse files Browse the repository at this point in the history
  • Loading branch information
dougxc committed Jun 7, 2018
1 parent 1981a48 commit b9a7bb3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ public static boolean isBitCountIntrinsicSupported(Architecture arch) {
AMD64 amd64 = (AMD64) arch;
return amd64.getFeatures().contains(AMD64.CPUFeature.POPCNT);
} else {
return arch instanceof SPARC || arch instanceof AArch64;
// Even though there are AArch64 intrinsics for bitCount, they do
// not use BitCountNode.
return arch instanceof SPARC;
}
}

Expand Down

0 comments on commit b9a7bb3

Please sign in to comment.