search for: intrin

Displaying 20 results from an estimated 58 matches for "intrin".

2020 Jun 08
7
Misc patches
Hi, Here are 3 suggested patches. 1. Build test for cmake and run the test in gitlab-ci. 2. Disable the message box on Windows on abort that cause test hangs in CI. 3. Build time improvement by removing unnecessary includes of stdio.h in production code and change to a lighter header intrin.h -> intrin0.h (windows only). Attached screenshot of measurement but it resulted in 14% buildspeed compared to master on Windows 64 debug builds on my setup. As most improvements comes from change intrin.h the impact on other platforms will not be that much. //Marcus -------------- nex...
2015 Jun 12
2
[LLVMdev] Self compiling latest clang from SVN
...do locally and we do > have a bot setup for it, but it uses ninja: > http://lab.llvm.org:8011/builders/clang-x86-win2008-selfhost/ > Obviously everyone's setup is slightly different and getting diversity in > testing is good. > > These undefined symbols are intrinsics that should be taken care of by > clang/lib/Headers/Intrin.h, but somehow that isn't being chosen in > llvm/lib/Support/Host.cpp. I have a feeling that this line is getting > MSVC's builtin header instead of clang's: > #ifdef _MSC_VER > #includ...
2020 Jun 12
2
Misc patches
Sorry about that, let me check the correct version for the intrin0.h include guard. //Marcus ________________________________ From: Ralph Giles <giles at thaumas.net> Sent: Thursday, June 11, 2020 19:31 To: Marcus Asteborg <xnorpx at outlook.com>; opus at xiph.org <opus at xiph.org> Subject: Re: [opus] Misc patches Speaking of needing...
2006 Jan 26
4
[LLVMdev] VS2005 patch
OK, fixed the problem with the intrin.h header that doesn't exist in previous versions of VS... -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: JIT.patch URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060126/7e55b0d0/attachment.k...
2020 Jun 11
1
Misc patches
...1. Build test for cmake and run the test in gitlab-ci. OK, merged. > 2. Disable the message box on Windows on abort that cause test hangs in CI. Merged too. > 3. Build time improvement by removing unnecessary includes of stdio.h > in production code and change to a lighter header intrin.h -> > intrin0.h (windows only). Attached screenshot of measurement but it > resulted in 14% buildspeed compared to master on Windows 64 debug > builds on my setup. As most improvements comes from change intrin.h > the impact on other platforms will not be that much....
2014 Sep 30
2
[LLVMdev] size_t?
I'm getting compile errors because size_t is getting redefined. My "forced include file" starts with: #if BUILDING_FOR_WINDOWS #define NOMINMAX /* deal with the fact that windef.h also defines BOOL */ #define BOOL WINBOOL #include <windows.h> #include <intrin.h> #undef BOOL #endif Looking at the preprocessor expansion of a typical .cpp file, I see that crtdefs.h defines size_t like this: typedef unisgned __int64 size_t; Later on, <LLVM>\lib\clang\3.6.0\includes\stddef.h defines it as: typedef unsigned int size_t; Is there some other magi...
2011 Feb 28
1
[LLVMdev] [cfe-dev] [PATCH] Windows improvements
...thon issue where open temporary files cannot be opened again. > Needed for clang-c++tests. Looks good to me. Daniel, would it be enough? > clang-missing-builtins.patch: > llvm-interrupt-builtin.patch: > > Add builtins needed to implement __debugbreak and _byteswap_ushort from > intrin.h. Before implementing everything else needed for intrin.h I need to > know if this is the correct way? I have no idea, excuse me. :( > clang-msvc10-fix-mm_malloc-error.patch: > > mm_malloc is implemented in Visual Studio 2010, this fixes the compile error > resulting from it bein...
2014 Sep 30
2
[LLVMdev] size_t?
...ined. My > "forced include file" starts with: > > #if BUILDING_FOR_WINDOWS > #define NOMINMAX > > /* deal with the fact that windef.h also defines BOOL */ > #define BOOL WINBOOL > > #include <windows.h> > #include <intrin.h> > > #undef BOOL > #endif > > Looking at the preprocessor expansion of a typical .cpp file, I > see that crtdefs.h defines size_t like this: > > typedef unisgned __int64 size_t; > > Later on, <LLVM>\lib\clang\3.6.0\includes\stddef.h d...
2015 Jun 11
2
[LLVMdev] Self compiling latest clang from SVN
I tried checking out the latest llvm/clang from SVN (as of a few hours ago) and compiling it (clang 3.6.1 doesn't compile 3.7 because it fails a version check, so I repeated the technique of compiling with Microsoft C++ first, then using the resulting clang-cl.exe). It fails with a bunch of error messages along the lines of: LLVMSupport.lib(Atomic.obj) : error LNK2019: unresolved external
2014 Oct 01
2
[LLVMdev] size_t?
...;> "forced include file" starts with: >> >> #if BUILDING_FOR_WINDOWS >> #define NOMINMAX >> >> /* deal with the fact that windef.h also defines BOOL */ >> #define BOOL WINBOOL >> >> #include <windows.h> >> #include <intrin.h> >> >> #undef BOOL >> #endif >> >> Looking at the preprocessor expansion of a typical .cpp file, I see that >> crtdefs.h defines size_t like this: >> >> typedef unisgned __int64 size_t; >> >> Later on, <LLVM>\lib\clang\3.6.0\inc...
2016 Sep 16
5
(Thin)LTO llvm build
....h' file not found #include <malloc/malloc.h> ... CheckIncludeFile.c:1:10: fatal error: 'ndir.h' file not found #include <ndir.h> ... CheckIncludeFile.c:1:10: fatal error: 'sys/ndir.h' file not found #include <sys/ndir.h> ... fatal error: 'intrin.h' file not found These seem like tests that are expected to fail. ... The interesting test int main() { __builtin_ffs(0); return 0; } fails like this: /usr/bin/ld[...]llvm/bin/../lib/LLVMgold.so: cannot open shared object file: No such file[...] I have two...
2020 Jun 11
0
Misc patches
...arcus Asteborg wrote: > 1. Build test for cmake and run the test in gitlab-ci. > 2. Disable the message box on Windows on abort that cause test hangs in CI. > 3. Build time improvement by removing unnecessary includes of stdio.h > in production code and change to a lighter header intrin.h -> > intrin0.h (windows only). Attached screenshot of measurement but it > resulted in 14% buildspeed compared to master on Windows 64 debug > builds on my setup. As most improvements comes from change intrin.h > the impact on other platforms will not be that much....
2020 Jun 11
0
Misc patches
...1. Build test for cmake and run the test in gitlab-ci. OK, merged. > 2. Disable the message box on Windows on abort that cause test hangs in CI. Merged too. > 3. Build time improvement by removing unnecessary includes of stdio.h > in production code and change to a lighter header intrin.h -> > intrin0.h (windows only). Attached screenshot of measurement but it > resulted in 14% buildspeed compared to master on Windows 64 debug > builds on my setup. As most improvements comes from change intrin.h > the impact on other platforms will not be that much....
2020 Jun 12
0
Misc patches
Speaking of needing more complete ci feedback, the intrin0.h patch broke the appveyor build: > Microsoft (R) Build Engine version 14.0.25420.1 > [...] > :\projects\opus\celt\ecintrin.h(53): fatal error C1083: Cannot open include file: 'intrin0.h': No such file or directory [C:\projects\opus\win32\VS2015\opus.vcxproj] https://ci....
2020 Jun 12
0
Misc patches
Verified that intrin0.h was available in 1910, by building it locally on VS2017 version 15.0 MSVC++ 14.1 _MSC_VER == 1910 (Visual Studio 2017 version 15.0) https://en.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B //Marcus ________________________________ From: Marcus Asteborg <xnorpx at ou...
2006 Jan 26
0
[LLVMdev] VS2005 patch
On Thu, 26 Jan 2006, Morten Ofstad wrote: > OK, fixed the problem with the intrin.h header that doesn't exist in previous > versions of VS... applied, thanks! http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060123/031225.html -Chris -- http://nondot.org/sabre/ http://llvm.org/
2006 Jan 26
0
[LLVMdev] VS2005 patch
...th LLVM. Thanks, Aaron ----- Original Message ----- From: "Morten Ofstad" <morten at hue.no> To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu> Sent: Thursday, January 26, 2006 3:31 PM Subject: [LLVMdev] VS2005 patch > OK, fixed the problem with the intrin.h header that doesn't exist in > previous versions of VS... > -------------------------------------------------------------------------------- > Index: lib/Target/X86/X86JITInfo.cpp > =================================================================== > RCS file:...
2014 Oct 01
2
[LLVMdev] size_t?
...; starts with: >>> >>> #if BUILDING_FOR_WINDOWS >>> #define NOMINMAX >>> >>> /* deal with the fact that windef.h also defines BOOL */ >>> #define BOOL WINBOOL >>> >>> #include <windows.h> >>> #include <intrin.h> >>> >>> #undef BOOL >>> #endif >>> >>> Looking at the preprocessor expansion of a typical .cpp file, I see that >>> crtdefs.h defines size_t like this: >>> >>> typedef unisgned __int64 size_t; >>> >>> La...
2011 Mar 05
3
[LLVMdev] Building LLVM on MinGW32 / Windows 7 Professional x64
...google.com/p/msysgit/). Command Prompt: cd C:\Users\andrew\Desktop git clone http://llvm.org/git/llvm.git MinGW Shell: cd c:/users/andrew/desktop ./configure make ... A dialog pops up: "tblgen.exe has stopped working" make[1]: Building Intrinsics.gen.tmp from Intrinsics.td make[1]: *** [/c/users/andrew/desktop/src/llvm/lib/VMCore/Debug+Asserts/Intrinics.gen.tmp] Error 255 make[1]: Leaving directory '/c/users/andrew/desktop/src/llvm/lib/VMCore' make: *** [all...
2013 Sep 09
4
[LLVMdev] Intel Memory Protection Extensions (and types question)
...s using this register class. After much experimentation, I think it's necessary to model this in the backend with a new MVT code (ValueTypes.h). Trying to fake it with an existing type (e.g. v2i64 or i128) leads to these registers being misused for other values and vice versa. We want to have intrinsics map to some of these instructions (both IR and C, in the usual <*intrin.h> form). I'm trying to avoid having the added MVT escape the code generator by using some other type representation in IR, but don't have that working yet. I've put a small patch on Phabricator, recogniz...