File: directive-insn-vector.s

package info (click to toggle)
llvm-toolchain-13 1%3A13.0.1-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,418,840 kB
  • sloc: cpp: 5,290,826; ansic: 996,570; asm: 544,593; python: 188,212; objc: 72,027; lisp: 30,291; f90: 25,395; sh: 24,898; javascript: 9,780; pascal: 9,398; perl: 7,484; ml: 5,432; awk: 3,523; makefile: 2,913; xml: 953; cs: 573; fortran: 539
file content (29 lines) | stat: -rw-r--r-- 1,043 bytes parent folder | download | duplicates (21)
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
# RUN: llvm-mc -triple s390x-linux-gnu -filetype=obj %s | \
# RUN: llvm-objdump --mcpu=z14 -d - | FileCheck %s

# Test the .insn directive for vector instructions.

#CHECK: e7 23 2f ff 10 13     vgef    %v2, 4095(%v3,%r2), 1
  .insn vrv,0xe70000000013,%v2,4095(%v3,%r2),1

#CHECK: e7 56 ff f1 20 4a     vftci   %v5, %v6, 4095, 2, 1
  .insn vri,0xe7000000004a,%v5,%v6,4095,2,1

#CHECK: e7 20 2f ff 30 06     vl      %v2, 4095(%r2), 3
  .insn vrx,0xe70000000006,%v2,4095(%r2),3

#CHECK: e7 16 00 01 00 21     vlgvb   %r1, %v6, 1
  .insn vrs,0xe70000003021,%r1,%v6,1(%r0),0
#CHECK: e7 16 00 00 30 21     vlgvg   %r1, %v6, 0
  .insn vrs,0xe70000003021,%r1,%v6,0(%r0),3

#CHECK: e7 37 00 00 00 56     vlr     %v3, %v7
  .insn vrr,0xe70000000056,%v3,%v7,0,0,0,0
#CHECK: e7 37 60 18 30 eb     wfchdbs %f3, %f7, %f6
  .insn vrr,0xe700000000eb,%v3,%v7,%v6,3,8,1

#CHECK: e6 0c 20 0c 01 35     vlrl    %v16, 12(%r2), 12
  .insn vsi,0xe60000000035,%v16,12(%r2),12

#CHECK: e7 01 00 00 0c 56     vlr     %v16, %v17
 .insn vrr,0xe70000000056,16,17,0,0,0,0