fork download
  1. .file "arry.cpp"
  2. .section .rodata.str1.1,"aMS",@progbits,1
  3. .LC1:
  4. .string "constructed"
  5. .section .text.startup,"ax",@progbits
  6. .p2align 4,,15
  7. .globl main
  8. .type main, @function
  9. main:
  10. .LFB3085:
  11. .cfi_startproc
  12. subq $640008, %rsp
  13. .cfi_def_cfa_offset 640016
  14. movl $1, %edx
  15. xorl %eax, %eax
  16. .L2:
  17. movq %rax, %rcx
  18. leaq (%rsp), %rsi
  19. salq $5, %rcx
  20. addq %rsi, %rcx
  21. leaq 0(,%rax,4), %rsi
  22. addq $1, %rax
  23. cvtsi2sdq %rsi, %xmm0
  24. leaq 1(%rdx), %rsi
  25. movsd %xmm0, (%rcx)
  26. cvtsi2sdq %rdx, %xmm0
  27. movsd %xmm0, 8(%rcx)
  28. cvtsi2sdq %rsi, %xmm0
  29. leaq 2(%rdx), %rsi
  30. addq $4, %rdx
  31. cmpq $20000, %rax
  32. movsd %xmm0, 16(%rcx)
  33. cvtsi2sdq %rsi, %xmm0
  34. movsd %xmm0, 24(%rcx)
  35. jne .L2
  36. movl $.LC1, %esi
  37. movl $_ZSt4cerr, %edi
  38. call _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
  39. movq %rax, %rdi
  40. call _ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
  41. xorpd %xmm3, %xmm3
  42. xorl %ecx, %ecx
  43. movapd %xmm3, %xmm0
  44. .L3:
  45. leaq (%rsp), %rdx
  46. movq %rcx, %rax
  47. salq $5, %rax
  48. addq %rdx, %rax
  49. xorl %edx, %edx
  50. movsd (%rax), %xmm7
  51. movsd 8(%rax), %xmm6
  52. movsd 16(%rax), %xmm5
  53. movsd 24(%rax), %xmm4
  54. .p2align 4,,10
  55. .p2align 3
  56. .L4:
  57. movq %rdx, %rax
  58. leaq (%rsp), %rsi
  59. addq $1, %rdx
  60. salq $5, %rax
  61. movapd %xmm7, %xmm1
  62. addq %rsi, %rax
  63. movapd %xmm6, %xmm2
  64. subsd (%rax), %xmm1
  65. cmpq $20000, %rdx
  66. subsd 8(%rax), %xmm2
  67. mulsd %xmm1, %xmm1
  68. mulsd %xmm2, %xmm2
  69. addsd %xmm3, %xmm1
  70. addsd %xmm2, %xmm1
  71. movapd %xmm5, %xmm2
  72. subsd 16(%rax), %xmm2
  73. mulsd %xmm2, %xmm2
  74. addsd %xmm2, %xmm1
  75. movapd %xmm4, %xmm2
  76. subsd 24(%rax), %xmm2
  77. mulsd %xmm2, %xmm2
  78. addsd %xmm2, %xmm1
  79. addsd %xmm1, %xmm0
  80. jne .L4
  81. addq $1, %rcx
  82. cmpq $20000, %rcx
  83. jne .L3
  84. movl $_ZSt4cout, %edi
  85. call _ZNSo9_M_insertIdEERSoT_
  86. movq %rax, %rdi
  87. call _ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
  88. xorl %eax, %eax
  89. addq $640008, %rsp
  90. .cfi_def_cfa_offset 8
  91. ret
  92. .cfi_endproc
  93. .LFE3085:
  94. .size main, .-main
  95. .p2align 4,,15
  96. .type _GLOBAL__sub_I_main, @function
  97. _GLOBAL__sub_I_main:
  98. .LFB3290:
  99. .cfi_startproc
  100. subq $8, %rsp
  101. .cfi_def_cfa_offset 16
  102. movl $_ZStL8__ioinit, %edi
  103. call _ZNSt8ios_base4InitC1Ev
  104. movl $__dso_handle, %edx
  105. movl $_ZStL8__ioinit, %esi
  106. movl $_ZNSt8ios_base4InitD1Ev, %edi
  107. addq $8, %rsp
  108. .cfi_def_cfa_offset 8
  109. jmp __cxa_atexit
  110. .cfi_endproc
  111. .LFE3290:
  112. .size _GLOBAL__sub_I_main, .-_GLOBAL__sub_I_main
  113. .section .init_array,"aw"
  114. .align 8
  115. .quad _GLOBAL__sub_I_main
  116. .local _ZStL8__ioinit
  117. .comm _ZStL8__ioinit,1,1
  118. .hidden __dso_handle
  119. .ident "GCC: (Ubuntu/Linaro 4.7.0-7ubuntu3) 4.7.0"
  120. .section .note.GNU-stack,"",@progbits
  121.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout

Standard output is empty