test_cases:
  -
    input:
      bytes: [ 0x46, 0x2f, 0x79, 0x32 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.eq.d $fcc1, $f15, $f15"

  -
    input:
      bytes: [ 0x46, 0x11, 0xc5, 0x32 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.eq.s $fcc5, $f24, $f17"

  -
    input:
      bytes: [ 0x46, 0x35, 0x5c, 0x30 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.f.d $fcc4, $f11, $f21"

  -
    input:
      bytes: [ 0x46, 0x07, 0xf4, 0x30 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.f.s $fcc4, $f30, $f7"

  -
    input:
      bytes: [ 0x46, 0x21, 0x94, 0x3e ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.le.d $fcc4, $f18, $f1"

  -
    input:
      bytes: [ 0x46, 0x04, 0xc6, 0x3e ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.le.s $fcc6, $f24, $f4"

  -
    input:
      bytes: [ 0x46, 0x23, 0x4b, 0x3c ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.lt.d $fcc3, $f9, $f3"

  -
    input:
      bytes: [ 0x46, 0x0e, 0x8a, 0x3c ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.lt.s $fcc2, $f17, $f14"

  -
    input:
      bytes: [ 0x46, 0x30, 0xad, 0x3d ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.nge.d $fcc5, $f21, $f16"

  -
    input:
      bytes: [ 0x46, 0x08, 0x5b, 0x3d ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.nge.s $fcc3, $f11, $f8"

  -
    input:
      bytes: [ 0x46, 0x17, 0xfa, 0x3b ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.ngl.s $fcc2, $f31, $f23"

  -
    input:
      bytes: [ 0x46, 0x17, 0x92, 0x39 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.ngle.s $fcc2, $f18, $f23"

  -
    input:
      bytes: [ 0x46, 0x27, 0xc4, 0x3f ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.ngt.d $fcc4, $f24, $f7"

  -
    input:
      bytes: [ 0x46, 0x0d, 0x45, 0x3f ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.ngt.s $fcc5, $f8, $f13"

  -
    input:
      bytes: [ 0x46, 0x3f, 0x82, 0x36 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.ole.d $fcc2, $f16, $f31"

  -
    input:
      bytes: [ 0x46, 0x14, 0x3b, 0x36 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.ole.s $fcc3, $f7, $f20"

  -
    input:
      bytes: [ 0x46, 0x3c, 0x9c, 0x34 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.olt.d $fcc4, $f19, $f28"

  -
    input:
      bytes: [ 0x46, 0x07, 0xa6, 0x34 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.olt.s $fcc6, $f20, $f7"

  -
    input:
      bytes: [ 0x46, 0x27, 0xfc, 0x3a ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.seq.d $fcc4, $f31, $f7"

  -
    input:
      bytes: [ 0x46, 0x19, 0x0f, 0x3a ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.seq.s $fcc7, $f1, $f25"

  -
    input:
      bytes: [ 0x46, 0x39, 0x6c, 0x33 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.ueq.d $fcc4, $f13, $f25"

  -
    input:
      bytes: [ 0x46, 0x1e, 0x1e, 0x33 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.ueq.s $fcc6, $f3, $f30"

  -
    input:
      bytes: [ 0x46, 0x32, 0xcf, 0x37 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.ule.d $fcc7, $f25, $f18"

  -
    input:
      bytes: [ 0x46, 0x1e, 0xaf, 0x37 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.ule.s $fcc7, $f21, $f30"

  -
    input:
      bytes: [ 0x46, 0x31, 0x36, 0x35 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.ult.d $fcc6, $f6, $f17"

  -
    input:
      bytes: [ 0x46, 0x0a, 0xc7, 0x35 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.ult.s $fcc7, $f24, $f10"

  -
    input:
      bytes: [ 0x46, 0x38, 0xbe, 0x31 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.un.d $fcc6, $f23, $f24"

  -
    input:
      bytes: [ 0x46, 0x04, 0xf1, 0x31 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "c.un.s $fcc1, $f30, $f4"

  -
    input:
      bytes: [ 0x46, 0xc0, 0x17, 0xa8 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "cvt.s.pl $f30, $f2"

  -
    input:
      bytes: [ 0x46, 0xc0, 0xd3, 0xa0 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "cvt.s.pu $f14, $f26"

  -
    input:
      bytes: [ 0x4e, 0x94, 0xd4, 0xa1 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "madd.d $f18, $f20, $f26, $f20"

  -
    input:
      bytes: [ 0x4c, 0x52, 0xf2, 0xa9 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "msub.d $f10, $f2, $f30, $f18"

  -
    input:
      bytes: [ 0x4d, 0x54, 0x74, 0xb1 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "nmadd.d $f18, $f10, $f14, $f20"

  -
    input:
      bytes: [ 0x4d, 0x1e, 0x87, 0xb9 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "nmsub.d $f30, $f8, $f16, $f30"

  -
    input:
      bytes: [ 0x46, 0xde, 0x46, 0x2c ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "pll.ps $f24, $f8, $f30"

  -
    input:
      bytes: [ 0x46, 0xdc, 0xd0, 0x2d ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "plu.ps $f0, $f26, $f28"

  -
    input:
      bytes: [ 0x46, 0xda, 0xf2, 0x2e ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "pul.ps $f8, $f30, $f26"

  -
    input:
      bytes: [ 0x46, 0xc2, 0x46, 0x2f ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "puu.ps $f24, $f8, $f2"

  -
    input:
      bytes: [ 0x02, 0xa7, 0x68, 0x46 ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_OPT_SYNTAX_NOREGNAME", "CS_MODE_BIG_ENDIAN", "CS_MODE_MIPS64R2" ]
    expected:
      insns:
        -
          asm_text: "rotrv $13, $7, $21"
