performance/ocw/1/c-primer/sizes.s

476 lines
6.7 KiB
ArmAsm

.file "sizes.c"
.text
.Ltext0:
.file 0 "/home/frozen/dev/performance-engineering-ocw/1/c-primer" "sizes.c"
.section .rodata
.LC0:
.string "size of int : %zu bytes \n"
.LC1:
.string "size of you : %zu bytes \n"
.text
.globl main
.type main, @function
main:
.LFB6:
.file 1 "sizes.c"
.loc 1 9 12
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $48, %rsp
.loc 1 9 12
movq %fs:40, %rax
movq %rax, -8(%rbp)
xorl %eax, %eax
.loc 1 18 3
leaq .LC0(%rip), %rax
movl $4, %esi
movq %rax, %rdi
movl $0, %eax
call printf@PLT
.loc 1 35 10
movl $12345, -40(%rbp)
.loc 1 36 12
movl $4, -36(%rbp)
.loc 1 43 3
leaq .LC1(%rip), %rax
movl $8, %esi
movq %rax, %rdi
movl $0, %eax
call printf@PLT
.loc 1 45 10
movl $0, %eax
.loc 1 46 1
movq -8(%rbp), %rdx
subq %fs:40, %rdx
je .L3
call __stack_chk_fail@PLT
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE6:
.size main, .-main
.Letext0:
.file 2 "/usr/include/stdio.h"
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0x118
.value 0x5
.byte 0x1
.byte 0x8
.long .Ldebug_abbrev0
.uleb128 0x3
.long .LASF13
.byte 0x1d
.byte 0x3
.long 0x31647
.long .LASF0
.long .LASF1
.quad .Ltext0
.quad .Letext0-.Ltext0
.long .Ldebug_line0
.uleb128 0x1
.byte 0x8
.byte 0x7
.long .LASF2
.uleb128 0x1
.byte 0x4
.byte 0x7
.long .LASF3
.uleb128 0x1
.byte 0x1
.byte 0x8
.long .LASF4
.uleb128 0x1
.byte 0x2
.byte 0x7
.long .LASF5
.uleb128 0x1
.byte 0x1
.byte 0x6
.long .LASF6
.uleb128 0x1
.byte 0x2
.byte 0x5
.long .LASF7
.uleb128 0x4
.byte 0x4
.byte 0x5
.string "int"
.uleb128 0x1
.byte 0x8
.byte 0x5
.long .LASF8
.uleb128 0x1
.byte 0x1
.byte 0x6
.long .LASF9
.uleb128 0x5
.long 0x6b
.uleb128 0x6
.byte 0x8
.long 0x72
.uleb128 0x1
.byte 0x8
.byte 0x5
.long .LASF10
.uleb128 0x1
.byte 0x8
.byte 0x7
.long .LASF11
.uleb128 0x7
.long .LASF14
.byte 0x2
.value 0x16b
.byte 0xc
.long 0x5d
.long 0xa3
.uleb128 0x8
.long 0x77
.uleb128 0x9
.byte 0
.uleb128 0xa
.long .LASF15
.byte 0x1
.byte 0x9
.byte 0x5
.long 0x5d
.quad .LFB6
.quad .LFE6-.LFB6
.uleb128 0x1
.byte 0x9c
.long 0x10f
.uleb128 0xb
.byte 0x8
.byte 0x1
.byte 0x1d
.byte 0xb
.long 0xe8
.uleb128 0xc
.string "id"
.byte 0x1
.byte 0x1e
.byte 0x9
.long 0x5d
.byte 0
.uleb128 0xd
.long .LASF12
.byte 0x1
.byte 0x1f
.byte 0x9
.long 0x5d
.byte 0x4
.byte 0
.uleb128 0xe
.long .LASF16
.byte 0x1
.byte 0x20
.byte 0x5
.long 0xc5
.uleb128 0x2
.string "you"
.byte 0x22
.byte 0xb
.long 0xe8
.uleb128 0x2
.byte 0x91
.sleb128 -56
.uleb128 0x2
.string "x"
.byte 0x28
.byte 0x7
.long 0x10f
.uleb128 0x2
.byte 0x91
.sleb128 -48
.byte 0
.uleb128 0xf
.long 0x5d
.uleb128 0x10
.long 0x33
.byte 0x4
.byte 0
.byte 0
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1
.uleb128 0x24
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.byte 0
.byte 0
.uleb128 0x2
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0x21
.sleb128 1
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x39
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0x18
.byte 0
.byte 0
.uleb128 0x3
.uleb128 0x11
.byte 0x1
.uleb128 0x25
.uleb128 0xe
.uleb128 0x13
.uleb128 0xb
.uleb128 0x90
.uleb128 0xb
.uleb128 0x91
.uleb128 0x6
.uleb128 0x3
.uleb128 0x1f
.uleb128 0x1b
.uleb128 0x1f
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x7
.uleb128 0x10
.uleb128 0x17
.byte 0
.byte 0
.uleb128 0x4
.uleb128 0x24
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0x8
.byte 0
.byte 0
.uleb128 0x5
.uleb128 0x26
.byte 0
.uleb128 0x49
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x6
.uleb128 0xf
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x7
.uleb128 0x2e
.byte 0x1
.uleb128 0x3f
.uleb128 0x19
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0x5
.uleb128 0x39
.uleb128 0xb
.uleb128 0x27
.uleb128 0x19
.uleb128 0x49
.uleb128 0x13
.uleb128 0x3c
.uleb128 0x19
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x8
.uleb128 0x5
.byte 0
.uleb128 0x49
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x9
.uleb128 0x18
.byte 0
.byte 0
.byte 0
.uleb128 0xa
.uleb128 0x2e
.byte 0x1
.uleb128 0x3f
.uleb128 0x19
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x39
.uleb128 0xb
.uleb128 0x27
.uleb128 0x19
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x7
.uleb128 0x40
.uleb128 0x18
.uleb128 0x7c
.uleb128 0x19
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0xb
.uleb128 0x13
.byte 0x1
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x39
.uleb128 0xb
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0xc
.uleb128 0xd
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x39
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x38
.uleb128 0xb
.byte 0
.byte 0
.uleb128 0xd
.uleb128 0xd
.byte 0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x39
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x38
.uleb128 0xb
.byte 0
.byte 0
.uleb128 0xe
.uleb128 0x16
.byte 0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x39
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0xf
.uleb128 0x1
.byte 0x1
.uleb128 0x49
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x10
.uleb128 0x21
.byte 0
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2f
.uleb128 0xb
.byte 0
.byte 0
.byte 0
.section .debug_aranges,"",@progbits
.long 0x2c
.value 0x2
.long .Ldebug_info0
.byte 0x8
.byte 0
.value 0
.value 0
.quad .Ltext0
.quad .Letext0-.Ltext0
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF10:
.string "long long int"
.LASF3:
.string "unsigned int"
.LASF15:
.string "main"
.LASF13:
.string "GNU C23 15.1.1 20250425 -mtune=generic -march=x86-64 -g -O0"
.LASF2:
.string "long unsigned int"
.LASF11:
.string "long long unsigned int"
.LASF4:
.string "unsigned char"
.LASF9:
.string "char"
.LASF8:
.string "long int"
.LASF16:
.string "student"
.LASF12:
.string "year"
.LASF5:
.string "short unsigned int"
.LASF14:
.string "printf"
.LASF7:
.string "short int"
.LASF6:
.string "signed char"
.section .debug_line_str,"MS",@progbits,1
.LASF0:
.string "sizes.c"
.LASF1:
.string "/home/frozen/dev/performance-engineering-ocw/1/c-primer"
.ident "GCC: (GNU) 15.1.1 20250425"
.section .note.GNU-stack,"",@progbits