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
0 answers

php 5.3.13 ffmpeg Windows 7 64bit Not working wamp server

I am facing following issue during installing the ffmpeg on the windows 7 64-bit machine using WampServer Version 2.2 with php 5.3.13 and ffmpeg extension 32-Bit I didn't find ffmpeg ext. 32-bit.. PHP Startup: Unable to load dynamic library…
Waqas Ahmed
  • 311
  • 3
  • 6
4
votes
1 answer

How to make OpenMP work with MinGW-64 under Cygwin?

The Scenario I am developing an application in C99 ANSI C that uses OpenMP and GMP. It's natural habitat will be a linux machine with plenty of cores, so there's basically no big trouble there, but for reasons I do not want to debate here, I have to…
Jesko Hüttenhain
  • 1,278
  • 10
  • 28
4
votes
2 answers

ASSEMBLY: Could someone explain what this line with the leaq instruction does?

I'm running through some assembly code and I can't figure out what a line of code does. The code is: leaq 0(,%rax,4), %rdx I know lea is basically a type of mov instruction, but it only moves the address. So we are moving the address of…
pauliwago
  • 6,373
  • 11
  • 42
  • 52
4
votes
6 answers

Comparing two fractions (< and friends)

I have two fractions I like to compare. They are stored like this: struct fraction { int64_t numerator; int64_t denominator; }; Currently, I compare them like this: bool fraction_le(struct fraction a, struct fraction b) { return…
Jasmijn
  • 9,370
  • 2
  • 29
  • 43
4
votes
3 answers

64 bit alignment/padding for c structure?

struct tag_t_ { u_int8_t op; u_int8_t num; u_int32_t labels[5]; }; In the above structure where will be pad bytes added by 64-bit compiler? Is it before the first label or at the end of first label? If the padding is at end of the…
user1805194
  • 43
  • 1
  • 1
  • 3
4
votes
1 answer

BadImageFormatException in IIS on x64

I am using Windows 7 x64. I get a BadImageFormatException when starting a MVC app. If it runs in an application pool with 32-bit applications enabled the exception is not thrown. It looks like loading the global.asax is the problem. I enabled the…
pexxxy
  • 489
  • 1
  • 6
  • 17
4
votes
1 answer

C++ Compiling error: Undefined symbols for architecture x86_64

I'm having difficulty getting this to compile. I think the it has to do with the static variables, but I'm not 100% sure what I'm doing. Here is the error message I keep getting: Undefined symbols for architecture x86_64: "Counter::nCounters",…
MadDash
  • 43
  • 1
  • 3
4
votes
3 answers

Assembler 64b division

I need some easy way to divide 64b unsigned integers in assembler for x86. My number is saved in two 32b registers EDX:EAX and I need to put result back to EDX:EAX. Factor is in 32b integer. Some code, please?
Nick
  • 107
  • 3
  • 11
4
votes
1 answer

x86 to x64 library wrapper for java (JNI)

I have an x86 dll for an transmitter device (possibly written in C++, but there are no sources of course). My OS is Windows 7 x64. I have JVM x64 too. Is it possible to do smth with this x86 dll to use it with x64 JVM for native function call? The…
static
  • 8,126
  • 15
  • 63
  • 89
4
votes
2 answers

JVM crashes after migrating to 64bit

My application started crashing after we migrate it to 64bit. The crash is occuring every 2-3 days on our production linux server. We are using jdk1.6.0_15-x86_64. The crash is happening at the same place when my application uses the Xalan…
4
votes
2 answers

Classic ASP using COM+ on x64 Windows Server 2008 and IIS7

(Note: I thought about posting this to serverfault, but I figured more developers have banged their heads against these issues than admins) I'm trying to set up a web page that uses both ASP Classic and ASP.NET 2.0 in the environment mentioned…
wwilkins
  • 408
  • 4
  • 15
4
votes
3 answers

Sybase ASE 15.x ODBC driver on Windows 7 64bit

I have trouble getting the Sybase ASE ODBC drivers to work on Windows 7 64bit. I have a 64bit version for Sybase ASE 15.0.1. However the installation fails. After selecting a "Custom" installation, and selecting all the options required for the…
Hendrik
  • 227
  • 1
  • 4
  • 14
4
votes
2 answers

_WIN64 is not defined in x64 project

I'm using VS2008 and the project properties are set for (active) x64 and the weird thing is _WIN64 is not defined and WPARAM and LPARAM are still 32-bit. Should I define _WIN64 manually? If so, where should I put #define _WIN64? Preprocessor setting…
Jeffrey Goines
  • 935
  • 1
  • 11
  • 30
4
votes
1 answer

Can't link a shared library from an x86-64 object from assembly because of PIC

I'm porting a shared library from 32-bit to 64-bit. It's composed of some assembly (written for NASM) that exports several procedures and a little bit of higher-level C glue code. I'm building on a 64-bit Debian machine with NASM 2.10.01 and GNU ld…
IneQuation
  • 1,244
  • 11
  • 27
4
votes
5 answers

How to reserve bottom 4GB VM in an x64 C++ app

Working on porting a 32bit Windows C++ app to 64 bit. Unfortunately, the code uses frequent casting in both directions between DWORD and pointer values. One of the ideas is to reserve the first 4GB of virtual process space as early as possible…
CeeMan
  • 41
  • 3