abi
Difference between x86, x32, and x64 architectures?
Please explain the differe开发者_运维问答nce between x86, x32 and x64? Its a bit confusing when it comes to x86 and x32 because most of the time 32-bit programs run on x86... Hans and DarkDust answer[详细]
2023-04-10 12:22 分类:问答Difference in integer size for 64-bit system(confuse with my old 32-bit pc system)
Few months ago i get myself a laptop with cpu intel i7-2630qm with a 64-bit windows. While practising my programming skils under this system , I encountered some difference in terms of integer size wh[详细]
2023-04-05 12:45 分类:问答ABI compatibility of interfaces (abstract classes) with other virtual changes
Does the ABI of the view of a class remain stable even if other changes, involving virtuals, are made in the derived class?[详细]
2023-04-04 23:58 分类:问答Android NDK - problem linking an external library (can't found it)
I am working with Android NDK r6b under cygwin (the system is updated correctly). I am modifying the hello-jni sample in order to learn working with NDK. Since i have a library written in C++ that i w[详细]
2023-04-03 15:53 分类:问答In the Win64 ABI, can the reserved argument stack space be used for general purpose storage?
I\'m learning x64 assembly on Windows for \'fun\'. The MSDN do开发者_如何转开发cumentation for the x64 calling convention on Windows says:[详细]
2023-03-29 09:33 分类:问答retrieve Android ARM processor version programmatically
Is there a way to retrieve the ARM processo开发者_StackOverflowr version programmatically? I\'m trying to send it to Google Analytics. I\'ve been told it\'s in the /proc/cpuinfo folder but I\'m unsure[详细]
2023-03-19 06:48 分类:问答C++ and binary compatibility: returning a POD struct by value
Consider the following C++ code: struct X { int a; int b; }; X foobar() { X x = { 1, 2 }; return x; } Now assume this code is put in a shared library, which is used by third-party applications.[详细]
2023-03-11 18:00 分类:问答Are the default constructor and destructor ever inline?
I\'m curious if the default constructor and destructor that the compiler generates are inline or not, because I can justify it either way. On the one hand, you want the default constructor/destructor[详细]
2023-03-11 14:18 分类:问答ARM to C calling convention, NEON registers to save
There is a similar post that covers regular registers. What about NEON registers. As far as I remember either top half or bottom half of registers have to be preserved across function calls.[详细]
2023-02-16 17:41 分类:问答How do vararg functions find out the number of arguments in machine code?
How can variadic functions like printf find out the number of argu开发者_如何学编程ments they got?[详细]
2023-02-16 01:05 分类:问答