RFR: 8278868: Add x86 vectorization support for Long.bitCount() [v8]

Vamsi Parasa duke at openjdk.java.net
Mon Jan 10 20:23:29 UTC 2022


On Mon, 10 Jan 2022 20:08:52 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> > > Tests failed on aarch64 systems and avx2 x86.
> > 
> > 
> > Could you please let me know if the failing test is test/hotspot/jtreg/compiler/vectorization/TestPopCountVectorLong.java ? Added additional checks (shown below) to make sure it runs on an x86 machine that has AVX3.
> > 
> > * @requires vm.compiler2.enabled
> > * @requires os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64"
> > 
> > This test exits gracefully on a Skylake machine which doesn't have AVX3.
> 
> As I posted in my comment next tests failed on Aarch64 and x86 with avx2 only (AMD):
> 
> ```
> compiler/codegen/TestIntFloatVect.java
> compiler/codegen/TestLongDoubleVect.java
> ```

Thank you Vladimir!
Will work on fixing the compiler/codegen/{TestIntFloatVect.java, TestLongDoubleVect.java}
This patch is not supposed to affect those tests but I will investigate why they're failing and update you...

-------------

PR: https://git.openjdk.java.net/jdk/pull/6857


More information about the hotspot-compiler-dev mailing list