test_cases:
  -
    input:
      bytes: [ 0x83, 0x4c, 0x00, 0x74 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvseq.b $xr3, $xr4, $xr19"
  -
    input:
      bytes: [ 0xa0, 0x96, 0x00, 0x74 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvseq.h $xr0, $xr21, $xr5"
  -
    input:
      bytes: [ 0x06, 0x4e, 0x01, 0x74 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvseq.w $xr6, $xr16, $xr19"
  -
    input:
      bytes: [ 0xa8, 0xb5, 0x01, 0x74 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvseq.d $xr8, $xr13, $xr13"
  -
    input:
      bytes: [ 0x2c, 0x03, 0x80, 0x76 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvseqi.b $xr12, $xr25, 0"
  -
    input:
      bytes: [ 0x89, 0xa8, 0x80, 0x76 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvseqi.h $xr9, $xr4, 0xa"
  -
    input:
      bytes: [ 0x99, 0x50, 0x81, 0x76 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvseqi.w $xr25, $xr4, -0xc"
  -
    input:
      bytes: [ 0xeb, 0x9c, 0x81, 0x76 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvseqi.d $xr11, $xr7, 7"
