summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Mips/crc/valid64.s
blob: 0b8fe4f4df41c4c079bfe19fc1c9689a5f8df3b2 (plain)
1
2
3
4
5
6
# RUN: llvm-mc %s -triple=mips64-unknown-linux-gnu -show-encoding \
# RUN:   -mcpu=mips64r6 -mattr=+crc | FileCheck %s

  .set noat
  crc32d $10, $11, $10   # CHECK: crc32d  $10, $11, $10  # encoding: [0x7d,0x6a,0x00,0xcf]
  crc32cd $10, $11, $10  # CHECK: crc32cd $10, $11, $10  # encoding: [0x7d,0x6a,0x01,0xcf]
OpenPOWER on IntegriCloud