File: mve-lol.txt

package info (click to toggle)
swiftlang 6.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,519,992 kB
  • sloc: cpp: 9,107,863; ansic: 2,040,022; asm: 1,135,751; python: 296,500; objc: 82,456; f90: 60,502; lisp: 34,951; pascal: 19,946; sh: 18,133; perl: 7,482; ml: 4,937; javascript: 4,117; makefile: 3,840; awk: 3,535; xml: 914; fortran: 619; cs: 573; ruby: 573
file content (51 lines) | stat: -rw-r--r-- 1,432 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# RUN: llvm-mc -assemble -triple=thumbv8.1m.main -mattr=+mve -filetype=obj %s -o - 2>&1 | \
# RUN:   llvm-objdump --no-print-imm-hex -d -r --triple=thumbv8.1m.main --mattr=+mve - | FileCheck %s

# Test to check that we can evaluate branches and their targets, i.e.
# checking that we see branch targets annotations like <foo+0xc> in the
# disassembly.

foo:
# CHECK:  wls lr, r3, 0xc <foo+0xc>          @ imm = #8
# CHECK:  vmov  q0, q1
# CHECK:  le  lr, 0x4 <foo+0x4>              @ imm = #-8

          wls lr, r3, #8
          vmov  q0, q1
          le  lr, #-8


# CHECK:  wlstp.8 lr, r3, 0x18 <foo+0x18>    @ imm = #8
# CHECK:  vmov  q0, q1
# CHECK:  letp  lr, 0x10 <foo+0x10>          @ imm = #-8

          wlstp.8  lr, r3, #8
          vmov  q0, q1
          letp  lr, #-8


# CHECK:  wlstp.16  lr, r3, 0x24 <foo+0x24>  @ imm = #8
# CHECK:  vmov  q0, q1
# CHECK:  letp  lr, 0x1c <foo+0x1c>          @ imm = #-8

          wlstp.16  lr, r3, #8
          vmov  q0, q1
          letp  lr, #-8


# CHECK:  wlstp.32  lr, r3, 0x30 <foo+0x30>  @ imm = #8
# CHECK:  vmov  q0, q1
# CHECK:  letp  lr, 0x28 <foo+0x28>          @ imm = #-8

          wlstp.32  lr, r3, #8
          vmov  q0, q1
          letp  lr, #-8


# CHECK:  wlstp.64  lr, r3, 0x3c <foo+0x3c>  @ imm = #8
# CHECK:  vmov  q0, q1
# CHECK:  letp  lr, 0x34 <foo+0x34>          @ imm = #-8

          wlstp.64  lr, r3, #8
          vmov  q0, q1
          letp  lr, #-8