Questions tagged [64-bit]

A 64-bit architecture is usually a system where addresses (pointers) are 64 bits wide. Sometimes, it can mean a system where the “natural” size for integer computations (the word size) is 64 bits.

The term 64-bit is used for architectures where the address bus and other data units, like the data bus or CPU registers, are 64 bits wide.

64-bit processor architectures include:

  • x86-64 , often known as AMD64, an evolution of 32-bit x86 PC processors by AMD and Intel, found in many server and desktop computers;
  • DEC Alpha, a now-discontinued architecture that was popular on workstations in the 1990s;
  • ppc64, a 64-bit evolution of the PowerPC/POWER processor;
  • SPARC v9 (Ultrasparc and sparc64), 64-bit evolutions of the Sparc architecture;
  • Itanium , also known as IA-64, an architecture by Intel that is not related to IA-32 (which is the name for later generations of x86 processors)
  • MIPS64 , a 64-bit version of the MIPS architecture;
  • ARMv8, an upcoming 64-bit version of the ARM architecture

In C and other languages such as C++ and Objective-C with a similar set of machine integer types including int, long and long long, implementations differ as to which types are 32-bit and which types are 64-bit. Windows follows a model called IL32P64: int and long are both 32-bit, long long (if available) and pointers are 64-bit. On the other hand, most Unix-like systems including Linux and Mac OS X follow the I32LP64 model: int is 32-bit, long and long long and pointers are 64-bit.

6082 questions
4
votes
1 answer

x64 modules in a wow64 process?

I have a small 32bit process I'm debugging on win7 x64 and I see that it loads "C:\windows\sysWow64\ntdll.dll" as expected, but also "C:\windows\system32\ntdll.dll" . I know that x64 modules and x86 modules do not mix, but here they are...…
Idov
  • 5,006
  • 17
  • 69
  • 106
3
votes
1 answer

wix 64-bit DLL custom action support?

I'm trying to build both 32-bit and 64-bit installers using WiX, and part of that requires a DLL that runs during the InstallUISequence to check a value typed in by the user. I used Visual Studio 2010 and the WiX plugin to generate a DLL template…
Dave Combs
  • 281
  • 2
  • 17
3
votes
3 answers

u_int64_t array

I'm trying to do this: int main(void){ u_int64_t NNUM = 2<<19; u_int64_t list[NNUM], i; for(i = 0; i < 4; i++){ list[i] = 999; } } Why am I getting segfault at my Ubuntu 10.10 64 bits (gcc 4.6.1)?
Frederico Schardong
  • 1,946
  • 6
  • 38
  • 62
3
votes
2 answers

Darwin kernel architecture and OS X, 64bit on 32bit kernel, how does this work?

The OS X Lion (10.7) OS runs on mostly 64-bit binaries as reported by Activity Monitor. Given this, and the fact that my laptop runs a 32-bit version of the EFI and thus also a 32-bit kernel, how does the arch mixing work in general? Darwin Kernel…
overscore
  • 513
  • 4
  • 15
3
votes
3 answers

How to put assembly markers to C++ code (x64)

I need to put markers to C++ code that should be visible in assembly or binary. It seems it’s straight forward to do it for 32 using inline assembly: __asm { NOP NOP NOP } or using DB assembly statement: __asm { DB 0x00, 0xFF,…
ChatCloud
  • 1,152
  • 2
  • 8
  • 22
3
votes
3 answers

Mono interop: Loading 32bit shared library does not work on my 64bit system

i have a problem running a simple interop example on my system. I built a simple 32-bit shared library called libtest.so (c++) g++ -c -fpic test.cpp -m32 g++ -shared -fpic -o libtest.so test.o -m32 My System: Ubuntu Linux 10.04 x86_64 Mono C#…
Benny
  • 33
  • 1
  • 3
3
votes
1 answer

What is the most practical board representation for a magic bitboard move generation system?

I am rewriting a chess engine I wrote to run on magic bitboards. I have the magic functions written and they take a square of the piece and an occupancy bitboard as parameters. What I am having debates with myself is which one of these board…
Eric Thoma
  • 5,905
  • 6
  • 30
  • 40
3
votes
3 answers

Reflect over a x86 assembly from a "Any CPU" built application on x64 bit OS

I have a .Net app that's compiled as "Any CPU". I am running it on a x64 OS so it's running as 64bit. The application loads other assemblies that the user provides. It uses reflection of course to read types from the user provided assembly.…
Nazeeh
  • 631
  • 1
  • 6
  • 13
3
votes
1 answer

Always install to "Program Files" (also on x64)?

I am using a default Visual Studio Setup Project to create an installer for my application. The application is built as "Any CPU" and runs as a 64bit process on x64 OSes, but the installer always uses "Program Files (x86)" as the default directory. …
Christoph Fink
  • 22,727
  • 9
  • 68
  • 113
3
votes
4 answers

Migrating From 32 to 64 bit Releases

We have been doing 32 bit builds while testing on 64 bit machines. In order to utilize the power of machines for our application, we are planning to make 64 bit builds for our C#/.NET 4.0 code base. We have never done it in the past and haven't…
Aziz
  • 534
  • 5
  • 23
3
votes
4 answers

Running 32 bit app using 32 bit com on a 64 bit Windows machine

I have a C# application using C++ COM object both build on a 32 bit machine. Now I have to run them on a 64 bit machine. I registered the COM object. A corresponding entry was created in the register under…
Vicky
3
votes
1 answer

Is there a definitive guide to cross platform (x86 and x64) PInvoke and windows data types?

I am verifying some code for x64 compatability. Previously I've used PInvoke.net, but I've found a few suspect declarations in terms of x64. So now, I: Look up the API reference such as MapViewOfFile Look up the windows data type definition Find…
Steven P
  • 1,956
  • 1
  • 16
  • 17
3
votes
3 answers

Use 32bit DLL in 64bit App with .Net 2.0

I need to use a COM-DLL from an external company (so I have no source code) that only works with the compile-option CPU-Target x86. But my program is a "Any CPU" program and I don't want to change this. So I read and google a lot and found out that…
Tim Siefert
  • 606
  • 2
  • 7
  • 13
3
votes
4 answers

Is there a list of Python packages that are not 64 bit compatible somewhere?

I am going to move to a 64 bit machine and a 64 bit OS (Windows) and am trying to figure out if any of the extensions/packages I am using are going to be lost when I make the move. I can't seem to find whether someone has built a list of known…
PyNEwbie
  • 4,882
  • 4
  • 38
  • 86
3
votes
1 answer

Integer() type cast doesn't work on Delphi 64-bit

I have the following piece of code: inc(integer(DestPixel), DestDelta); //DestPixel: PColorRGB; DestDelta: integer; This works fine on 32-bit platforms. If I change the platform to 64-bit in the compiler the compiler emits this error: E2064 Left…