File: sllwil.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 (28 lines) | stat: -rw-r--r-- 986 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
# 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

vsllwil.h.b $vr7, $vr6, 3
# CHECK-INST: vsllwil.h.b $vr7, $vr6, 3
# CHECK-ENCODING: encoding: [0xc7,0x2c,0x08,0x73]

vsllwil.w.h $vr6, $vr5, 8
# CHECK-INST: vsllwil.w.h $vr6, $vr5, 8
# CHECK-ENCODING: encoding: [0xa6,0x60,0x08,0x73]

vsllwil.d.w $vr15, $vr1, 22
# CHECK-INST: vsllwil.d.w $vr15, $vr1, 22
# CHECK-ENCODING: encoding: [0x2f,0xd8,0x08,0x73]

vsllwil.hu.bu $vr13, $vr4, 4
# CHECK-INST: vsllwil.hu.bu $vr13, $vr4, 4
# CHECK-ENCODING: encoding: [0x8d,0x30,0x0c,0x73]

vsllwil.wu.hu $vr1, $vr4, 3
# CHECK-INST: vsllwil.wu.hu $vr1, $vr4, 3
# CHECK-ENCODING: encoding: [0x81,0x4c,0x0c,0x73]

vsllwil.du.wu $vr18, $vr29, 25
# CHECK-INST: vsllwil.du.wu $vr18, $vr29, 25
# CHECK-ENCODING: encoding: [0xb2,0xe7,0x0c,0x73]