test_cases:
  -
    input:
      bytes: [ 0xf7, 0xe9, 0x03, 0x2b ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "fld.s $ft15, $t3, 0xfa"
  -
    input:
      bytes: [ 0x36, 0xca, 0x81, 0x2b ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "fld.d $ft14, $t5, 0x72"
  -
    input:
      bytes: [ 0xfc, 0x18, 0xc3, 0x2b ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "fst.d $fs4, $a3, 0xc6"
  -
    input:
      bytes: [ 0xbb, 0x7d, 0x34, 0x38 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "fldx.d $fs3, $t1, $s8"
  -
    input:
      bytes: [ 0xe6, 0x45, 0x3c, 0x38 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "fstx.d $fa6, $t3, $t5"
