llvm-for-llvmta/test/MC/Disassembler/Mips/crc/valid-32r6-el.txt

10 lines
410 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: llvm-mc --disassemble %s -triple=mipsel-unknown-linux-gnu \
# RUN: -mcpu=mips32r6 -mattr=+crc | FileCheck %s
0x0f 0x00 0x41 0x7c # CHECK: crc32b $1, $2, $1
0x4f 0x00 0xa4 0x7c # CHECK: crc32h $4, $5, $4
0x8f 0x00 0x07 0x7d # CHECK: crc32w $7, $8, $7
0x0f 0x01 0x41 0x7c # CHECK: crc32cb $1, $2, $1
0x4f 0x01 0xa4 0x7c # CHECK: crc32ch $4, $5, $4
0x8f 0x01 0x07 0x7d # CHECK: crc32cw $7, $8, $7