Error on the headers we are using to build.

Dante Doménech dante19031999 at gmail.com
Tue May 18 09:44:32 UTC 2021


That file is mine: https://gerrit.libreoffice.org/c/core/+/115675

The affected header is one of intel's intrinsics.
The file is: immintrin.h
For GCC / clang it depends on: avx512fintrin.h

This is the definition for GCC on github:
extern __inline __m512d
__attribute__ ((__gnu_inline__, __always_inline__, __artificial__))
_mm512_abs_pd (__m512d __A)
{
  return (__m512d) _mm512_and_epi64 ((__m512i) __A,
    _mm512_set1_epi64 (0x7fffffffffffffffLL));
}

This is the definition for clang on doxygen:
 static __inline__ __m512d __DEFAULT_FN_ATTRS512
 _mm512_abs_pd(__m512d __A)
 {
   return
(__m512d)_mm512_and_epi64(_mm512_set1_epi64(0x7FFFFFFFFFFFFFFF),(__v8di)__A)
;
 }

El mar, 18 may 2021 a las 11:11, Stephan Bergmann (<sbergman at redhat.com>)
escribió:

> On 18/05/2021 10:58, Dante Doménech wrote:
> > I've stumbled with an error on the headers we are using to build (GCC at
> > least).
> >
> > I've got this: __m512d _mm512_abs_pd(__m512)
> > error: cannot convert ‘__m512d {aka __vector(8) double}’ to ‘__m512 {aka
> > __vector(16) float}’ for argument ‘1’ to ‘__m512d _mm512_abs_pd(__m512)’
> > in file
> >
> /home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_gcc_release_64/sc/source/core/tool/arraysum.cxx
>
> Whatever headers you are referring to, but I cannot even find any trace
> of an sc/source/core/tool/arraysum.cxx source file?
>
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20210518/b4653a3f/attachment.htm>


More information about the LibreOffice mailing list