FAQ Database Discussion Community


Retrieve x64 Program Files path from 32-bit process

c#,wix,64bit
First some background. I have created a WPF bootstrapper application for my WiX installer where I need to retrieve and display the default install location. Unless I am doing something wrong it appears the executable created by WiX is always 32-bit even if my Visual Studio configuration is set to...

Encoding the x64 VEX prefix

64bit,machine-code
I'm using this guide to the VEX prefix: http://wiki.osdev.org/X86-64_Instruction_Encoding#REX_prefix I'm lost on how to encode actual VEX instructions though. The ADDPD instruction (Intel x64 page 459) Opcode looks like this: VEX.NDS.128.66.0F.WIG 58 /r Ummm what?? The VEX guide doesn't say anything about 'NDS' or 'WIG'. What am I missing?...

Startup of Winforms program 10x slower under x64 relative to x86

c#,winforms,performance,x86,64bit
I've created a popular Winforms program in C# which has a lot of GUI widgets, and found that when the platform target is x64, startup is around 5-10x slower than x86. Under an x64 target, it takes around 5 seconds to start up, and this negatively impacts the user experience....

Distance between variables in memory

c++,memory,reference,64bit,addressof
I wonder how C++ is handling variables so that the distance between the two addresses in memory of integer variables declared and initialized one after another is 3537492 - 3537480 = 12 ( I'm assuming bits(?) ) #include <cstdio> using namespace std; int main( int argc, char ** argv )...

What is bits in computer science

64bit,bit
I watched a video on youtube about the bits. After watching it I have a confusion what the actual size does a number, string or any character takes. What I have understood from the video is. 1= 00000001 // 1 bit 3= 00000011 // 2 bits 511 = 111111111 //...

Linker can't find existing library

c++,c,opengl,64bit,glu
I'm working on an OpenGL project recently and decided to move to 64 bit, so i changed the compiler to g++ 4.9.2 which supports 64bit. I changed the other libraries to 64bit too, but only the system provided libs, Glu32 and OpenGL32, can't be found by the compiler. I installed...

Returned uint64_t seems truncated

c,64bit,return-type,uint64
I would like to return a uint64_t but the result seems truncated: In lib.c: uint64_t function() { uint64_t timestamp = 1422028920000; return timestamp; } In main.c: uint64_t result = function(); printf("%llu = %llu\n", result, function()); The result: 394745024 = 394745024 At compilation, I get a warning: warning: format '%llu' expects...

Android Studio - how to install Android platform tools on Ubuntu 14.04 64 bit?

android-studio,64bit,ubuntu-14.04
I am trying to install Android Studio on a 64 bit version of Ubuntu 14.04. However my installation stops at this point: How can this be resolved ? Any suggestions or a solution itself would be most appreciated. Thank you very much for your time. Edit: Am I on the...

UITabBarItem appearance is throwing a EXC_BAD_ACCESS

ios,objective-c,iphone,64bit
I have this chunk of code to change the tab bar kerning [[UITabBarItem appearance] setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:2.0f, NSKernAttributeName, nil] forState:UIControlStateNormal]; in the app delegate, it's throwing an EXC_BAD_ACCESS when I enabled 64 bit support for my application....

In 64bit R, what should my memory.limit() be set to?

r,memory,64bit
I intend to work with some large vectors in R. memory.limit currently gives: memory.limit() [1] 4095 But I think that this is the default for 32bit R, whilst my installation is 64bit. What should my memory.limit() be set to in 64bit R?...

How many words can be in the address space?

64bit,cpu,memory-address,computer-architecture,processor
Here is the problem I am working on The Problem: A high speed workstation has 64 bit words and 64 bit addresses with address resolution at the byte level. How many words can in be in the address space of the workstation? I defined the different terms in the problem...

C++Builder XE3 64-bit application always requires rtl170.bpl

64bit,c++builder
I have built a 64-bit application with C++Builder XE3 that is running on a Windows Server 2003 (32-bit). I can compile it, but of course cannot run it in that computer. I copied the .exe over to a Windows 7 (64-bit) computer and now it's complaining that rtl170.bpl cannot be...

I can't build 64x project in Visual Studio

visual-studio-2010,64bit,badimageformatexception
I created a extremely simple solution in visual studio 2010, this solution has: A class library...and a class named "HelloWord" ASP.NET web site project...and one page inside it named "Home.aspx" Home.aspx calls "HelloWord" class Problem: I have a Win7/64x machine and i want this project to compile as 64x (not...

How to detect/find 64 bit struct alignment issues

c++,visual-studio-2010,64bit
We have a code base that is rather old that we are migrating to 64-bit to make use of some new 3rd party 64-bit tools. We are running on Windows 7, using VS2010, and code written in C++. We spent the last two days trying to figure out an issue...

“Too many indices” big matrix vector length issue in R

r,memory,64bit,linear-programming
Hello and thanks in advance. I'm using Rx64 version 3.1.2 on a Windows Server and have a file-backed big matrix generated from the package bigmemory that I'm trying to use in a linear programming problem. The matrix is 7062 rows by 364520 columns for a total of 2574240240 entries (of...

Eclipse CDT - No Console Output on OSX

c++,eclipse,osx,terminal,64bit
New to the C++ world and wanted to fiddle around using Eclipse's IDE for C/C++ called CDT. I am on OSX 10.10.2 using eclipse-cpp-luna-SR2-macosx-cocoa-x86_64. Sadly this simple example is not printing anything in the eclipse terminal. #include <iostream> using namespace std; int main() { cout << "Hello World" << endl;...

Different builds of SQLite in the same Windows Store app bundle

windows,sqlite,sqlite3,windows-store-apps,64bit
I'm having a problem deploying an update of my app to the store. The app runs SQLite, and I've recently discovered it throws an error on certain x64 architectures. BadImageFormatException: An attempt was made to load a program with an incorrect format. I understand what this means. The x64 version...

Launch Sysprep.exe from C# Program

c#,batch-file,windows-8,64bit,sysprep
How could I launch sysprep.exe with specific arguments from my c# program ? public void cmdPrint(string[] strcommmand) { Process cmd = new Process(); cmd.StartInfo.FileName = "cmd.exe"; cmd.StartInfo.RedirectStandardInput = true; cmd.StartInfo.RedirectStandardOutput = true; cmd.StartInfo.CreateNoWindow = true; cmd.StartInfo.UseShellExecute = false; cmd.Start(); cmd.StandardInput.WriteLine("cd c:\\"); foreach (string str in strcommmand) { cmd.StandardInput.WriteLine(str); } cmd.StandardInput.Flush();...

Missing Microsoft Excel as option in SQL Server data import tool

sql-server-2012,64bit,excel-2007,import-from-excel,windows-server-2012-r2
I'm running SQL Server 2012 on a 64bit Windows Server 2012 R2. I don't have MS Office installed. I now notice that when I start Start->Program Files->Microsoft SQL Server 2012->Import and Export Data (64-bit) the MS Excel file option is missing from the datasource dropdown. How can I get that...

2D morton code encode/decode 64bits

c,64bit,morton-number,z-curve
How to encode/decode morton codes(z-order) given [x, y] as 32bit unsigned integers producing 64bit morton code, and vice verse ? I do have xy2d and d2xy but only for coordinates that are 16bits wide producing 32bit morton number. Searched a lot in net, but couldn't find. Please help.

No TLS support in VLC 2.1.5 (win64)?

windows,64bit,vlc,libvlc,win64
Any tries to stream media from https fails with TLS plugin not available error (see message log here) Whereas, trying the same stream using Win32 VLC version (also 2.1.5) succeeds (see message log here. Is there a reason why x64 VLC version does not support encrypted connections? Windows 8.1, VLC...

Multiplication of 32 bits numbers in C

c,64bit,32-bit,multiplication,fixed-point
Why the below code produces this error? error: left shift count >= width of type [-Werror] The code: int32_t a,b; int64_t apo; a = 2673; b = 19; apo = BIG_MULL(a,b); printf("\n %ld \n", apo ); The macros found here: #define WORD_MASK ((1<<16) - 1) #define LOW_WORD(x) (x & WORD_MASK)...

Marshal.PtrToStructure crashing on 64bit

c#,crash,64bit,pinvoke
My unit tests crash on this bit of code when running in 64bit. The crash happens on the Marshal.PtrToStructure call on the 2nd iteration of the loop. The "entriesRead" says 4 so it should be able to read correctly, but it does not. The Marshal.SizeOf(typeof(WinAPI.NETAPI32.USER_INFO_4)) is 192 bytes in 64bit....

Strange data alignment

c++,64bit,memory-alignment
As far as I know, data alignment is putting data in 64bits / 32bits chunks in memory for CPU performance, I am using a 64 bits linux machine, and I did some tests and got some strange results (I can't explain the behavior). Here are the structures I used :...

How to convert 2 signed 32 bit numbers to 64 bit in C

c,64bit
a and b are upper half and lower half of the same number. Now I have to save this number to a 64 bit register. lets say a = -1(Higher bytes) and b = -50. How can I do this ? I am using the following which works for positive...

Unable to debug 64-bit application in release configuration, with Debug information enabled

delphi,64bit,delphi-xe6
I am trying to debug an application that is in Release Configuration - 64-bit Windows platform, but no breakpoints will hit. I have enabled the Compiler Debug Information option: I can debug the application when it is in the 32-bit release configuration; the breakpoints work fine. | Configuration | 32-bit...

My 64 bit machine can only store 4 bytes each memory location

c,memory,gdb,64bit,32bit-64bit
My computer is 64bit mac. How many bytes of information is stored in one of these locations in memory? When I tried something in gdb x /2x first 0x7ffff661c020: 0xf661b020 0x00007fff My code is #define PUT(p, val) (*((size_t *)(p)) = (val)) PUT(first, (size_t)some pointers); I use gcc -g to compile...

Assembly/ABI: Caller Responsibility for Large Return Types

windows,assembly,64bit,calling-convention
My assembly skills are rather poor, but I've been trying to understand assembly a little better to improve my understanding of profiling sessions and how optimizing compilers work. One of the things that I never stopped to really think about at the machine level when studying 64-bit calling conventions for...

Is there any way to force Python to use 64 bit integers on Windows?

python,windows,64bit
I’ve noticed that whenever any integer surpasses 2^31-1 my number heavy code suffers a large slowdown, despite the fact I’m using a 64 bit build of Python on a 64bit version of Windows. This seems to be true on Python 2.7 and Python 3. I’ve read that Windows made their...

running 64-bit application with 32-bit shared object

64bit,shared-libraries,32bit-64bit
I have 64-bit Linux OS, and would like to ask if I can use the following combinations: 64-bit application (java) using 32-bit shared object (C++) on 64 bit OS 32-bit application (java) using 32-bit shared object (C++) on 64 bit OS 64-bit application (java) using 64-bit shared object (C++) on...

Name for the category of modifiers that follow an operand?

assembly,64bit,intel
Is there a name for the following category of words "byte, word, long, quad, etc..."? Also, what is the name for the category of modifiers which indicate the aforementioned in at&t assembly syntax? For instance, the 'w' in movw, the 'l' in movl, the 'q' in movq, etc... Is there...

ubuntu 64-bit is LP64?

ubuntu,64bit,32bit-64bit
I understnad that there several models for 64-bits: LP64, ILP64 ,LLP64. I would like to ask which of them is used with ubuntu 64-bit (and the gcc used in this ubuntu) ?

Is Excel's Application.Hwnd property usable from 64 bit VBA?

excel,vba,excel-vba,64bit,window-handles
I need to obtain the Excel 2013 x64 window handle from 64 bit VBA code running in a spreadsheet. There are a couple of options to do this: Read Application.Hwnd (MSDN Application.Hwnd Property (Excel)) Call FindWindow, imported from user32, e.g. as described in the accepted answer here: What are the...

UIButtons appear below the view that they are placed on top of when on a 64 bit system

ios,objective-c,uibutton,64bit
BACKGROUND I have a view hierarchy: ... and it looks like this in the UI preview: Each button is composed of an icon (the "image" property) and a background image (the "background" property). The background image is basically a resizable bevel frame which combined with the underlaying UIImageView (ButtonPanel) gives...

Calling C++ 64bit shared library from Python

python,c++,python-2.7,64bit,shared-libraries
I would like to use a function from a given C++ 64 bit shared library (a .so file under linux) from python 2.7.8 . The header of the C++ shared library has this function: EXPORT_CODE double CONVENTION PropsSI(const char *Output, const char *Name1, double Prop1, const char *Name2, double Prop2,...

Findwindow does not work in 64bit VBA7

excel,vba,64bit
The code presented at Unlocking Password Protected VBA project works under 32 but not 64bit. Specifically, Ret = FindWindow(vbNullString, "VBAProject Password") always return 0. I have tried Ret = FindWindow("#32770", "VBAProject Password") Ret = FindWindow("XLMAIN", "VBAProject Password") None works. I have also tried the following APIs: setforegroundwindow, bringwindowtotop, setfocus, getactivewindow,...

Extending 64 bit support to existing iOS app

ios,xcode,64bit,cocoapods
I have read Apple's Guidelines for converting app to 64 bit binary and few other web pages.I am using Xcode 6 and I believe that if Architectures contain "Standard Architecture(armv7,arm64)" and Valid Architectures contain "armv7,armv7s" then it means my app supports 64 bit binaries. Can someone please confirm if my...

COM registration for a 64-bit application

c#,.net,com,64bit,registry
I am creating an Installer for a 64-bit application that uses a third-party SDK. This SDK requires COM registration and seems to have some conflicting instructions so I'd like to find out best practices regarding the follows: To achieve registry-free activation (for the COM DLLs which support them), I am...

Is there any reason to still use int as opposed to long on a 64 bit machine?

java,64bit,32bit-64bit
In general, is there any reason to still use int as opposed to long in Java if programming on a 64 bit architecture? Specifically in my case: I use int variables that are being mapped to keys(sequential numbers starting from 1 and incremented for each new entry) of type NUMBER...

Code Assembly language in 64-bit

assembly,64bit
I want to know if there is some program that allows me to compile my assembly code for a 64 bit processor. By now I'm using RTM, TASM and TLINK but those are for 32 bit....

Semantics of mov widths in x64 and SSE

assembly,64bit,sse,freepascal
Consider the following from here: mov BYTE PTR [ebx], 2 ; Move 2 into the single byte at the address stored in EBX. mov WORD PTR [ebx], 2 ; Move the 16-bit integer representation of 2 into the 2 bytes starting at the address in EBX. mov DWORD PTR [ebx],...

Loading dll using loadLibrary

java,jni,64bit,environment-variables
I am currently maintaining a Java communication library which wraps the functionality offered by some dll via JNI. At some point, in Java, I need to load the JNI wrapper to forward my requests and finally call the native library. Currently, this is accomplished by calling System.loadLibrary("MyLibrary"); As stated here,...

Assembly 64bit - movl, movq. Interchanging is okay?

assembly,64bit,x86-64,gas,instructions
Context: Learning GAS assembly on 64 bit linux. Many tutorials are for 32-bit assembly. Difficult to bushwhack through x86_64 assembly. Question: When I compile a c program with gcc, I still see some %eax and movl. I mostly play with int32_t. But I thought that one had to use the...

Overflow Errors in 64-bit Windows Server 2012 after Upgrade to .NET Framework?

.net,winapi,64bit,dllimport,windows-server-2012
Our solution was recently upgraded from .NET Framework v3.5 to v4.5.2 and as a result we have had some overflow errors running on Windows Server 2012 64-bit machines. These overflow errors seem to be coming from any instance where we call this function from the Windows API: [DllImport("user32.dll", CharSet=CharSet.Auto)] public...

Encoding x64 VCOMISS instruction

assembly,64bit,machine-code
I'm looking at the VCOMISS instruction on page 576 of the Intel x64 manual: VEX.LIG.0F 2F.WIG /r Two problems... 1. 0x2F isn't a valid mandatory prefix and 2. there's no opcode Anyone know what the story is?...

How to find implementation of .NET InternalCall methods

.net,debugging,64bit,disassembly
Out of curiosity I want to see the assembly code for the implementation of some internal methods. In this example I am trying to start with the Interlocked.Increment method. By setting a break point on my source code and then showing the Disassembly window I get the following display... 29:...

Compiling static library for Unity 4.6.3 (64-bit & IL2CPP)

ios,unity3d,64bit,static-libraries,arm64
I have a static library that I've been integrating into my Unity-iOS projects for several months now. Everything has been working fine for Unity 4.3.x. With the recent release of Unity 4.6.3, which provides building for 64-bit devices using the IL2CPP scripting backend and Universal architecture, my static library no...

Migrating a 32bit qt application to 64 bit platform

visual-studio,qt,compilation,64bit,32bit-64bit
I have an application developed with qt. I want to make a 64 bit version of it on windows. I am using visual studio 2012. how do I use the VS compiler to compile the qt source code and my source code for a 64 bit target?...

static initialization of user defined type in C++ (Win64/PC)

c++,initialization,64bit,pc
I use VS2012 Win64/PC I know there is a lot about what is a static variable and about the initialization order, this goes a bit further. Imagine in 1 CPP, the following lines: struct A { void* a; size_t b; }; static bool bMyBoolean = true; static std::vector<A> myVector; The...

Conversion of an iOS app to 64 bit causes crash on app launch

ios,objective-c,crash,64bit,arm64
I'm trying to convert an app from 32-bit app to 64-bit. I've had issues with TestFlight beta testers' apps crashing immediately, before the crash could be logged to TestFlight (or now, iTunes connect.) The app launch screen displays for a moment, and then a black screen is shown and the...

64bit integer in Javscript, from Mysql request

javascript,mysql,node.js,integer,64bit
I have this number 76561197993482001 (64bit int) stored as a bigint(20) in my database. But when I try to fetch it using : //node.js query('SELECT * FROM table',function(err,rows){ console.log(rows[0]["id"]);// I get 76561197993482000 }); I get the wrong number. I guess this is because js can't handle 64bit variables. I know...

DirectX libs in x64 program

64bit,directx
I'm trying to compile a program as 64 bits, it works perfectly with a simple console program but if I use my directX program it says me: error LNK1181: cannot open input file 'd3dx9.lib'. When I compile my directX program as 32 bits it works but in x64 it doesn't....

asm64 write system call: non-adjacent memory?

assembly,64bit
I have this little program written in x64 assembly: xor rdx,rdx push rdx ;null terminator push 0x41414141 ;AAAA push 0x45454545 ;EEEE mov rsi,rsp ;pointer to the string mov rdi,1 ;output file: stdout mov rdx,8 ;buffer size 8 mov rax,1 ;write syscall syscall As you can see, I push eight bytes...

Fastest way to unpack bits into single precision floats

c++,c,visual-studio,optimization,64bit
This is platform specific question. Speed is crucial. What is the fastest way to unpack a byte into an array of 8 single precision floats so that zeroes map into zeroes and ones map into ones? I ended up using 8 bit masks and 7 bit shifts to unpack into...

Target 64-bit program files folder with the latest Install Shield LE

visual-studio-2013,64bit,32bit-64bit,installshield,installshield-le
Previous versions of Install Shield Limited Edition have not supported the creation of 64-bit packages, but rumor has it that it now does (see comments under the accepted answer here), as of Visual Studio 2013. I'm using VS 2013 with the latest Install Shield LE, and I still can't figure...

Windows Service keep crashing with Faulting Module SHLWAPI.dll

c#,.net,windows-services,64bit,windows-server-2012
I have a Windows Service running in "Local System account" context. I can start the service successfully, but after a few minutes it crashes. I get following error in the event log What could be the possible reason, and how to fix this issue? Faulting application name: MyWindowsService.exe, version: 1.0.0.2993,...

Linker error with Boost 1.53 and VS 2013 on x64

c++,boost,visual-studio-2013,64bit
I found this problem on SO and some other places already and it always has to do with linking 32bit libraries on x64 build or vice-versa, ex: Boost linker error: Unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::get_system_category(void)" 1>base_pcount.obj : error LNK2001: unresolved external symbol "class boost::system::error_category const &...

Why is SysWOW64 reported as System32?

.net,windows-services,64bit,windows-7-x64,syswow64
I am testing a Windows service. The service code fails when it tries to delete a read only file I created in %windir%\SysWOW64, but the exception that is logged is: Access to the path 'C:\Windows\system32\CanvasImages\62230.jpg' is denied. I know 64 bit Windows has a whole lot of tricks up its...

I have an App that I converted to 64 bit, but crashes on 32 bit iPad devices

ios,xcode,ipad,64bit,simulator
As the title says, I need a way to test my App on a 32 bit iPad device, but I don't have an older device. Is there a 32 bit iPad simulator I can test on? Any tips or suggestions are appreciated (I have the new Xcode).

How to create a 64 bit Unique Integer in Java?

java,random,64bit,long-integer,uuid
I need to create a 64 bit Unique Integer in Java so that collision chances are pretty less. Is there any way, we can create a 64 bit integer in Java which is always Unique? As of now I am using - long number = System.nanoTime(); Is this the right...

Unable to install Android Studio in Ubuntu

java,android,android-studio,64bit,debian-based
My operating system is Ubuntu gnome 14.04, ram=4gb, java 8 jdk, jre 8. When I was installing the Android Studio all was fine but a message appears saying: Unable to run mksdcard SDK tool how can i install Android Studio correctly? thanks...

Why Process.Start() only opens shortcuts if the target is in “Program Files (x86)”

c#,process,64bit,process.start,program-files
Process.Start() only seems to work on a shortcut whose the target is located in the Program Files (x86) folder and not in the Program Files folder. If the target is in the Program Files folder I get the fallowing error "The system cannot find the file specified" (run-time error) Why...

Visual Studio 2008 doesn't appear X64 option for win 7 64 bit

c++,visual-studio-2008,sdk,64bit
I install visual studio 2008 express on win 7 64 bit and I also install Windows Software Development Kit (SDK). I try to transform a DLL(c++ source code) from 32 to 64 bit but the X64 option doesn't appear in visual studio 2008. I use command "vcvarsall amd64" in "Visual...

x64 program returns the correct SIDT value occasionally (x64 assembly)

c,visual-studio-2012,assembly,64bit
I use Visual studio 2012 and I created a x64 bit program that returns the value of the SIDT function (without the offset). The problem is that when I initially run the program, it returns the right value, but when I run the program multiple times, it returns the right...

Exception (integer overflow) when initializing 64-bit Mersenne Twister

vb.net,visual-studio-2010,random,numbers,64bit
I am using the 64-bit verison of the Mersenne Twister, specifically the version: A C-program for MT19937-64 (2004/9/29 version). Coded by Takuji Nishimura and Makoto Matsumoto. and am receiving an integer overflow when compiling into the Release but don't get the exception during run-time in Debug. I have integer overflow...

MOVUPD vs. MOVDQU (x86/x64 assembly)

assembly,x86,64bit
What's the difference between these instructions? MOVDQU is an unaligned double quadword move and MOVUPD is an unaligned two 64-bit float move. I mean they're both just moving unaligned 128-bit data. MOVDQU is on page 948, MOVUPD is on page 995 of the intel x64 manual....

What is the 'shadow space' in x64 Assembly?

c++,assembly,64bit,low-level
I found plenty of topics about this shadow space, but I couldn't find the answer in none of them, so my question is: how much exactly bytes I need to subtract from the stack pointer, before entering to a procedure? and should I push the procedure parameters to the stack...

Is it possible to mix x64/x86 in a C# Project?

c#,wcf,x86,64bit
We have a WebService that's been running for a while, there's about 6~ projects on it. Recently, we had to support a C++ 32 bit library, I tested and I had to set the project's target platform to x86 or I'd get the BadImageFormatException. So this new project is set...

Huge performance difference in byte-array access between x64 and x86

c#,performance,x86,64bit,clr
I'm currenty doing micro-benchmarks for a better understanding of clr performance and version issues. The micro-benchmark in question is xoring two byte arrays of each 64 bytes together. I'm always making a reference implementation with safe .net before I try to beat the .net framework implementation with unsafe and so...

OpenSSL issue under 64bit server and none under same 32bit (QT app)

c++,qt,openssl,64bit,qt5.4
After upgrading the QT from 4.8.5 to 5.4.0 we had an issue with the server side. The build is done under Debian wheezy (64bit) and also on a 32bit machine as well. When we start the server on the 32bit machine, using the command openssl s_client -connect xxx.xxx.xxx.xxx:4443 we receive...

Getting the high part of 64 bit integer multiplication [duplicate]

c++,assembly,64bit,multiplication
This question already has an answer here: Efficient computation of the high order bits of a multiplication 3 answers In C++, say that: uint64_t i; uint64_t j; then i * j will yield an uint64_t that has as value the lower part of the multiplication between i and j,...

iOS 64bit @try {… } @catch {…} not working

ios,objective-c,exception,ios8,64bit
I have a very peculiar issue. Recently I added 64bit support to my iOS project (arm64), ever since doing that I started receiving uncaught exceptions for segments of my code inside @[email protected] (I'm using Crashlytics for crash reporting). I managed to reproduce the problem with the following lines of code...

x64 CMPPD (Compare packed 64-bit floats) instruction

assembly,64bit,machine-code
The CMPPD instruction (page 545 of the intel x64 manual) says it reverses the operands if you need to use greater or greater than or equal to. That makes sense for the instruction that takes two registers but how do you swap operands for the address and register version?

Visual Studio Community 2013 SP4 shows no colors in Text Editor, black & white only

visual-studio-2013,windows-8,colors,64bit,text-editor
Problem occurs if I log in as a standard user. Tools | Options | Environment | General | ComboBox Color Theme: is grayed out I tried: uncheck CheckBox "Automatically adjust visual experience ..." Tools | Import and Export Settings | Reset all settings Tools | Options | Environment |...

x64 LAR instruction (Load Access Rights Byte)

assembly,x86,64bit,x86-64,machine-code
This instruction has some confusing modes, here's the table for the 64-bit version on page 862 of the intel x64 manual: Opcode Instruction Description 0F 02 /r LAR r16, r16/m16 r16 ← access rights referenced by r16/m16 0F 02 /r LAR reg, r32/m16 reg ← access rights referenced by r32/m16...

Assembly 64-bit invalid effective address

c,assembly,64bit,x86-64,calling-convention
I'm creating a function do be called from C code in asm 64 bit this is the C equivalent function: /* * x and y are two arrays of floats, this function calculates the * distance beetween those two objects */ float dist(float *x, float *y, int length) { float...

iOS: Is there any solution yet for Core Animation problems on 64-bit?

ios,64bit,cabasicanimation
We recently converted our app to full 64-bit compatibility, and now CABasicAnimations across the entire app are failing on 64-bit devices (animations that have been working for years on all devices). A question was asked here, but received no response. What is the current knowledge surrounding this issue? I can't...

Issues updating Phonegap iOS app for 64-bit architecture

ios,xcode,cordova,64bit,phonegap-plugins
I have a phonegap app with many plugins that runs fine on iOS devices. However, I am currently using $(ARCHS_STANDARD_32_BIT) for architectures in xcode, and now believe I need to update it to be $(ARCHS_STANDARD) in the architecture setting and to include arm64 as a valid architecture per Apple's Feb...