test_cases:
  -
    input:
      bytes: [ 0x5b, 0x24, 0x42, 0xb3 ]
      arch: "CS_ARCH_RISCV"
      options: [ "CS_MODE_RISCV64", "CS_MODE_RISCV_V", "CS_MODE_RISCV_XSFVQMACCQOQ", "CS_MODE_RISCV_XSFVQMACCDOD" ]
    expected:
      insns:
        -
          asm_text: "sf.vqmaccu.2x8x2 v8, v4, v20"

  -
    input:
      bytes: [ 0x5b, 0x24, 0x42, 0xb7 ]
      arch: "CS_ARCH_RISCV"
      options: [ "CS_MODE_RISCV64", "CS_MODE_RISCV_V", "CS_MODE_RISCV_XSFVQMACCQOQ", "CS_MODE_RISCV_XSFVQMACCDOD" ]
    expected:
      insns:
        -
          asm_text: "sf.vqmacc.2x8x2 v8, v4, v20"

  -
    input:
      bytes: [ 0x5b, 0x24, 0x42, 0xbb ]
      arch: "CS_ARCH_RISCV"
      options: [ "CS_MODE_RISCV64", "CS_MODE_RISCV_V", "CS_MODE_RISCV_XSFVQMACCQOQ", "CS_MODE_RISCV_XSFVQMACCDOD" ]
    expected:
      insns:
        -
          asm_text: "sf.vqmaccus.2x8x2 v8, v4, v20"

  -
    input:
      bytes: [ 0x5b, 0x24, 0x42, 0xbf ]
      arch: "CS_ARCH_RISCV"
      options: [ "CS_MODE_RISCV64", "CS_MODE_RISCV_V", "CS_MODE_RISCV_XSFVQMACCQOQ", "CS_MODE_RISCV_XSFVQMACCDOD" ]
    expected:
      insns:
        -
          asm_text: "sf.vqmaccsu.2x8x2 v8, v4, v20"

  -
    input:
      bytes: [ 0x5b, 0x24, 0x42, 0xf3 ]
      arch: "CS_ARCH_RISCV"
      options: [ "CS_MODE_RISCV64", "CS_MODE_RISCV_V", "CS_MODE_RISCV_XSFVQMACCQOQ", "CS_MODE_RISCV_XSFVQMACCDOD" ]
    expected:
      insns:
        -
          asm_text: "sf.vqmaccu.4x8x4 v8, v4, v20"

  -
    input:
      bytes: [ 0x5b, 0x24, 0x42, 0xf7 ]
      arch: "CS_ARCH_RISCV"
      options: [ "CS_MODE_RISCV64", "CS_MODE_RISCV_V", "CS_MODE_RISCV_XSFVQMACCQOQ", "CS_MODE_RISCV_XSFVQMACCDOD" ]
    expected:
      insns:
        -
          asm_text: "sf.vqmacc.4x8x4 v8, v4, v20"

  -
    input:
      bytes: [ 0x5b, 0x24, 0x42, 0xfb ]
      arch: "CS_ARCH_RISCV"
      options: [ "CS_MODE_RISCV64", "CS_MODE_RISCV_V", "CS_MODE_RISCV_XSFVQMACCQOQ", "CS_MODE_RISCV_XSFVQMACCDOD" ]
    expected:
      insns:
        -
          asm_text: "sf.vqmaccus.4x8x4 v8, v4, v20"

  -
    input:
      bytes: [ 0x5b, 0x24, 0x42, 0xff ]
      arch: "CS_ARCH_RISCV"
      options: [ "CS_MODE_RISCV64", "CS_MODE_RISCV_V", "CS_MODE_RISCV_XSFVQMACCQOQ", "CS_MODE_RISCV_XSFVQMACCDOD" ]
    expected:
      insns:
        -
          asm_text: "sf.vqmaccsu.4x8x4 v8, v4, v20"
