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: [ 0x7e, 0x9a, 0x43, 0x2b ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "fst.s $fs6, $t7, 0xe6"
  -
    input:
      bytes: [ 0xe1, 0x4d, 0x30, 0x38 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "fldx.s $fa1, $t3, $t7"
  -
    input:
      bytes: [ 0x7a, 0x58, 0x38, 0x38 ]
      arch: "CS_ARCH_LOONGARCH"
      options: [ "CS_MODE_LOONGARCH64" ]
    expected:
      insns:
        -
          asm_text: "fstx.s $fs2, $sp, $fp"
