test_cases:
  -
    input:
      bytes: [ 0x92, 0xbe, 0xfa, 0x74 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvsrarn.b.h $xr18, $xr20, $xr15"
  -
    input:
      bytes: [ 0x2c, 0x10, 0xfb, 0x74 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvsrarn.h.w $xr12, $xr1, $xr4"
  -
    input:
      bytes: [ 0x49, 0xea, 0xfb, 0x74 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvsrarn.w.d $xr9, $xr18, $xr26"
