test_cases:
  -
    input:
      bytes: [ 0x96, 0x1e, 0xaa, 0x74 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvmsub.b $xr22, $xr20, $xr7"
  -
    input:
      bytes: [ 0x40, 0xb2, 0xaa, 0x74 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvmsub.h $xr0, $xr18, $xr12"
  -
    input:
      bytes: [ 0xc3, 0x76, 0xab, 0x74 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvmsub.w $xr3, $xr22, $xr29"
  -
    input:
      bytes: [ 0x4b, 0x8b, 0xab, 0x74 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvmsub.d $xr11, $xr26, $xr2"
