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
3
votes
3 answers

visual c++ 2005 x64?

Could somebody please point me at the download link for Visual C++ 2005 Express x64 (AKA Visual Studio 8) before I am sectioned under the mental health act? If I want any GCC point release from the last 10 years I can get it in under 30 seconds…
mr grumpy
  • 33
  • 1
  • 3
3
votes
0 answers

CMake is adding /machine:X86 to linker

I am learning how to use CMake by building an existing project that is normally built in Visual Studio I will post the CMakeLists.txt below I am building using the VS2015 x64 Native Tools Command Prompt The build commands are: cmake .. -G"Nmake…
Mich
  • 3,188
  • 4
  • 37
  • 85
3
votes
2 answers

Using TaskDialogIndirect in 64-Bit VBA

Problem description I try to get code working under 64-Bit VBA which works fine in 32-Bit VBA. It is regarding Common Controls TaskDialogs. I use Microsoft Access, but the problem should be the same in other VBA hosts. One part works fine in both…
AHeyne
  • 3,377
  • 2
  • 11
  • 16
3
votes
1 answer

Difference between MOVZX r32, r/m16 and MOVZX r64, r/m16 in 64-bit x86

Both MOVZX r32, r/m16 and MOVZX r64, r/m16 have the opcode 0F B7, but the latter has a REX.W prefix. What makes these two instructions different? Shouldnt both of them zero the upper 32-bits of the destination operand anyways since according…
user2039981
3
votes
1 answer

Why is there no 64-bit API for winsock?

Calls such as send() and sendto() in the Winsock API take a primitive int to dictate the size of their buffer parameters. This obviously places a 32-bit limit on the maximum size buffer that may be sent. Why is this? Is there a 64-bit Winsock2 API…
rantman
  • 39
  • 4
3
votes
1 answer

Understanding "o^(o-2r)" formula for generating sliding piece moves using unsigned bitboards?

What I Am Trying To Do I am trying to perform some bitwise operations to create a chess engine. To make this engine, I need to be able to generate moves for pieces, like rooks. There is a handy formula for creating a bitboard of squares available…
David Chopin
  • 2,780
  • 2
  • 19
  • 40
3
votes
1 answer

Why is default operand size 32 bits in 64 mode?

I am reading Intel doc, vol. 1 and There is a chapter of 3.6.1 Operand Size and Address Size in 64-Bit Mode. There are three prefixes REX.W, operand-size 66 and address-size 67 prefix. And there is mentioned that operand are defaulted to be 32 bit…
Herdsman
  • 799
  • 1
  • 7
  • 24
3
votes
2 answers

64 Bit Porting c++ - track usage of fundamental types, Pointers, arithmetics

We are porting from 32 Bit to LP64 with gcc/linux. I am looking for a method to track the usage of the datatypes that change in memory layout(long,Ptr). I'm interested in the loaction of all possible problematic "interactions" with these types.…
user12525137
3
votes
4 answers

How to programatically detect a 64 bit or 32 bit machine?

I don't understand what 32 bit and 64 bit means. It seems that people say 64 bit computers run faster - but why? Does it mean that there are 64 bit integers instead of 32? If it's something like that, is there a way to write a program to determine…
foobar
  • 10,854
  • 18
  • 58
  • 66
3
votes
1 answer

Large number of dead threads in .Net memory dump

during the analysis of a memory dump for a .Net4.5 WCF w3wp process, I encountered many threads identified as dead. !threads shows 68 out of 107 threads are dead which appear to be quite high. I was wondering if these threads could hold large amount…
Pascal
  • 148
  • 11
3
votes
0 answers

Bonjour/Zeroconf in .NET on Win7 x64

did anyone ever try to publish a netservice via Bonjour on a x64 system? I tried several libraries like Mono.Zeroconf, Deusty (there's some x64-discussion in the comments) and Zeroconf.Codeplex. They're working perfectly as long as I build my…
Waescher
  • 5,361
  • 3
  • 34
  • 51
3
votes
2 answers

Unable to add 64 bit library to my App, Play Store rejects it

I have an app that uses FFmpeg for processing videos. Since now there is the new requirement of 64 bit native libraries. I have been trying to compile my app with the 64 bit binaries without success. I've tried exporting the statically compiled…
alexm
  • 1,285
  • 18
  • 36
3
votes
1 answer

Is it okay to use carbon api's that works on 64-bit macOS

It seems that from macOS Catalina all 32-bit applications won't work and the carbon framework will be unsupported. What about the carbon apis that work on 64-bit arch? For Example, we have been using TIS (Text Input Source Services) to get the…
3
votes
3 answers

math.pow of a very large integer in Python is wrong

I am trying to print a very large number by calculating very large powers of an integer. Although my code is correct, i am not observing the desired output. Generally, python interpreter can print very large integer as much as the system memory…
csvraju
  • 105
  • 1
  • 1
  • 6
3
votes
4 answers

Safe low 32 bits masking of uint64_t

Assume the following code: uint64_t g_global_var; .... .... void foo(void) { uint64_t local_32bit_low = g_global_var & 0xFFFFFFFF; .... } With the current toolchain, this code works as expected, local_32bit_low indeed contains the low 32…
Alex Lop.
  • 6,810
  • 1
  • 26
  • 45
1 2 3
99
100