aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/stm32l4xx-fix-all.s
blob: 0c1826670ff5cc17416856cdba2003b2e6ec1c2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
        .syntax unified
        .cpu cortex-m4
        .fpu fpv4-sp-d16
        .text
        .align  1
        .thumb
        .thumb_func
        .global _start
_start:
        @ All LDM treatments for word acces <= 8 go through the same
        @ replication code, but decoding may vary
        ldm.w  r9, {r1-r8}
        ldm.w  r9!, {r1-r8}
        ldmdb.w r9, {r1-r8}
        ldmdb.w r9!, {r1-r8}
        pop {r1-r8}

        @ All VLDM treatments for word acces <= 8 go through the same
        @ replication code, but decoding may vary
        vldm r9, {s1-s8}
        vldm r6!, {s9-s16}
        vpop {s1-s8}