Advertisement
prat3492

Untitled

Sep 10th, 2015
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ARM 0.96 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, 2
  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.     lsls    r3, r2, #31
  26.     bpl .L2
  27.     lsls    r2, r2, #30
  28.     push    {r4}
  29.     ldrb    r4, [r1]    @ zero_extendqisi2
  30.     bpl .L14
  31.     ldrh    r2, [r1, #1]
  32.     adds    r3, r0, #1
  33.     strb    r4, [r0]
  34.     ldr r4, [sp], #4
  35.     strh    r2, [r3]    @ movhi
  36.     bx  lr
  37. .L2:
  38.     lsls    r3, r2, #30
  39.     bpl .L15
  40.     ldrh    r2, [r1]
  41.     strh    r2, [r0]    @ movhi
  42.     bx  lr
  43. .L15:
  44.     bx  lr
  45. .L14:
  46.     strb    r4, [r0]
  47.     ldr r4, [sp], #4
  48.     bx  lr
  49.     .size   f2, .-f2
  50.     .ident  "GCC: (GNU) 6.0.0 20150904 (experimental)"
  51.     .section    .note.GNU-stack,"",%progbits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement