| # mark_description "Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 18.0.0.128 Build 20170811"; |
| # mark_description "-g -o /tmp/compiler-explorer-compiler1171120-54-1t2ppc6.m4k6/output.s -masm=intel -S -gxx-name=/opt/compiler"; |
| # mark_description "-explorer/gcc-6.3.0/bin/g++"; |
| # -- Begin _Z6squarei |
| # mark_begin; |
| |
| # --- square(int) |
| _Z6squarei: |
| # parameter 1(num): edi |
| # Execution count [0.00e+00] |
| #2.21 |
| push rbp #2.21 |
| mov rbp, rsp #2.21 |
| sub rsp, 16 #2.21 |
| mov DWORD PTR [-16+rbp], edi #2.21 |
| # LOE rbx rbp rsp r12 r13 r14 r15 rip |
| # Execution count [0.00e+00] |
| # Begin ASM |
| # Begin ASM |
| # End ASM #3.0 |
| # End ASM |
| # LOE rbx rbp rsp r12 r13 r14 r15 rip |
| # Execution count [0.00e+00] |
| mov eax, DWORD PTR [-16+rbp] #4.18 |
| imul eax, DWORD PTR [-16+rbp] #4.18 |
| leave #4.18 |
| ret #4.18 |
| # LOE |
| # mark_end; |
| # -- End _Z6squarei |
| // -- Begin DWARF2 SEGMENT .debug_info |
| // DW_TAG_compile_unit: |
| // DW_AT_comp_dir: |
| // DW_AT_name: |
| // DW_AT_producer: |
| // DW_AT_language: |
| // DW_AT_use_UTF8: |
| // DW_AT_low_pc: |
| // DW_AT_high_pc: |
| // DW_AT_stmt_list: |
| // DW_TAG_namespace: |
| // DW_AT_name: |
| // DW_TAG_namespace: |
| // DW_AT_name: |
| // DW_TAG_namespace: |
| // DW_AT_name: |
| // DW_TAG_base_type: |
| // DW_AT_byte_size: |
| // DW_AT_encoding: |
| // DW_AT_name: |
| // DW_TAG_subprogram: |
| // DW_AT_decl_line: |
| // DW_AT_decl_file: |
| // DW_AT_type: |
| // DW_AT_name: |
| // DW_AT_low_pc: |
| // DW_AT_high_pc: |
| // DW_AT_external: |
| // DW_TAG_formal_parameter: |
| // DW_AT_decl_line: |
| // DW_AT_decl_file: |
| // DW_AT_type: |
| // DW_AT_name: |
| // DW_AT_location: |
| // -- Begin DWARF2 SEGMENT .debug_line |
| // -- Begin DWARF2 SEGMENT .debug_abbrev |
| // -- Begin DWARF2 SEGMENT .debug_frame |
| // -- Begin DWARF2 SEGMENT .debug_str |
| // -- Begin DWARF2 SEGMENT .eh_frame |
| # End |