valid-32r6.txt
408 Bytes
# RUN: llvm-mc --disassemble %s -triple=mips-unknown-linux-gnu \
# RUN: -mcpu=mips32r6 -mattr=+crc | FileCheck %s
0x7c 0x41 0x00 0x0f # CHECK: crc32b $1, $2, $1
0x7c 0xa4 0x00 0x4f # CHECK: crc32h $4, $5, $4
0x7d 0x07 0x00 0x8f # CHECK: crc32w $7, $8, $7
0x7c 0x41 0x01 0x0f # CHECK: crc32cb $1, $2, $1
0x7c 0xa4 0x01 0x4f # CHECK: crc32ch $4, $5, $4
0x7d 0x07 0x01 0x8f # CHECK: crc32cw $7, $8, $7