How to make Android apps which support both 32-bit and 64-bit architecture?

According to an official email sent by the Google Play Team, the action required is: If you haven’t yet, we encourage you to begin work for the 64-bit requirement as soon as possible. Many apps are written entirely in non-native code (e.g. the Java programming language or Kotlin) and will not need code changes. Please … Read more

WiX x64 platform target

If you open your .wixproj file in a text editor, you will see that your x64 configuration items are at the bottom of the file (below the import of the standard WiX build targets) and your x86 configuration is at the top (above the import). If you shift the XML for the x64 config so … Read more

x86_64 ASM – maximum bytes for an instruction?

The x86 instruction set (16, 32 or 64 bit, all variants/modes) guarantees / requires that instructions are at most 15 bytes. Anything beyond that will give an “invalid opcode”. You can’t achieve that without using redundant prefixes (e.g. multiple 0x66 or 0x67 prefixes, for example). The only instruction that actually takes 64-bits as a data … Read more

GAC 32bit vs. 64bit

The gacutil.exe should install the .dll to the right location depending on how it was compiled. You should be able to find the file here : %ProgramFiles%\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\ .NET 4 has it’s own Assembly folder (c:\windows\Microsoft.NET\assembly) which has a \GAC_32 and \GAC_64 directories within… This is where you will find your files once … Read more

Why can’t 64-bit Windows unwind user-kernel-user exceptions?

I’m the developer who wrote this Hotfix a loooooooong time ago as well as the blog post. The main reason is that the full register file isn’t always captured when you transition into kernel space, for performance reasons. If you make a normal syscall, the x64 Application Binary Interface (ABI) only requires you to preserve … Read more

What are the pros and cons of running IIS as 32bit vs 64bit on a 64bit OS?

The only perf advantage to running IIS on 64bit vevrsus 32-bit is to allow access to a much larger memory address space. If you are doing normal ASPX page processing, then it’s likely you don’t need to address more than 4gb from any single process. Suppose you run in 32-bit mode with a web-garden with … Read more

SSE2 option in Visual C++ (x64)

Seems to be all 64-bit processors has SSE2. Since compiler option always switched on by default no need to switch it on manually. From Wikipedia: SSE instructions: The original AMD64 architecture adopted Intel’s SSE and SSE2 as core instructions. SSE3 instructions were added in April 2005. SSE2 replaces the x87 instruction set’s IEEE 80-bit precision … Read more