Guest User

Optimized

a guest
Jan 23rd, 2014
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ARM 6.54 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, 2   @ 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 -O3
  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 -fcaller-saves -fcombine-stack-adjustments -fcommon
  21.   21                @ -fcompare-elim -fcprop-registers -fcrossjumping -fcse-follow-jumps
  22.   22                @ -fdata-sections -fdefer-pop -fdelete-null-pointer-checks -fdevirtualize
  23.   23                @ -fdwarf2-cfi-asm -fearly-inlining -feliminate-unused-debug-types
  24.   24                @ -fexceptions -fexpensive-optimizations -fforward-propagate -ffunction-cse
  25.   25                @ -ffunction-sections -fgcse -fgcse-after-reload -fgcse-lm -fgnu-runtime
  26.   26                @ -fguess-branch-probability -fhoist-adjacent-loads -fident -fif-conversion
  27.   27                @ -fif-conversion2 -findirect-inlining -finline -finline-atomics
  28.   28                @ -finline-functions -finline-functions-called-once
  29.   29                @ -finline-small-functions -fipa-cp -fipa-cp-clone -fipa-profile
  30.   30                @ -fipa-pure-const -fipa-reference -fipa-sra -fira-hoist-pressure
  31.   31                @ -fira-share-save-slots -fira-share-spill-slots -fivopts
  32.   32                @ -fkeep-static-consts -fleading-underscore -fmerge-constants
  33.   33                @ -fmerge-debug-strings -fmove-loop-invariants -fomit-frame-pointer
  34.   34                @ -foptimize-register-move -foptimize-sibling-calls -foptimize-strlen
  35.   35                @ -fpartial-inlining -fpeephole -fpeephole2 -fpredictive-commoning
  36.   36                @ -fprefetch-loop-arrays -freg-struct-return -fregmove -freorder-blocks
  37.   37                @ -freorder-functions -frerun-cse-after-loop
  38.   38                @ -fsched-critical-path-heuristic -fsched-dep-count-heuristic
  39.   39                @ -fsched-group-heuristic -fsched-interblock -fsched-last-insn-heuristic
  40.   40                @ -fsched-pressure -fsched-rank-heuristic -fsched-spec
  41.   41                @ -fsched-spec-insn-heuristic -fsched-stalled-insns-dep -fschedule-insns
  42.   42                @ -fschedule-insns2 -fsection-anchors -fshow-column -fshrink-wrap
  43.   43                @ -fsigned-zeros -fsplit-ivs-in-unroller -fsplit-wide-types
  44.   44                @ -fstrict-aliasing -fstrict-overflow -fstrict-volatile-bitfields
  45.   45                @ -fsync-libcalls -fthread-jumps -ftoplevel-reorder -ftrapping-math
  46.   46                @ -ftree-bit-ccp -ftree-builtin-call-dce -ftree-ccp -ftree-ch
  47.   47                @ -ftree-coalesce-vars -ftree-copy-prop -ftree-copyrename -ftree-cselim
  48.   48                @ -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-forwprop -ftree-fre
  49.   49                @ -ftree-loop-distribute-patterns -ftree-loop-if-convert -ftree-loop-im
  50.   50                @ -ftree-loop-ivcanon -ftree-loop-optimize -ftree-parallelize-loops=
  51.   51                @ -ftree-partial-pre -ftree-phiprop -ftree-pre -ftree-pta -ftree-reassoc
  52.   52                @ -ftree-scev-cprop -ftree-sink -ftree-slp-vectorize -ftree-slsr -ftree-sra
  53.   53                @ -ftree-switch-conversion -ftree-tail-merge -ftree-ter
  54.   54                @ -ftree-vect-loop-version -ftree-vectorize -ftree-vrp -funit-at-a-time
  55.   55                @ -funswitch-loops -fvect-cost-model -fverbose-asm
  56.   56                @ -fzero-initialized-in-bss -mlittle-endian -msched-prolog -mthumb
  57.   57                @ -munaligned-access -mvectorize-with-neon-quad
  58.   58               
  59.   59                    .section    .text.OnReset,"ax",%progbits
  60.   60                    .align  2
  61.   61                    .global OnReset
  62.   62                    .thumb
  63.   63                    .thumb_func
  64.   65                OnReset:
  65.   66                    .fnstart
  66.   67                .LFB1:
  67.   68                    @ args = 0, pretend = 0, frame = 16
  68.   69                    @ frame_needed = 0, uses_anonymous_args = 0
  69.   70                    @ link register save eliminated.
  70.   71 0000 84B0          sub sp, sp, #16 @,,
  71.   72 0002 01AA          add r2, sp, #4  @ tmp112,,
  72.   73 0004 0523          movs    r3, #5  @ tmp113,
  73.   74                .L2:
  74.   75                @ 32 "source/start.d" 1
  75.   76 0006 1846          mov r0, r3;     @ tmp113
  76.   77 0008 1146             mov r1, r2;  @ tmp112
  77.   78 000a ABBE             bkpt #0xAB
  78.   79                @ 0 "" 2
  79.   80                    .thumb
  80.   81 000c FBE7          b   .L2 @
  81.   82                    .cantunwind
  82.   83                    .fnend
  83.   85 000e 00BF          .section    .text._D5start11SendCommandFiPvZv,"ax",%progbits
  84.   86                    .align  2
  85.   87                    .global _D5start11SendCommandFiPvZv
  86.   88                    .thumb
  87.   89                    .thumb_func
  88.   91                _D5start11SendCommandFiPvZv:
  89.   92                    .fnstart
  90.   93                .LFB0:
  91.   94                    @ args = 0, pretend = 0, frame = 0
  92.   95                    @ frame_needed = 0, uses_anonymous_args = 0
  93.   96                    @ link register save eliminated.
  94.   97 0000 0346          mov r3, r0  @ command, command
  95.   98 0002 0A46          mov r2, r1  @ message, message
  96.   99                @ 32 "source/start.d" 1
  97.  100 0004 1846          mov r0, r3;     @ command
  98.  101 0006 1146             mov r1, r2;  @ message
  99.  102 0008 ABBE             bkpt #0xAB
  100.  103                @ 0 "" 2
  101.  104                    .thumb
  102.  105 000a 7047          bx  lr  @
  103.  106                    .cantunwind
  104.  107                    .fnend
  105.  109                    .global ResetHandler
  106.  110                    .section    .rodata.ResetHandler,"a",%progbits
  107.  111                    .align  2
  108.  114                ResetHandler:
  109.  115 0000 00000000      .word   OnReset
  110.  116                    .ident  "GCC: (GNU) 4.8.2"
Advertisement
Add Comment
Please, Sign In to add comment