1. 2020-04-23 07:04:58 /usbkey/home/root# diff -u hard soft
  2. --- hard Thu Apr 23 07:04:07 2020
  3. +++ soft Thu Apr 23 07:04:58 2020
  4. @@ -1,7 +1,7 @@
  5. .file ""
  6. .text
  7. .section .rodata
  8. -.LC1:
  9. +.LC2:
  10. .string "x=%g\n"
  11. .text
  12. .globl main
  13. @@ -13,12 +13,20 @@
  14. movq %rsp, %rbp
  15. .LCFI1:
  16. subq $32, %rsp
  17. - movsd .LC0(%rip), %xmm0
  18. + pxor %xmm0, %xmm0
  19. movsd %xmm0, -8(%rbp)
  20. - movq -8(%rbp), %rax
  21. + movsd -8(%rbp), %xmm1
  22. + movq .LC1(%rip), %xmm0
  23. + xorpd %xmm1, %xmm0
  24. + movapd %xmm0, %xmm1
  25. + pxor %xmm0, %xmm0
  26. + call atan2
  27. + movq %xmm0, %rax
  28. + movq %rax, -16(%rbp)
  29. + movq -16(%rbp), %rax
  30. movq %rax, -24(%rbp)
  31. movsd -24(%rbp), %xmm0
  32. - movl $.LC1, %edi
  33. + movl $.LC2, %edi
  34. movl $1, %eax
  35. call printf
  36. movl $0, %eax
  37. @@ -28,10 +36,12 @@
  38. .LFE0:
  39. .size main, .-main
  40. .section .rodata
  41. - .align 8
  42. -.LC0:
  43. - .long 1413754136
  44. - .long 1074340347
  45. + .align 16
  46. +.LC1:
  47. + .long 0
  48. + .long -2147483648
  49. + .long 0
  50. + .long 0
  51. .section .eh_frame,"a",@unwind
  52. .Lframe1:
  53. .long .LECIE1-.LSCIE1