Integrated: 8351233: [ASAN] avx2-emu-funcs.hpp:151:20: error: ‘D.82188’ is used uninitialized

SendaoYan syan at openjdk.org
Sun Mar 30 13:10:19 UTC 2025


On Thu, 6 Mar 2025 03:35:20 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> 
> The return type of function `const __m256i &perm` is `__m256i`, so `const __m256i &perm` should be replaced as 'const __m256i perm'.
> 
> The function implementation in gcc/clang compiler header:
> 
> 1. gcc: lib/gcc/x86_64-pc-linux-gnu/14.2.0/include/avxintrin.h
> 
> 
> extern __inline __m256i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
> _mm256_loadu_si256 (__m256i_u const *__P)
> {
>   return *__P;
> }
> 
> 
> 2. clang: lib64/clang/17/include/avxintrin.h
> 
> 
> static __inline __m256i __DEFAULT_FN_ATTRS
> _mm256_loadu_si256(__m256i_u const *__p)
> {
>   struct __loadu_si256 {
>     __m256i_u __v;
>   } __attribute__((__packed__, __may_alias__));
>   return ((const struct __loadu_si256*)__p)->__v;
> }
> 
> 
> Additional testing:
> 
> - [x] jtreg tests(include tier1/2/3 etc.) on linux-x64(AMD EPYC 9T24 96-Core Processor) with release build
> - [x] jtreg tests(include tier1/2/3 etc.) on linux-x64(AMD EPYC 9T24 96-Core Processor) with fastdebug build

This pull request has now been integrated.

Changeset: 895aabc4
Author:    SendaoYan <syan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/895aabc4632a0b5e245aeceb6c2dcdb4b07f640e
Stats:     3 lines in 1 file changed: 0 ins; 0 del; 3 mod

8351233: [ASAN] avx2-emu-funcs.hpp:151:20: error: ‘D.82188’ is used uninitialized

Reviewed-by: vlivanov

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

PR: https://git.openjdk.org/jdk/pull/23925


More information about the hotspot-compiler-dev mailing list