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. Why is SSE scalar sqrt(x) slower than rsqrt(x) * x?
  34. `testl` eax against eax?
  35. Learning assembly
  36. cmd.exe parsing bug leads to other exploits?
  37. What are the calling conventions for UNIX & Linux system calls on i386 and x86-64
  38. How exactly does the callstack work?
  39. Why is x86 ugly? Why is it considered inferior when compared to others?
  40. Purpose of ESI & EDI registers?
  41. What's a good C decompiler?
  42. What is the purpose of XORing a register with itself?
  43. C code loop performance
  44. What is the difference between MOV and LEA?
  45. Which is faster : if (bool) or if(int)?
  46. What does `dword ptr` mean?
  47. If registers are so blazingly fast, why don't we have more of them?
  48. The point of test %eax %eax
  49. Go isn't linking my assembly: undefined external function
  50. What is the purpose of the EBP frame pointer register?