fork download
  1. .file "arry.cpp"
  2. .section .text._ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IdSaIdEESaIS1_EED5Ev,comdat
  3. .align 2
  4. .p2align 4,,15
  5. .weak _ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
  6. .type _ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev, @function
  7. _ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev:
  8. .LFB3166:
  9. .cfi_startproc
  10. pushq %r12
  11. .cfi_def_cfa_offset 16
  12. .cfi_offset 12, -16
  13. movq %rdi, %r12
  14. pushq %rbp
  15. .cfi_def_cfa_offset 24
  16. .cfi_offset 6, -24
  17. pushq %rbx
  18. .cfi_def_cfa_offset 32
  19. .cfi_offset 3, -32
  20. movq 8(%rdi), %rbp
  21. movq (%rdi), %rbx
  22. cmpq %rbx, %rbp
  23. je .L2
  24. .p2align 4,,10
  25. .p2align 3
  26. .L8:
  27. movq (%rbx), %rdi
  28. testq %rdi, %rdi
  29. je .L3
  30. call _ZdlPv
  31. .L3:
  32. addq $24, %rbx
  33. cmpq %rbx, %rbp
  34. jne .L8
  35. movq (%r12), %rbx
  36. .L2:
  37. testq %rbx, %rbx
  38. je .L1
  39. movq %rbx, %rdi
  40. popq %rbx
  41. .cfi_remember_state
  42. .cfi_def_cfa_offset 24
  43. popq %rbp
  44. .cfi_def_cfa_offset 16
  45. popq %r12
  46. .cfi_def_cfa_offset 8
  47. jmp _ZdlPv
  48. .p2align 4,,10
  49. .p2align 3
  50. .L1:
  51. .cfi_restore_state
  52. popq %rbx
  53. .cfi_def_cfa_offset 24
  54. popq %rbp
  55. .cfi_def_cfa_offset 16
  56. popq %r12
  57. .cfi_def_cfa_offset 8
  58. ret
  59. .cfi_endproc
  60. .LFE3166:
  61. .size _ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev, .-_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
  62. .weak _ZNSt6vectorIS_IdSaIdEESaIS1_EED1Ev
  63. .set _ZNSt6vectorIS_IdSaIdEESaIS1_EED1Ev,_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
  64. .section .text._ZNSt22__uninitialized_fill_nILb0EE15__uninit_fill_nIPSt6vectorIdSaIdEEmS4_EEvT_T0_RKT1_,"axG",@progbits,_ZNSt22__uninitialized_fill_nILb0EE15__uninit_fill_nIPSt6vectorIdSaIdEEmS4_EEvT_T0_RKT1_,comdat
  65. .p2align 4,,15
  66. .weak _ZNSt22__uninitialized_fill_nILb0EE15__uninit_fill_nIPSt6vectorIdSaIdEEmS4_EEvT_T0_RKT1_
  67. .type _ZNSt22__uninitialized_fill_nILb0EE15__uninit_fill_nIPSt6vectorIdSaIdEEmS4_EEvT_T0_RKT1_, @function
  68. _ZNSt22__uninitialized_fill_nILb0EE15__uninit_fill_nIPSt6vectorIdSaIdEEmS4_EEvT_T0_RKT1_:
  69. .LFB3363:
  70. .cfi_startproc
  71. .cfi_personality 0x3,__gxx_personality_v0
  72. .cfi_lsda 0x3,.LLSDA3363
  73. pushq %r15
  74. .cfi_def_cfa_offset 16
  75. .cfi_offset 15, -16
  76. pushq %r14
  77. .cfi_def_cfa_offset 24
  78. .cfi_offset 14, -24
  79. pushq %r13
  80. .cfi_def_cfa_offset 32
  81. .cfi_offset 13, -32
  82. movabsq $2305843009213693951, %r13
  83. pushq %r12
  84. .cfi_def_cfa_offset 40
  85. .cfi_offset 12, -40
  86. movq %rsi, %r12
  87. pushq %rbp
  88. .cfi_def_cfa_offset 48
  89. .cfi_offset 6, -48
  90. movq %rdx, %rbp
  91. pushq %rbx
  92. .cfi_def_cfa_offset 56
  93. .cfi_offset 3, -56
  94. movq %rdi, %rbx
  95. subq $24, %rsp
  96. .cfi_def_cfa_offset 80
  97. testq %rsi, %rsi
  98. movq %rdi, 8(%rsp)
  99. jne .L36
  100. jmp .L13
  101. .p2align 4,,10
  102. .p2align 3
  103. .L44:
  104. cmpq %r13, %rax
  105. ja .L43
  106. leaq 0(,%rax,8), %r15
  107. movq %r15, %rdi
  108. .LEHB0:
  109. call _Znwm
  110. movq %rax, %r14
  111. .L16:
  112. addq %r14, %r15
  113. movq %r14, (%rbx)
  114. movq %r14, 8(%rbx)
  115. movq %r15, 16(%rbx)
  116. movq 0(%rbp), %rsi
  117. xorl %r15d, %r15d
  118. movq 8(%rbp), %rcx
  119. subq %rsi, %rcx
  120. sarq $3, %rcx
  121. testq %rcx, %rcx
  122. je .L18
  123. leaq 0(,%rcx,8), %r15
  124. movq %r14, %rdi
  125. movq %r15, %rdx
  126. call memmove
  127. .L18:
  128. leaq (%r14,%r15), %r8
  129. movq %r8, 8(%rbx)
  130. .L15:
  131. addq $24, %rbx
  132. subq $1, %r12
  133. je .L13
  134. .L36:
  135. testq %rbx, %rbx
  136. je .L15
  137. movq 8(%rbp), %rax
  138. subq 0(%rbp), %rax
  139. movq $0, (%rbx)
  140. movq $0, 8(%rbx)
  141. movq $0, 16(%rbx)
  142. sarq $3, %rax
  143. testq %rax, %rax
  144. jne .L44
  145. xorl %r15d, %r15d
  146. xorl %r14d, %r14d
  147. jmp .L16
  148. .p2align 4,,10
  149. .p2align 3
  150. .L13:
  151. addq $24, %rsp
  152. .cfi_remember_state
  153. .cfi_def_cfa_offset 56
  154. popq %rbx
  155. .cfi_def_cfa_offset 48
  156. popq %rbp
  157. .cfi_def_cfa_offset 40
  158. popq %r12
  159. .cfi_def_cfa_offset 32
  160. popq %r13
  161. .cfi_def_cfa_offset 24
  162. popq %r14
  163. .cfi_def_cfa_offset 16
  164. popq %r15
  165. .cfi_def_cfa_offset 8
  166. ret
  167. .L43:
  168. .cfi_restore_state
  169. call _ZSt17__throw_bad_allocv
  170. .LEHE0:
  171. .L29:
  172. movq %rax, %rdi
  173. call __cxa_begin_catch
  174. cmpq %rbx, 8(%rsp)
  175. je .L26
  176. .L35:
  177. movq 8(%rsp), %rax
  178. movq (%rax), %rdi
  179. testq %rdi, %rdi
  180. je .L24
  181. call _ZdlPv
  182. .L24:
  183. addq $24, 8(%rsp)
  184. cmpq %rbx, 8(%rsp)
  185. jne .L35
  186. .L26:
  187. .LEHB1:
  188. call __cxa_rethrow
  189. .LEHE1:
  190. .L30:
  191. movq %rax, %rbx
  192. call __cxa_end_catch
  193. movq %rbx, %rdi
  194. .LEHB2:
  195. call _Unwind_Resume
  196. .LEHE2:
  197. .cfi_endproc
  198. .LFE3363:
  199. .globl __gxx_personality_v0
  200. .section .gcc_except_table,"a",@progbits
  201. .align 4
  202. .LLSDA3363:
  203. .byte 0xff
  204. .byte 0x3
  205. .uleb128 .LLSDATT3363-.LLSDATTD3363
  206. .LLSDATTD3363:
  207. .byte 0x1
  208. .uleb128 .LLSDACSE3363-.LLSDACSB3363
  209. .LLSDACSB3363:
  210. .uleb128 .LEHB0-.LFB3363
  211. .uleb128 .LEHE0-.LEHB0
  212. .uleb128 .L29-.LFB3363
  213. .uleb128 0x1
  214. .uleb128 .LEHB1-.LFB3363
  215. .uleb128 .LEHE1-.LEHB1
  216. .uleb128 .L30-.LFB3363
  217. .uleb128 0
  218. .uleb128 .LEHB2-.LFB3363
  219. .uleb128 .LEHE2-.LEHB2
  220. .uleb128 0
  221. .uleb128 0
  222. .LLSDACSE3363:
  223. .byte 0x1
  224. .byte 0
  225. .align 4
  226. .long 0
  227.  
  228. .LLSDATT3363:
  229. .section .text._ZNSt22__uninitialized_fill_nILb0EE15__uninit_fill_nIPSt6vectorIdSaIdEEmS4_EEvT_T0_RKT1_,"axG",@progbits,_ZNSt22__uninitialized_fill_nILb0EE15__uninit_fill_nIPSt6vectorIdSaIdEEmS4_EEvT_T0_RKT1_,comdat
  230. .size _ZNSt22__uninitialized_fill_nILb0EE15__uninit_fill_nIPSt6vectorIdSaIdEEmS4_EEvT_T0_RKT1_, .-_ZNSt22__uninitialized_fill_nILb0EE15__uninit_fill_nIPSt6vectorIdSaIdEEmS4_EEvT_T0_RKT1_
  231. .section .rodata.str1.1,"aMS",@progbits,1
  232. .LC1:
  233. .string "constructed"
  234. .LC2:
  235. .string "arry.cpp"
  236. .LC3:
  237. .string "lhs.size() == rhs.size()"
  238. .section .text.startup,"ax",@progbits
  239. .p2align 4,,15
  240. .globl main
  241. .type main, @function
  242. main:
  243. .LFB3085:
  244. .cfi_startproc
  245. .cfi_personality 0x3,__gxx_personality_v0
  246. .cfi_lsda 0x3,.LLSDA3085
  247. pushq %rbp
  248. .cfi_def_cfa_offset 16
  249. .cfi_offset 6, -16
  250. movl $32, %edi
  251. pushq %rbx
  252. .cfi_def_cfa_offset 24
  253. .cfi_offset 3, -24
  254. subq $72, %rsp
  255. .cfi_def_cfa_offset 96
  256. movq $0, 32(%rsp)
  257. movq $0, 40(%rsp)
  258. movq $0, 48(%rsp)
  259. .LEHB3:
  260. call _Znwm
  261. .LEHE3:
  262. leaq 32(%rax), %rdx
  263. movq %rax, 32(%rsp)
  264. movq $0, 24(%rax)
  265. movl $480000, %edi
  266. movq %rdx, 48(%rsp)
  267. movq $0, (%rax)
  268. movq $0, 8(%rax)
  269. movq $0, 16(%rax)
  270. movq %rdx, 40(%rsp)
  271. movq $0, (%rsp)
  272. movq $0, 8(%rsp)
  273. movq $0, 16(%rsp)
  274. .LEHB4:
  275. call _Znwm
  276. .LEHE4:
  277. leaq 480000(%rax), %rdx
  278. movl $20000, %esi
  279. movq %rax, %rdi
  280. movq %rax, (%rsp)
  281. movq %rax, 8(%rsp)
  282. movq %rdx, 16(%rsp)
  283. leaq 32(%rsp), %rdx
  284. .LEHB5:
  285. call _ZNSt22__uninitialized_fill_nILb0EE15__uninit_fill_nIPSt6vectorIdSaIdEEmS4_EEvT_T0_RKT1_
  286. .LEHE5:
  287. movq 32(%rsp), %rdi
  288. movq 16(%rsp), %rax
  289. testq %rdi, %rdi
  290. movq %rax, 8(%rsp)
  291. je .L47
  292. call _ZdlPv
  293. .L47:
  294. movq (%rsp), %rcx
  295. xorl %eax, %eax
  296. .L51:
  297. cvtsi2sdq %rax, %xmm0
  298. movq (%rcx), %rdx
  299. leaq 1(%rax), %rsi
  300. addq $24, %rcx
  301. movsd %xmm0, (%rdx)
  302. cvtsi2sdq %rsi, %xmm0
  303. leaq 2(%rax), %rsi
  304. movsd %xmm0, 8(%rdx)
  305. cvtsi2sdq %rsi, %xmm0
  306. leaq 3(%rax), %rsi
  307. addq $4, %rax
  308. cmpq $80000, %rax
  309. movsd %xmm0, 16(%rdx)
  310. cvtsi2sdq %rsi, %xmm0
  311. movsd %xmm0, 24(%rdx)
  312. jne .L51
  313. movl $.LC1, %esi
  314. movl $_ZSt4cerr, %edi
  315. .LEHB6:
  316. call _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
  317. movq %rax, %rdi
  318. call _ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
  319. movq (%rsp), %r11
  320. xorpd %xmm0, %xmm0
  321. leaq 480000(%r11), %rbp
  322. leaq 8(%r11), %rbx
  323. leaq 480008(%r11), %r10
  324. movapd %xmm0, %xmm3
  325. .L52:
  326. movq (%r11), %rsi
  327. movq 8(%r11), %r9
  328. movq %rbx, %r8
  329. subq %rsi, %r9
  330. sarq $3, %r9
  331. leaq 1(%r9), %rdi
  332. .p2align 4,,10
  333. .p2align 3
  334. .L57:
  335. movq -8(%r8), %rcx
  336. movq (%r8), %rax
  337. subq %rcx, %rax
  338. sarq $3, %rax
  339. cmpq %rax, %r9
  340. jne .L53
  341. xorl %edx, %edx
  342. testq %r9, %r9
  343. movl $1, %eax
  344. movapd %xmm3, %xmm2
  345. je .L55
  346. .p2align 4,,10
  347. .p2align 3
  348. .L56:
  349. movsd (%rsi,%rdx,8), %xmm1
  350. subsd (%rcx,%rdx,8), %xmm1
  351. movq %rax, %rdx
  352. addq $1, %rax
  353. cmpq %rdi, %rax
  354. mulsd %xmm1, %xmm1
  355. addsd %xmm1, %xmm2
  356. jne .L56
  357. .L55:
  358. addq $24, %r8
  359. addsd %xmm2, %xmm0
  360. cmpq %r10, %r8
  361. jne .L57
  362. addq $24, %r11
  363. cmpq %rbp, %r11
  364. jne .L52
  365. movl $_ZSt4cout, %edi
  366. call _ZNSo9_M_insertIdEERSoT_
  367. movq %rax, %rdi
  368. call _ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
  369. .LEHE6:
  370. movq %rsp, %rdi
  371. call _ZNSt6vectorIS_IdSaIdEESaIS1_EED1Ev
  372. addq $72, %rsp
  373. .cfi_remember_state
  374. .cfi_def_cfa_offset 24
  375. xorl %eax, %eax
  376. popq %rbx
  377. .cfi_def_cfa_offset 16
  378. popq %rbp
  379. .cfi_def_cfa_offset 8
  380. ret
  381. .L63:
  382. .cfi_restore_state
  383. movq (%rsp), %rdi
  384. movq %rax, %rbx
  385. testq %rdi, %rdi
  386. je .L50
  387. call _ZdlPv
  388. .L50:
  389. movq 32(%rsp), %rdi
  390. testq %rdi, %rdi
  391. je .L76
  392. call _ZdlPv
  393. .L76:
  394. movq %rbx, %rdi
  395. .LEHB7:
  396. call _Unwind_Resume
  397. .LEHE7:
  398. .L61:
  399. movq %rax, %rbx
  400. jmp .L50
  401. .L53:
  402. movl $_ZZ12fast_sq_distISt6vectorIdSaIdEEEdRKT_S5_E19__PRETTY_FUNCTION__, %ecx
  403. movl $9, %edx
  404. movl $.LC2, %esi
  405. movl $.LC3, %edi
  406. call __assert_fail
  407. .L62:
  408. movq %rsp, %rdi
  409. movq %rax, %rbx
  410. call _ZNSt6vectorIS_IdSaIdEESaIS1_EED1Ev
  411. jmp .L76
  412. .cfi_endproc
  413. .LFE3085:
  414. .section .gcc_except_table
  415. .LLSDA3085:
  416. .byte 0xff
  417. .byte 0xff
  418. .byte 0x1
  419. .uleb128 .LLSDACSE3085-.LLSDACSB3085
  420. .LLSDACSB3085:
  421. .uleb128 .LEHB3-.LFB3085
  422. .uleb128 .LEHE3-.LEHB3
  423. .uleb128 0
  424. .uleb128 0
  425. .uleb128 .LEHB4-.LFB3085
  426. .uleb128 .LEHE4-.LEHB4
  427. .uleb128 .L61-.LFB3085
  428. .uleb128 0
  429. .uleb128 .LEHB5-.LFB3085
  430. .uleb128 .LEHE5-.LEHB5
  431. .uleb128 .L63-.LFB3085
  432. .uleb128 0
  433. .uleb128 .LEHB6-.LFB3085
  434. .uleb128 .LEHE6-.LEHB6
  435. .uleb128 .L62-.LFB3085
  436. .uleb128 0
  437. .uleb128 .LEHB7-.LFB3085
  438. .uleb128 .LEHE7-.LEHB7
  439. .uleb128 0
  440. .uleb128 0
  441. .LLSDACSE3085:
  442. .section .text.startup
  443. .size main, .-main
  444. .p2align 4,,15
  445. .type _GLOBAL__sub_I_main, @function
  446. _GLOBAL__sub_I_main:
  447. .LFB3429:
  448. .cfi_startproc
  449. subq $8, %rsp
  450. .cfi_def_cfa_offset 16
  451. movl $_ZStL8__ioinit, %edi
  452. call _ZNSt8ios_base4InitC1Ev
  453. movl $__dso_handle, %edx
  454. movl $_ZStL8__ioinit, %esi
  455. movl $_ZNSt8ios_base4InitD1Ev, %edi
  456. addq $8, %rsp
  457. .cfi_def_cfa_offset 8
  458. jmp __cxa_atexit
  459. .cfi_endproc
  460. .LFE3429:
  461. .size _GLOBAL__sub_I_main, .-_GLOBAL__sub_I_main
  462. .section .init_array,"aw"
  463. .align 8
  464. .quad _GLOBAL__sub_I_main
  465. .section .rodata
  466. .align 32
  467. .type _ZZ12fast_sq_distISt6vectorIdSaIdEEEdRKT_S5_E19__PRETTY_FUNCTION__, @object
  468. .size _ZZ12fast_sq_distISt6vectorIdSaIdEEEdRKT_S5_E19__PRETTY_FUNCTION__, 77
  469. _ZZ12fast_sq_distISt6vectorIdSaIdEEEdRKT_S5_E19__PRETTY_FUNCTION__:
  470. .string "double fast_sq_dist(const VEC&, const VEC&) [with VEC = std::vector<double>]"
  471. .local _ZStL8__ioinit
  472. .comm _ZStL8__ioinit,1,1
  473. .hidden __dso_handle
  474. .ident "GCC: (Ubuntu/Linaro 4.7.0-7ubuntu3) 4.7.0"
  475. .section .note.GNU-stack,"",@progbits
  476.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout

Standard output is empty