x86-64
How are the fs/gs registers used in Linux AMD64?
On the x86-64 architecture, two registers have a special purpose: FS and GS. In linux 2.6.*, the FS register seem to be used to s开发者_高级运维tore thread-local information.[详细]
2023-03-17 19:11 分类:问答Does concurrent READ/WRITE access to memory by itself cause errors/violations?
If I have a multiprocessor setup and two threads that access the same memory (let\'s say the same actual byte or word, not only \"the same area\"), does this cause errors by itself?[详细]
2023-03-17 05:40 分类:问答Minimal example to compile & run assembly with gcc?
int main(int argc, char* argv[]) { return 0; } what\'s the shortest assembly example to do the same that can be compiled into an executable by gcc?[详细]
2023-03-16 20:00 分类:问答In assembly, how do you deal with C struct?
For example, how to prepare parameters for this syscall sys_wait4: asmlinkage long sys_wait4(pid_t pid,unsigned int __user *stat_addr, int options, struct rusage __user *ru)[详细]
2023-03-16 14:48 分类:问答How do you check syscall for x86_64?
I can\'t find a dedicated official website to search for such information . For 开发者_StackOverflowexample,if I want to do exit,how should I do it with syscall introduced in x86_64?[详细]
2023-03-16 07:03 分类:问答LLVM's calling convention for GHC
Here is the text in LLVM\'s doc \"langref\": \"cc 10\" - GHC convention This calling convention has been implemented specifically for use by the Glasgow Haskell Compiler (GHC). It passes everything[详细]
2023-03-14 06:14 分类:问答Using the new sse registers xmm8 - xmm15
Is it possible to use the new SSE registers from Visual Studio 2010 inline assembler? If so, how and what else conditions must be satisfied? I don\'t know for example if new registers are av开发者_JAV[详细]
2023-03-13 10:36 分类:问答why 32 bit drivers do not work on 64 bit
From past readings it seems most 32 bit drivers won\'t work on 64 bit. At a purely conceptual level, I see a 64 bit machine as having extra \'room\' when using开发者_开发问答 32 bit drivers so am try[详细]
2023-03-12 05:24 分类:问答Why doesn't the Windows x64 calling convention use XMM registers to pass more than 4 integer args?
The (Microsoft) x64 calling convention states: The arguments are passed in registers RCX, RDX, R8, and R9. If the arguments are float/double, they are passed in XMM0L, XMM1L, XMM2L, and XMM3L.[详细]
2023-03-11 22:35 分类:问答How to detect if the computer is 32-bit or 64-bit?
How do you determine if the computer you are on is a 32-bit m开发者_开发问答achine or a 64-bit machine?[详细]
2023-03-11 20:59 分类:问答