x86-64
Using xadd for different integer widths
I\'m currently porting atomic.hpp out of boost for a project and would like to generalize the atomic add function whereby it\'s templated on the type to add:[详细]
2023-02-07 02:12 分类:问答Compiler error: unmatched call to pow(...)
My company has a piece of software, sporting a rather large codebase. Recently I was assigned the task of checking wether the code would compile on an x86_64 target using gcc 4.1.2. I\'ve gotten prett[详细]
2023-02-06 14:50 分类:问答How to find a user32.dll function address from an x64 process within an x86 process?
How to find a user32.dll function address 开发者_StackOverflow社区from an x64 process within an x86 process?[详细]
2023-02-06 11:59 分类:问答Is the Linux Scheduler aware of hardware interrupts (Scheduler Jitter)
If a process is interrupted by a hardware interrupt (First Level Interrupt Handler), then does the CPU scheduler becomes aware of that (e.g. Does the Scheduler count execution time for hardware interr[详细]
2023-02-06 09:18 分类:问答Using SSE to speed up lower_bound function
In a project I\'m currently working on I often need to find the lo开发者_JS百科west possible index in a sorted array at which an element can be inserted (like std::lower_bound in C++).[详细]
2023-02-06 09:09 分类:问答change a code from flipping "8bpp .bmp image" horizontally to flip a "1bpp .bmp image" horizontally in x86
Hello here I have developed the code for Mirror/flipping an 8 bpp .BMP image horizontally. Handling any width properly, not only multiples of 4. Now I have to convert this code to do the same but for[详细]
2023-02-05 22:37 分类:问答What's the instructions for type casting in Intel 64 ISA
What\'s the instructions for type casting in Intel 64 ISA? Such as cast long int to double? I do some test like this:[详细]
2023-02-05 18:57 分类:问答"Unexplainable" core dump
I\'ve seen many core dumps in my life, but this one has me stumped. Context: multi-threaded Linux/x86_64 program running on a cluster of AMD Barcelona CPUs[详细]
2023-02-04 05:53 分类:问答Behind Windows x64's 44-bit virtual memory address limit
http://www.alex-ionescu.com/?p=50. I read the above post. The author explains why Windows x64 supports only 44-bit virtual memory address with singly linked list example.[详细]
2023-02-02 07:08 分类:问答How does loop address alignment affect the speed on Intel x86_64?
I\'m seeing 15% performance degradation of the same C++ code compiled to exactly same machine instructions but located on differently aligned addresses. When my tiny main loop starts at 0x415220 it\'s[详细]
2023-02-01 08:45 分类:问答