assembly 443

  1. Why doesn't GCC optimize a*a*a*a*a*a to (a*a*a)*(a*a*a)?
  2. Why doesn't GCC optimize a*a*a*a*a*a to (a*a*a)*(a*a*a)?
  3. Is < faster than <=?
  4. Replacing a 32-bit loop count variable with 64-bit introduces crazy performance deviations
  5. Why is this C++ code faster than my hand-written assembly for testing the Collatz conjecture?
  6. How do I achieve the theoretical maximum of 4 FLOPs per cycle?
  7. What's the purpose of the LEA instruction?
  8. When is assembler faster than C?
  9. Why does gcc generate 15-20% faster code if I optimize for size instead of speed?
  10. How do you get assembler output from C/C++ source in gcc?
  11. Why does Java switch on contiguous ints appear to run faster with added cases?
  12. Why aren't programs written in Assembly more often?
  13. Why would introducing useless MOV instructions speed up a tight loop in x86_64 assembly?
  14. Is 'switch' faster than 'if'?
  15. Using GCC to produce readable assembly?
  16. Protecting executable from reverse engineering?
  17. What does “multicore” assembly language look like?
  18. Why does GCC generate such radically different assembly for nearly the same C code?
  19. What is exactly the base pointer and stack pointer? To what do they point?
  20. Is it possible to “decompile” a Windows .exe? Or at least view the Assembly?
  21. Why does GCC use multiplication by a strange number in implementing integer division?
  22. Assembly code vs Machine code vs Object code?
  23. Is inline assembly language slower than native C++ code?
  24. How are everyday machines programmed?
  25. Help me understand this JavaScript exploit
  26. Can num++ be atomic for 'int num'?
  27. How do you use gcc to generate assembly code in Intel syntax?
  28. Show current assembly instruction in GDB
  29. Quickly find whether a value is present in a C array?
  30. How can I see the assembly code for a C++ program?
  31. How can I build a small operating system on an old desktop computer?
  32. Why is SSE scalar sqrt(x) slower than rsqrt(x) * x?
  33. `testl` eax against eax?
  34. Learning assembly
  35. cmd.exe parsing bug leads to other exploits?
  36. What are the calling conventions for UNIX & Linux system calls on i386 and x86-64
  37. How exactly does the callstack work?
  38. Why is x86 ugly? Why is it considered inferior when compared to others?
  39. Purpose of ESI & EDI registers?
  40. What's a good C decompiler?
  41. C code loop performance
  42. What is the purpose of XORing a register with itself?
  43. Which is faster : if (bool) or if(int)?
  44. What is the difference between MOV and LEA?
  45. What does `dword ptr` mean?
  46. If registers are so blazingly fast, why don't we have more of them?
  47. Go isn't linking my assembly: undefined external function
  48. What is the purpose of the EBP frame pointer register?
  49. What is the meaning of “non temporal” memory accesses in x86
  50. Why does adding assembly comments cause such radical change in generated code?