test_cases:
  -
    input:
      bytes: [ 0xd4, 0xac, 0x67, 0x0d ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvshuf.b $xr20, $xr6, $xr11, $xr15"
  -
    input:
      bytes: [ 0x1d, 0x87, 0x7a, 0x75 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvshuf.h $xr29, $xr24, $xr1"
  -
    input:
      bytes: [ 0x0f, 0x77, 0x7b, 0x75 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvshuf.w $xr15, $xr24, $xr29"
  -
    input:
      bytes: [ 0x5b, 0xbe, 0x7b, 0x75 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvshuf.d $xr27, $xr18, $xr15"
