Naoki Shibata via llvm-dev
2016-Jul-15 07:02 UTC
[llvm-dev] RFC: SIMD math-function library
Is it possible to see the source code of the open-sourced SVML? The diff file does not include the library. I searched the Internet but I could not find. Regards, Naoki Shibata On 2016/07/15 13:55, Tian, Xinmin wrote:> Naoki, > > Intel is planning open-source SVML library (most of them if it not 100%), 6 functions of SVML are open sourced for GCC and LLVM already. But, Intel SVML is x86 centric (SSE2, SSSE3, SSE4.1, SSE4.2, AVX, AVX2 ....}. Personally, I am not sure if it would be fairly easy to port SVML to other architectures. SVML library team may provide a better answer, I will double check with them. > > Given that SLEEF supports many different architectures, I think it has a value for LLVM, at least before all porting is done for SVML library to other architectures by LLVM community after Intel open sourced it. > > Thanks, > Xinmin
Tian, Xinmin via llvm-dev
2016-Jul-15 15:17 UTC
[llvm-dev] RFC: SIMD math-function library
It was open sourced for GCC. I will get you the contact who did open source. Thanks. Xinmin. -----Original Message----- From: Naoki Shibata [mailto:shibatch.sf.net at gmail.com] Sent: Friday, July 15, 2016 12:02 AM To: Tian, Xinmin <xinmin.tian at intel.com> Cc: Hal Finkel <hfinkel at anl.gov>; llvm-dev at lists.llvm.org; Chandler Carruth <chandlerc at gmail.com>; Masten, Matt <matt.masten at intel.com> Subject: Re: RFC: SIMD math-function library Is it possible to see the source code of the open-sourced SVML? The diff file does not include the library. I searched the Internet but I could not find. Regards, Naoki Shibata On 2016/07/15 13:55, Tian, Xinmin wrote:> Naoki, > > Intel is planning open-source SVML library (most of them if it not 100%), 6 functions of SVML are open sourced for GCC and LLVM already. But, Intel SVML is x86 centric (SSE2, SSSE3, SSE4.1, SSE4.2, AVX, AVX2 ....}. Personally, I am not sure if it would be fairly easy to port SVML to other architectures. SVML library team may provide a better answer, I will double check with them. > > Given that SLEEF supports many different architectures, I think it has a value for LLVM, at least before all porting is done for SVML library to other architectures by LLVM community after Intel open sourced it. > > Thanks, > Xinmin
Tian, Xinmin via llvm-dev
2016-Jul-15 17:16 UTC
[llvm-dev] RFC: SIMD math-function library
Naoki, below is the link you can get the code. https://sourceware.org/git/?p=glibc.git;a=tree;f=sysdeps/x86_64/fpu/multiarch;h=2c567a353c2d258dbc08c50cd6fa189b825f3257;hb=HEAD Xinmin -----Original Message----- From: Naoki Shibata [mailto:shibatch.sf.net at gmail.com] Sent: Friday, July 15, 2016 12:02 AM To: Tian, Xinmin <xinmin.tian at intel.com> Cc: Hal Finkel <hfinkel at anl.gov>; llvm-dev at lists.llvm.org; Chandler Carruth <chandlerc at gmail.com>; Masten, Matt <matt.masten at intel.com> Subject: Re: RFC: SIMD math-function library Is it possible to see the source code of the open-sourced SVML? The diff file does not include the library. I searched the Internet but I could not find. Regards, Naoki Shibata On 2016/07/15 13:55, Tian, Xinmin wrote:> Naoki, > > Intel is planning open-source SVML library (most of them if it not 100%), 6 functions of SVML are open sourced for GCC and LLVM already. But, Intel SVML is x86 centric (SSE2, SSSE3, SSE4.1, SSE4.2, AVX, AVX2 ....}. Personally, I am not sure if it would be fairly easy to port SVML to other architectures. SVML library team may provide a better answer, I will double check with them. > > Given that SLEEF supports many different architectures, I think it has a value for LLVM, at least before all porting is done for SVML library to other architectures by LLVM community after Intel open sourced it. > > Thanks, > Xinmin
Naoki Shibata via llvm-dev
2016-Jul-15 17:32 UTC
[llvm-dev] RFC: SIMD math-function library
Thank you. And now I understand why it is not very easy to port SVML to other architectures. Naoki Shibata On 2016/07/16 2:16, Tian, Xinmin wrote:> Naoki, below is the link you can get the code. > > https://sourceware.org/git/?p=glibc.git;a=tree;f=sysdeps/x86_64/fpu/multiarch;h=2c567a353c2d258dbc08c50cd6fa189b825f3257;hb=HEAD > > > Xinmin > -----Original Message----- > From: Naoki Shibata [mailto:shibatch.sf.net at gmail.com] > Sent: Friday, July 15, 2016 12:02 AM > To: Tian, Xinmin <xinmin.tian at intel.com> > Cc: Hal Finkel <hfinkel at anl.gov>; llvm-dev at lists.llvm.org; Chandler Carruth <chandlerc at gmail.com>; Masten, Matt <matt.masten at intel.com> > Subject: Re: RFC: SIMD math-function library > > > Is it possible to see the source code of the open-sourced SVML? The diff file does not include the library. I searched the Internet but I could not find. > > Regards, > > Naoki Shibata > > > On 2016/07/15 13:55, Tian, Xinmin wrote: >> Naoki, >> >> Intel is planning open-source SVML library (most of them if it not 100%), 6 functions of SVML are open sourced for GCC and LLVM already. But, Intel SVML is x86 centric (SSE2, SSSE3, SSE4.1, SSE4.2, AVX, AVX2 ....}. Personally, I am not sure if it would be fairly easy to port SVML to other architectures. SVML library team may provide a better answer, I will double check with them. >> >> Given that SLEEF supports many different architectures, I think it has a value for LLVM, at least before all porting is done for SVML library to other architectures by LLVM community after Intel open sourced it. >> >> Thanks, >> Xinmin >