test_cases:
  -
    input:
      bytes: [ 0x95, 0xa3, 0x92, 0x77 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvshuf4i.b $xr21, $xr28, 0xa8"
  -
    input:
      bytes: [ 0x72, 0x58, 0x94, 0x77 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvshuf4i.h $xr18, $xr3, 0x16"
  -
    input:
      bytes: [ 0x20, 0x4b, 0x99, 0x77 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvshuf4i.w $xr0, $xr25, 0x52"
  -
    input:
      bytes: [ 0x98, 0x8c, 0x9d, 0x77 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvshuf4i.d $xr24, $xr4, 0x63"
