search for: __int64

Displaying 20 results from an estimated 86 matches for "__int64".

2018 Dec 01
2
Where's the optimiser gone? (part 5.c): missed tail calls, and more...
Compile the following functions with "-O3 -target i386-win32" (see <https://godbolt.org/z/exmjWY>): __int64 __fastcall div(__int64 foo, __int64 bar) { return foo / bar; } On the left the generated code; on the right the expected, properly optimised code: push dword ptr [esp + 16] | push dword ptr [esp + 16] | push dword ptr [esp + 16] | push dword ptr [esp...
2015 Nov 23
2
COFF::IMAGE_REL_AMD64_REL32 relocation overflow when compiling for x86_64
...the code I'm building rather than all the code being loaded. The LLVM side of the call stack looks like this: _wassert(const wchar_t * expr, const wchar_t * filename, unsigned int lineno) Line 369 C llvm::RuntimeDyldCOFFX86_64::resolveRelocation(const llvm::RelocationEntry & RE, unsigned __int64 Value) Line 81 C++ llvm::RuntimeDyldImpl::resolveRelocationList(const llvm::SmallVector<llvm::RelocationEntry,64> & Relocs, unsigned __int64 Value) Line 796 C++ llvm::RuntimeDyldImpl::resolveExternalSymbols() Line 849 C++ llvm::RuntimeDyldImpl::resolveRelocations() Line 95 C++ llvm::Runti...
2019 Mar 11
2
llvm compiled error
Hello, when I build llvm from git source, some errors occured. 80>asan_new_delete.obj : error LNK2019: unresolved external symbol "void * __cdecl MemalignFromLocalPool(unsigned __int64,unsigned __int64)" (?MemalignFromLocalPool@@YAPEAX_K0 at Z), "void * __cdecl operator new(unsigned __int64)" (??2 at YAPEAX_K@Z) 80>D:\program\llvm\build\Debug\lib\clang\9.0.0\lib\windows\clang_rt.asan_dynamic-x86_64.dll : fatal error LNK1120 80>“clang_rt.asan-dynamic-x86_64.vc...
2009 Jan 08
1
[LLVMdev] Integer typedefs for MSVC
LLVM's typedefs for int32_t etc. under MSVC (in Support/DataTypes.h) conflict with those used by other third-party libraries. Instead of these: #ifdef _MSC_VER typedef __int64 int64_t; typedef unsigned __int64 uint64_t; typedef signed int int32_t; typedef unsigned int uint32_t; typedef short int16_t; typedef unsigned short uint16_t; typedef signed char int8_t; typedef unsigned char uint8_t; typedef signed int ssize_t; #endif it would be preferable to use these: typedef...
2004 Aug 06
2
[ANNOUNCE] PocketPC Port for speex-1.1.5 with sample code
Actually, the best thing do to would be to use __int64 *unless* it's not supported. So there needs to be a configure check... Jean-Marc Le mar 01/06/2004 à 14:50, Kenji Chan a écrit : > I emailed Jean-Marc the arch.h about one week ago, not quite sure > whether he actually received that email. > > > > Anyway, here I...
2019 Mar 12
2
llvm compiled error
...s in advance~ 在 2019-03-11 22:44:12,"mirchd via llvm-dev" <llvm-dev at lists.llvm.org> 写道: Hello, when I build llvm from git source, some errors occured. 80>asan_new_delete.obj : error LNK2019: unresolved external symbol "void * __cdecl MemalignFromLocalPool(unsigned __int64,unsigned __int64)" (?MemalignFromLocalPool@@YAPEAX_K0 at Z), "void * __cdecl operator new(unsigned __int64)" (??2 at YAPEAX_K@Z) 80>D:\program\llvm\build\Debug\lib\clang\9.0.0\lib\windows\clang_rt.asan_dynamic-x86_64.dll : fatal error LNK1120 80>“clang_rt.asan-dynamic-x86_64.vc...
2019 Mar 13
2
llvm compiled error
...mirchd via llvm-dev" <llvm-dev at lists.llvm.org> 写道: > > Hello, > > > > when I build llvm from git source, some errors occured. > > > > 80>asan_new_delete.obj : error LNK2019: unresolved external symbol "void * __cdecl MemalignFromLocalPool(unsigned __int64,unsigned __int64)" (?MemalignFromLocalPool@@YAPEAX_K0 at Z), "void * __cdecl operator new(unsigned __int64)" (??2 at YAPEAX_K@Z) > 80>D:\program\llvm\build\Debug\lib\clang\9.0.0\lib\windows\clang_rt.asan_dynamic-x86_64.dll : fatal error LNK1120 > 80>“clang_rt.asan-dynamic...
2012 Feb 09
2
[PATCH] Remove even more CPP hackery
...that flac will really require is header file > with C99 standard width integers (int8_t, uint8_t, int16_t etc). Erik I would recommend including with the distribution a file for windows developers to use. It's fairly simple /* since windows doesn't have stdint.h */ typedef unsigned __int64 uint64_t; typedef unsigned __int32 uint32_t; typedef unsigned __int16 uint16_t; typedef unsigned __int8 uint8_t; typedef __int64 int64_t; typedef __int32 int32_t; typedef __int16 int16_t; typedef __int8 int8_t; #if defined(_M_IX64) typedef unsigned __int128 uint128_t; typedef __int128 int...
2015 Nov 23
3
COFF::IMAGE_REL_AMD64_REL32 relocation overflow when compiling for x86_64
...; > > > The LLVM side of the call stack looks like this: > > > > _wassert(const wchar_t * expr, const wchar_t * filename, unsigned int > lineno) Line 369 C > > llvm::RuntimeDyldCOFFX86_64::resolveRelocation(const llvm::RelocationEntry > & RE, unsigned __int64 Value) Line 81 C++ > > llvm::RuntimeDyldImpl::resolveRelocationList(const > llvm::SmallVector<llvm::RelocationEntry,64> & Relocs, unsigned __int64 > Value) Line 796 C++ > > llvm::RuntimeDyldImpl::resolveExternalSymbols() Line 849 C++ > &g...
2018 Jul 25
2
LLD COFF library: crashes when lld::coff::link is called twice
...nkerDriver::link(llvm::ArrayRef<char const *> ArgsArr) Line 1331 C++ zig.exe!lld::coff::link(llvm::ArrayRef<char const *> Args, bool CanExitEarly, llvm::raw_ostream & Diag) Line 71 C++ zig.exe!ZigLLDLink(ZigLLVM_ObjectFormatType oformat, const char * * args, unsigned __int64 arg_count, void(*)(void *, const char *, unsigned __int64) append_diagnostic, void * context) Line 837 C++ zig.exe!zig_lld_link(ZigLLVM_ObjectFormatType oformat, const char * * args, unsigned __int64 arg_count, Buf * diag) Line 435 C++ zig.exe!codegen_link(CodeGen * g, const char *...
2004 Aug 06
0
[ANNOUNCE] PocketPC Port for speex-1.1.5 with samplecode
...cketPC), we can be sure if the following are defined, then it's ms's eMbedded Visual C++ compiler 1. _WIN32_WCE, meaning on Windows CE platform 2. _MSC_VER, meaning ms's compiler // the code in arch.h /*long long is not recognized by eMbedded Visual C++ compiler; so use MS's __int64 instead of long long, if compiling on that compiler */ #if defined(_WIN32_WCE) && defined(_MSC_VER) typedef __int64 spx_word64_t; #else typedef long long spx_word64_t; #endif <p>------------------------------------ Chan Kei Yuen (Kenji) <p>> Actually, the best thin...
2018 Aug 08
2
LLD COFF library: crashes when lld::coff::link is called twice
...*> >> ArgsArr) Line 1331 C++ >> zig.exe!lld::coff::link(llvm::ArrayRef<char const *> Args, bool >> CanExitEarly, llvm::raw_ostream & Diag) Line 71 C++ >> zig.exe!ZigLLDLink(ZigLLVM_ObjectFormatType oformat, const char * * >> args, unsigned __int64 arg_count, void(*)(void *, const char *, unsigned >> __int64) append_diagnostic, void * context) Line 837 C++ >> zig.exe!zig_lld_link(ZigLLVM_ObjectFormatType oformat, const char * * >> args, unsigned __int64 arg_count, Buf * diag) Line 435 C++ >> zig.exe!cod...
2012 Feb 09
1
[PATCH] Remove even more CPP hackery
...integers (int8_t, uint8_t, int16_t >>> etc). Erik >> >> I would recommend including with the distribution a file for >> windows developers to use. It's fairly simple >> >> >> /* since windows doesn't have stdint.h */ typedef unsigned >> __int64 uint64_t; typedef unsigned __int32 uint32_t; typedef >> unsigned __int16 uint16_t; typedef unsigned __int8 uint8_t; >> typedef __int64 int64_t; typedef __int32 int32_t; typedef __int16 >> int16_t; typedef __int8 int8_t; #if defined(_M_IX64) typedef >> unsigned __int128 uin...
2015 Jul 24
2
[LLVMdev] [lldb-dev] [3.7 Release] We have branched
...l.h:3060: >>> In file included from .\win32thread.h:4: >>> ./win32.h(284,25) : error: 'selectany' can only be applied to data >>> items with external linkage >>> >> >> That line is: >> extern const __declspec(selectany) union { unsigned __int64 __q; double >> __d; } __PL_nan_u = { 0x7FF8000000000000UI64 }; >> >> If it's written like so, clang-cl accepts it: >> union U { unsigned __int64 __q; double __d; }; >> extern const __declspec(selectany) U __PL_nan_u = { >> 0x7FF8000000000000UI64 }; >> &...
2015 Jul 16
2
[LLVMdev] [lldb-dev] [3.7 Release] We have branched
...m perllib.c:10: > In file included from ..\lib\CORE\perl.h:3060: > In file included from .\win32thread.h:4: > ./win32.h(284,25) : error: 'selectany' can only be applied to data items > with external linkage > That line is: extern const __declspec(selectany) union { unsigned __int64 __q; double __d; } __PL_nan_u = { 0x7FF8000000000000UI64 }; If it's written like so, clang-cl accepts it: union U { unsigned __int64 __q; double __d; }; extern const __declspec(selectany) U __PL_nan_u = { 0x7FF8000000000000UI64 }; I guess cl.exe applies the declspec to __PL_nan_u while we try...
2019 Apr 04
2
single-threaded code-gen and how to make it support multi-thread
...some pointers? Any guidance is appreciated:) ntdll.dll!RtlReportCriticalFailure(long StatusCode, void * FailureInfo, unsigned long BreakIfDbgPresent) Line 201 C ntdll.dll!RtlpHeapHandleError(long ErrorLevel) Line 344 C ntdll.dll!RtlpHpHeapHandleError(_HEAP_FAILURE_TYPE FailureType, unsigned __int64 HeapAddress, unsigned __int64 Address) Line 670 C ntdll.dll!RtlpLogHeapFailure(_HEAP_FAILURE_TYPE FailureType, void * HeapAddress, void * Address, void * Param1, void * Param2, void * Param3) Line 158 C ntdll.dll!RtlFreeHeap(void * HeapHandle, unsigned long Flags, void * BaseAddress) Line 352 C...
2001 Oct 16
7
Performance tests
I did some testing of vorbis codec (Winamp plugin) on a Pentium 166 MMX, and found that the performance is pretty good. I got 3 % cpu utisization if I turned dithering off, and 5 % otherwise. This was with a 138 kbit song. It's pretty long to mp3 performance that was 0 to 1 % on that machine for a 128 kbit song. Also vorbis seems to have a larger working set, because if I play two songs at
2010 May 20
10
Libtheora
Hi all, I am Sahana. I am currently working on Libtheora for windows platform and very new to it. I am getting a lot of compiling errors. Since Libtheora depends on libogg and libvorbis i have added these as well to my workspace in VC++ 6. I have a doubt regarding the x86 and x86_vc folders described in the libtheora software.Since both these folders have the same set of files which one do we
2004 Aug 06
2
[ANNOUNCE] PocketPC Port for speex-1.1.5 with sample code
Hi Jean-Marc, Based on the wonderful Speex project, I've created SpeexOutLoud, essentially a Speex codec port for Windows Mobile 2003 devices. I've included a sample project intended to show the usage of SpeexOutLoud codec in a Pocket PC application based on .NET Compact Framework. I'd request you to please go through the attached build, and include it as a contribution to the
2017 Jan 15
3
unsigned int and FLAC__uint32 are used interchangeably
...uot;unsigned long idx". Ah, missed that because it was MSVC code. They should be `uint64_t`. > According to MSDN _BitScanReverse*() functions have signatures: > unsigned char _BitScanReverse(unsigned long *, unsigned long); > unsigned char _BitScanReverse64(unsigned long *, unsigned __int64); The `unsigned long` type should be synonymous with `uint64_t` so using `uint64_t` should be safe. Furthermore if they aren't synonymous we *want* that to be a compile error! > Other than that, it compiles everything without errors. Thanks! Erik -- -------------------------------------...