test_cases:
  -
    input:
      bytes: [ 0x97, 0x30, 0x9c, 0x76 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvneg.b $xr23, $xr4"
  -
    input:
      bytes: [ 0xc8, 0x35, 0x9c, 0x76 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvneg.h $xr8, $xr14"
  -
    input:
      bytes: [ 0xd7, 0x39, 0x9c, 0x76 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvneg.w $xr23, $xr14"
  -
    input:
      bytes: [ 0x34, 0x3e, 0x9c, 0x76 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "xvneg.d $xr20, $xr17"
