Advertisement
prat3492

after.s

Sep 2nd, 2015
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ARM 0.99 KB | None | 0 0
  1.     .arch armv7-a
  2.     .eabi_attribute 28, 1
  3.     .fpu vfpv3-d16
  4.     .eabi_attribute 20, 1
  5.     .eabi_attribute 21, 1
  6.     .eabi_attribute 23, 3
  7.     .eabi_attribute 24, 1
  8.     .eabi_attribute 25, 1
  9.     .eabi_attribute 26, 2
  10.     .eabi_attribute 30, 1
  11.     .eabi_attribute 34, 1
  12.     .eabi_attribute 18, 4
  13.     .file   "test-777.c"
  14.     .text
  15.     .align  2
  16.     .global f2
  17.     .syntax unified
  18.     .thumb
  19.     .thumb_func
  20.     .type   f2, %function
  21. f2:
  22.     @ args = 0, pretend = 0, frame = 0
  23.     @ frame_needed = 0, uses_anonymous_args = 0
  24.     @ link register save eliminated.
  25.     push    {r4, r5}
  26.     tst r2, #1
  27.     beq .L2
  28.     adds    r5, r1, #1
  29.     ldrb    r3, [r1]    @ zero_extendqisi2
  30.     mov r4, r3
  31.     tst r2, #2
  32.     beq .L3
  33.     mov r1, r5
  34. .L7:
  35.     ldrh    r1, [r1]
  36.     tst r2, #1
  37.     itte    ne
  38.     addne   r3, r0, #1
  39.     strbne  r4, [r0]
  40.     moveq   r3, r0
  41.     strh    r1, [r3]    @ movhi
  42.     b   .L1
  43. .L3:
  44.     tst r2, #1
  45.     beq .L1
  46.     b   .L5
  47. .L2:
  48.     tst r2, #2
  49.     bne .L7
  50.     b   .L1
  51. .L5:
  52.     strb    r3, [r0]
  53. .L1:
  54.     pop {r4, r5}
  55.     bx  lr
  56.     .size   f2, .-f2
  57.     .ident  "GCC: (GNU) 6.0.0 20150902 (experimental)"
  58.     .section    .note.GNU-stack,"",%progbits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement