RFR: 8343211: Compile error: redefinition of 'Assembler::evmovdquw(XMMRegister,KRegister,XMMRegister,bool,int)'

Sandhya Viswanathan sviswanathan at openjdk.org
Tue Oct 29 18:10:11 UTC 2024


On Tue, 29 Oct 2024 17:37:43 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> > @jatin-bhateja which version should be chosen?
> 
> My concern is about different assert's condition.

Both the asserts are equivalent:

Retained:
  assert(VM_Version::supports_avx512bw() && (vector_len == AVX_512bit || VM_Version::supports_avx512vl()), ""); 

Removed:
  assert(vector_len <= AVX_256bit ? VM_Version::supports_avx512vlbw() : VM_Version::supports_avx512bw(), ""); 

Please note that supports_avx512vlbw() implies both supports_avx512vl() and supports_avx512bw().
So both require supports_avx512bw(). And for vector_len < AVX_512bit both in addition require supports_avx512vl().

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

PR Comment: https://git.openjdk.org/jdk/pull/21768#issuecomment-2444998092


More information about the hotspot-compiler-dev mailing list