RFR: 8335444: Generalize implementation of AndNode mul_ring
Damon Fenacci
dfenacci at openjdk.org
Mon Aug 5 08:06:32 UTC 2024
On Wed, 31 Jul 2024 15:27:35 GMT, Jasmine Karthikeyan <jkarthikeyan at openjdk.org> wrote:
>> Not a review but I quickly ran it through our testing and the following test fails with `-XX:UseAVX=3` on linux-x64-debug and windows-x64-debug and without any flags on windows-x64-debug which seems to be related to your patch:
>>
>> Test: compiler/vectorization/runner/BasicBooleanOpTest.java
>>
>> Output:
>>
>> Failed IR Rules (1) of Methods (1)
>> ----------------------------------
>> 1) Method "public boolean[] compiler.vectorization.runner.BasicBooleanOpTest.vectorAnd()" - [Failed IR rules: 1]:
>> * @IR rule 3: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#MACRO_LOGIC_V#_", ">0"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={"avx512f", "true"}, applyIfAnd={}, applyIfNot={})"
>> > Phase "PrintIdeal":
>> - counts: Graph contains wrong number of nodes:
>> * Constraint 1: "MacroLogicV"
>> - Failed comparison: [found] 0 > 0 [given]
>> - No nodes matched!
>
> Thank you for running testing @chhagedorn! I think I didn't run into this because my device doesn't support AVX-512. Does the failure have an ideal node printout as well? I think that could help in diagnosing the issue. Thanks!
@jaskarth out of curiosity: could you by chance notice any measurable performance difference (e.g. for specific/ad-hoc benchmarks)?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20066#issuecomment-2268429164
More information about the hotspot-compiler-dev
mailing list