[11u] RFR: 8217561: X86: Add floating-point Math.min/max intrinsics

Hohensee, Paul hohensee at amazon.com
Tue Mar 16 20:06:01 UTC 2021


Forgot to mention testing. Passes tier1 and tier2 on Linux x64.

From: "Hohensee, Paul" <hohensee at amazon.com>
Date: Tuesday, March 16, 2021 at 12:46 PM
To: "jdk-updates-dev at openjdk.java.net" <jdk-updates-dev at openjdk.java.net>
Subject: [11u] RFR: 8217561: X86: Add floating-point Math.min/max intrinsics

Please review this follow up to the ARM64 11u backport of JDK-8212043<https://bugs.openjdk.java.net/browse/JDK-8212043>: AArch64: Add floating-point Math.in/max intrinsics. See https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2021-January/004734.html for details.

JBS issue: https://bugs.openjdk.java.net/browse/JDK-8212043
Original patch: https://hg.openjdk.java.net/jdk/jdk/rev/ff399127078a
11u webrev: https://cr.openjdk.java.net/~phh/8217561/webrev.11u.00/

The second hunk of x86.ad required a context modification, and the first hunk of library_call.cpp was removed due to a later copyright date update.

This is the first of three backports that will be pushed together. The other two apply cleanly after 8217561.

JDK-8227222<https://bugs.openjdk.java.net/browse/JDK-8227222>: vmTestbase/jit/FloatingPoint/gen_math/Loops04/Loops04.java hits assert(((!attributes->uses_vl()) || (attributes->get_vector_len() == AVX_512bit) || (!_legacy_mode_vl) || (attributes->is_legacy_mode()))) failed: XMM register should be 0-15
JDK-8220407<https://bugs.openjdk.java.net/browse/JDK-8220407>: compiler/intrinsics/math/TestFpMinMaxIntrinsics.java timedout

Thanks,
Paul




More information about the jdk-updates-dev mailing list