File: ssrarni.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,244 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

vssrarni.b.h $vr3, $vr9, 2
# CHECK-INST: vssrarni.b.h $vr3, $vr9, 2
# CHECK-ENCODING: encoding: [0x23,0x49,0x68,0x73]

vssrarni.h.w $vr21, $vr17, 8
# CHECK-INST: vssrarni.h.w $vr21, $vr17, 8
# CHECK-ENCODING: encoding: [0x35,0xa2,0x68,0x73]

vssrarni.w.d $vr7, $vr6, 5
# CHECK-INST: vssrarni.w.d $vr7, $vr6, 5
# CHECK-ENCODING: encoding: [0xc7,0x14,0x69,0x73]

vssrarni.d.q $vr4, $vr22, 90
# CHECK-INST: vssrarni.d.q $vr4, $vr22, 90
# CHECK-ENCODING: encoding: [0xc4,0x6a,0x6b,0x73]

vssrarni.bu.h $vr25, $vr0, 9
# CHECK-INST: vssrarni.bu.h $vr25, $vr0, 9
# CHECK-ENCODING: encoding: [0x19,0x64,0x6c,0x73]

vssrarni.hu.w $vr5, $vr2, 24
# CHECK-INST: vssrarni.hu.w $vr5, $vr2, 24
# CHECK-ENCODING: encoding: [0x45,0xe0,0x6c,0x73]

vssrarni.wu.d $vr23, $vr29, 25
# CHECK-INST: vssrarni.wu.d $vr23, $vr29, 25
# CHECK-ENCODING: encoding: [0xb7,0x67,0x6d,0x73]

vssrarni.du.q $vr2, $vr12, 106
# CHECK-INST: vssrarni.du.q $vr2, $vr12, 106
# CHECK-ENCODING: encoding: [0x82,0xa9,0x6f,0x73]