xref: /llvm-project/llvm/test/MC/Mips/crc/valid64.s (revision 3408caf68662ff8df209e52ab3aa4e27c14a371d)
1*3408caf6SPetar Jovanovic# RUN: llvm-mc %s -triple=mips64-unknown-linux-gnu -show-encoding \
2*3408caf6SPetar Jovanovic# RUN:   -mcpu=mips64r6 -mattr=+crc | FileCheck %s
3*3408caf6SPetar Jovanovic
4*3408caf6SPetar Jovanovic  .set noat
5*3408caf6SPetar Jovanovic  crc32d $10, $11, $10   # CHECK: crc32d  $10, $11, $10  # encoding: [0x7d,0x6a,0x00,0xcf]
6*3408caf6SPetar Jovanovic  crc32cd $10, $11, $10  # CHECK: crc32cd $10, $11, $10  # encoding: [0x7d,0x6a,0x01,0xcf]
7