File: ssrlni.s

package info (click to toggle)
llvm-toolchain-18 1%3A18.1.8-18
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,908,340 kB
  • sloc: cpp: 6,667,937; ansic: 1,440,452; asm: 883,619; python: 230,549; objc: 76,880; f90: 74,238; lisp: 35,989; pascal: 16,571; sh: 10,229; perl: 7,459; ml: 5,047; awk: 3,523; makefile: 2,987; javascript: 2,149; xml: 892; fortran: 649; cs: 573
file content (36 lines) | stat: -rw-r--r-- 1,232 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
# RUN: llvm-mc --triple=loongarch64 --show-encoding %s | \
# RUN:        FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
# RUN: llvm-mc --triple=loongarch64 --filetype=obj %s | \
# RUN:        llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-INST

vssrlni.b.h $vr2, $vr23, 5
# CHECK-INST: vssrlni.b.h $vr2, $vr23, 5
# CHECK-ENCODING: encoding: [0xe2,0x56,0x48,0x73]

vssrlni.h.w $vr15, $vr20, 12
# CHECK-INST: vssrlni.h.w $vr15, $vr20, 12
# CHECK-ENCODING: encoding: [0x8f,0xb2,0x48,0x73]

vssrlni.w.d $vr27, $vr9, 7
# CHECK-INST: vssrlni.w.d $vr27, $vr9, 7
# CHECK-ENCODING: encoding: [0x3b,0x1d,0x49,0x73]

vssrlni.d.q $vr10, $vr2, 4
# CHECK-INST: vssrlni.d.q $vr10, $vr2, 4
# CHECK-ENCODING: encoding: [0x4a,0x10,0x4a,0x73]

vssrlni.bu.h $vr19, $vr3, 2
# CHECK-INST: vssrlni.bu.h $vr19, $vr3, 2
# CHECK-ENCODING: encoding: [0x73,0x48,0x4c,0x73]

vssrlni.hu.w $vr31, $vr19, 1
# CHECK-INST: vssrlni.hu.w $vr31, $vr19, 1
# CHECK-ENCODING: encoding: [0x7f,0x86,0x4c,0x73]

vssrlni.wu.d $vr13, $vr27, 6
# CHECK-INST: vssrlni.wu.d $vr13, $vr27, 6
# CHECK-ENCODING: encoding: [0x6d,0x1b,0x4d,0x73]

vssrlni.du.q $vr11, $vr30, 32
# CHECK-INST: vssrlni.du.q $vr11, $vr30, 32
# CHECK-ENCODING: encoding: [0xcb,0x83,0x4e,0x73]