RFR: 8351233: [ASAN] avx2-emu-funcs.hpp:151:20: error: ‘D.82188’ is used uninitialized
SendaoYan
syan at openjdk.org
Thu Mar 6 03:55:25 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:
>
> - [ ] jtreg tests(include tier1/2/3 etc.) on linux-x64(AMD EPYC 9T24 96-Core Processor) with release build
> - [ ] jtreg tests(include tier1/2/3 etc.) on linux-x64(AMD EPYC 9T24 96-Core Processor) with fastdebug build
@vamsi-parasa Could you take look this PR
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23925#issuecomment-2702711575
More information about the core-libs-dev
mailing list