Guest User

Not Optimized

a guest
Jan 23rd, 2014
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ARM 6.10 KB | None | 0 0
  1.    1                    .syntax unified
  2.    2                    .cpu cortex-m4
  3.    3                    .fpu softvfp
  4.    4                    .eabi_attribute 20, 1   @ Tag_ABI_FP_denormal
  5.    5                    .eabi_attribute 21, 1   @ Tag_ABI_FP_exceptions
  6.    6                    .eabi_attribute 23, 3   @ Tag_ABI_FP_number_model
  7.    7                    .eabi_attribute 24, 1   @ Tag_ABI_align8_needed
  8.    8                    .eabi_attribute 25, 1   @ Tag_ABI_align8_preserved
  9.    9                    .eabi_attribute 26, 1   @ Tag_ABI_enum_size
  10.   10                    .eabi_attribute 30, 6   @ Tag_ABI_optimization_goals
  11.   11                    .eabi_attribute 34, 1   @ Tag_CPU_unaligned_access
  12.   12                    .file   "start.d"
  13.   13                @ GNU D (GCC) version 4.8.2 (arm-none-eabi)
  14.   14                @   compiled by GNU C version 4.8.2, GMP version 5.1.3, MPFR version 3.1.2-p5, MPC version 1.0.1
  15.   15                @ GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
  16.   16                @ options passed:  source/start.d -mthumb -mcpu=cortex-m4
  17.   17                @ -fno-emit-moduleinfo -ffunction-sections -fdata-sections
  18.   18                @ -fdump-tree-optimized -fverbose-asm -I source
  19.   19                @ options enabled:  -faggressive-loop-optimizations -fauto-inc-dec
  20.   20                @ -fbranch-count-reg -fcommon -fdata-sections -fdelete-null-pointer-checks
  21.   21                @ -fdwarf2-cfi-asm -fearly-inlining -feliminate-unused-debug-types
  22.   22                @ -fexceptions -ffunction-cse -ffunction-sections -fgcse-lm -fgnu-runtime
  23.   23                @ -fident -finline-atomics -fira-hoist-pressure -fira-share-save-slots
  24.   24                @ -fira-share-spill-slots -fivopts -fkeep-static-consts
  25.   25                @ -fleading-underscore -fmerge-debug-strings -fmove-loop-invariants
  26.   26                @ -fpeephole -fprefetch-loop-arrays -freg-struct-return
  27.   27                @ -fsched-critical-path-heuristic -fsched-dep-count-heuristic
  28.   28                @ -fsched-group-heuristic -fsched-interblock -fsched-last-insn-heuristic
  29.   29                @ -fsched-rank-heuristic -fsched-spec -fsched-spec-insn-heuristic
  30.   30                @ -fsched-stalled-insns-dep -fshow-column -fsigned-zeros
  31.   31                @ -fsplit-ivs-in-unroller -fstrict-volatile-bitfields -fsync-libcalls
  32.   32                @ -ftrapping-math -ftree-coalesce-vars -ftree-cselim -ftree-forwprop
  33.   33                @ -ftree-loop-if-convert -ftree-loop-im -ftree-loop-ivcanon
  34.   34                @ -ftree-loop-optimize -ftree-parallelize-loops= -ftree-phiprop -ftree-pta
  35.   35                @ -ftree-reassoc -ftree-scev-cprop -ftree-slp-vectorize
  36.   36                @ -ftree-vect-loop-version -funit-at-a-time -fverbose-asm
  37.   37                @ -fzero-initialized-in-bss -mlittle-endian -msched-prolog -mthumb
  38.   38                @ -munaligned-access -mvectorize-with-neon-quad
  39.   39               
  40.   40                    .global ResetHandler
  41.   41                    .section    .rodata.ResetHandler,"a",%progbits
  42.   42                    .align  2
  43.   45                ResetHandler:
  44.   46 0000 00000000      .word   OnReset
  45.   47                    .section    .text._D5start11SendCommandFiPvZv,"ax",%progbits
  46.   48                    .align  2
  47.   49                    .global _D5start11SendCommandFiPvZv
  48.   50                    .thumb
  49.   51                    .thumb_func
  50.   53                _D5start11SendCommandFiPvZv:
  51.   54                    .fnstart
  52.   55                .LFB0:
  53.   56                    @ args = 0, pretend = 0, frame = 8
  54.   57                    @ frame_needed = 1, uses_anonymous_args = 0
  55.   58                    @ link register save eliminated.
  56.   59 0000 80B4          push    {r7}    @
  57.   60 0002 83B0          sub sp, sp, #12 @,,
  58.   61 0004 00AF          add r7, sp, #0  @,,
  59.   62 0006 7860          str r0, [r7, #4]    @ command, command
  60.   63 0008 3960          str r1, [r7]    @ message, message
  61.   64 000a 7B68          ldr r3, [r7, #4]    @ tmp110, command
  62.   65 000c 3A68          ldr r2, [r7]    @ tmp111, message
  63.   66                @ 32 "source/start.d" 1
  64.   67 000e 1846          mov r0, r3;     @ tmp110
  65.   68 0010 1146             mov r1, r2;  @ tmp111
  66.   69 0012 ABBE             bkpt #0xAB
  67.   70                @ 0 "" 2
  68.   71                    .thumb
  69.   72 0014 0C37          adds    r7, r7, #12 @,,
  70.   73 0016 BD46          mov sp, r7  @,
  71.   74                    @ sp needed @
  72.   75 0018 5DF8047B      ldr r7, [sp], #4    @,
  73.   76 001c 7047          bx  lr  @
  74.   77                    .cantunwind
  75.   78                    .fnend
  76.   80 001e 00BF          .section    .rodata
  77.   81                    .align  2
  78.   82                .LC0:
  79.   83 0000 48656C6C      .ascii  "Hello, World!\015\012\000"
  80.   83      6F2C2057
  81.   83      6F726C64
  82.   83      210D0A00
  83.   84                    .align  2
  84.   85                .LC1:
  85.   86 0010 02000000      .word   2
  86.   87 0014 00000000      .word   .LC0
  87.   88 0018 0F000000      .word   15
  88.   89                    .section    .text.OnReset,"ax",%progbits
  89.   90                    .align  2
  90.   91                    .global OnReset
  91.   92                    .thumb
  92.   93                    .thumb_func
  93.   95                OnReset:
  94.   96                    .fnstart
  95.   97                .LFB1:
  96.   98                    @ args = 0, pretend = 0, frame = 16
  97.   99                    @ frame_needed = 1, uses_anonymous_args = 0
  98.  100 0000 90B5          push    {r4, r7, lr}    @
  99.  101 0002 85B0          sub sp, sp, #20 @,,
  100.  102 0004 00AF          add r7, sp, #0  @,,
  101.  103 0006 40F20003      movw    r3, #:lower16:.LC1  @ tmp111,
  102.  104 000a C0F20003      movt    r3, #:upper16:.LC1  @ tmp111,
  103.  105 000e 3C1D          adds    r4, r7, #4  @ tmp112,,
  104.  106 0010 93E80700      ldmia   r3, {r0, r1, r2}    @ tmp113,,,
  105.  107 0014 84E80700      stmia   r4, {r0, r1, r2}    @ tmp112,,,
  106.  108                .L4:
  107.  109 0018 0023          movs    r3, #0  @ D.3568,
  108.  110 001a 002B          cmp r3, #0  @ D.3568,
  109.  111 001c 05D1          bne .L2 @,
  110.  112 001e 3B1D          adds    r3, r7, #4  @ tmp114,,
  111.  113 0020 0520          movs    r0, #5  @,
  112.  114 0022 1946          mov r1, r3  @, tmp114
  113.  115 0024 FFF7FEFF      bl  _D5start11SendCommandFiPvZv @
  114.  116 0028 F6E7          b   .L4 @
  115.  117                .L2:
  116.  118 002a 1437          adds    r7, r7, #20 @,,
  117.  119 002c BD46          mov sp, r7  @,
  118.  120                    @ sp needed @
  119.  121 002e 90BD          pop {r4, r7, pc}    @
  120.  122                    .cantunwind
  121.  123                    .fnend
  122.  125                    .ident  "GCC: (GNU) 4.8.2"
Advertisement
Add Comment
Please, Sign In to add comment