assembly 464

  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 assembly 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. What is exactly the base pointer and stack pointer? To what do they point?
  19. What is a retpoline and how does it work?
  20. Is it possible to “decompile” a Windows .exe? Or at least view the Assembly?
  21. Why does GCC generate such radically different assembly for nearly the same C code?
  22. Assembly code vs Machine code vs Object code?
  23. Why does GCC use multiplication by a strange number in implementing integer division?
  24. Is inline assembly language slower than native C++ code?
  25. Help me understand this JavaScript exploit
  26. How are everyday machines programmed?
  27. Show current assembly instruction in GDB
  28. How do you use gcc to generate assembly code in Intel syntax?
  29. Can num++ be atomic for 'int num'?
  30. Quickly find whether a value is present in a C array?
  31. How can I see the assembly code for a C++ program?
  32. How can I build a small operating system on an old desktop computer?
  33. `testl` eax against eax?
  34. What are the calling conventions for UNIX & Linux system calls on i386 and x86-64
  35. Why is SSE scalar sqrt(x) slower than rsqrt(x) * x?
  36. Learning assembly
  37. Purpose of ESI & EDI registers?
  38. cmd.exe parsing bug leads to other exploits?
  39. What is the purpose of XORing a register with itself?
  40. Why is x86 ugly? Why is it considered inferior when compared to others?
  41. What is the difference between MOV and LEA?
  42. How exactly does the callstack work?
  43. What are CFI directives in Gnu Assembler (GAS) used for?
  44. What is the meaning of “non temporal” memory accesses in x86
  45. What's a good C decompiler?
  46. How to view the assembly behind the code using Visual C++?
  47. What does `dword ptr` mean?
  48. Which is faster : if (bool) or if(int)?
  49. C code loop performance
  50. The point of test %eax %eax