[NFC][analyzer][docs] Crosslink MallocChecker's ownership attributes (#121939)
[llvm-project.git] / llvm / test / MC / RISCV / rv32zknh-only-valid.s
blobd48dd4949dd46fbfc422fb9699804d7cd4acc995
1 # RUN: llvm-mc %s -triple=riscv32 -mattr=+zknh -show-encoding \
2 # RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
3 # RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+zknh < %s \
4 # RUN: | llvm-objdump --mattr=+zknh -d -r - \
5 # RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
7 # CHECK-ASM-AND-OBJ: sha512sig0h a0, a1, a2
8 # CHECK-ASM: [0x33,0x85,0xc5,0x5c]
9 sha512sig0h a0, a1, a2
11 # CHECK-ASM-AND-OBJ: sha512sig1h a0, a1, a2
12 # CHECK-ASM: [0x33,0x85,0xc5,0x5e]
13 sha512sig1h a0, a1, a2
15 # CHECK-ASM-AND-OBJ: sha512sig0l a0, a1, a2
16 # CHECK-ASM: [0x33,0x85,0xc5,0x54]
17 sha512sig0l a0, a1, a2
19 # CHECK-ASM-AND-OBJ: sha512sig1l a0, a1, a2
20 # CHECK-ASM: [0x33,0x85,0xc5,0x56]
21 sha512sig1l a0, a1, a2
23 # CHECK-ASM-AND-OBJ: sha512sum0r a0, a1, a2
24 # CHECK-ASM: [0x33,0x85,0xc5,0x50]
25 sha512sum0r a0, a1, a2
27 # CHECK-ASM-AND-OBJ: sha512sum1r a0, a1, a2
28 # CHECK-ASM: [0x33,0x85,0xc5,0x52]
29 sha512sum1r a0, a1, a2