test_cases:
  -
    input:
      bytes: [ 0xb4, 0x8e, 0xf6, 0x7e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "cmeq d20, d21, d22"

  -
    input:
      bytes: [ 0xb4, 0x9a, 0xe0, 0x5e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "cmeq d20, d21, #0"

  -
    input:
      bytes: [ 0xb4, 0x3e, 0xf6, 0x7e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "cmhs d20, d21, d22"

  -
    input:
      bytes: [ 0xb4, 0x3e, 0xf6, 0x5e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "cmge d20, d21, d22"

  -
    input:
      bytes: [ 0xb4, 0x8a, 0xe0, 0x7e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "cmge d20, d21, #0"

  -
    input:
      bytes: [ 0xb4, 0x36, 0xf6, 0x7e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "cmhi d20, d21, d22"

  -
    input:
      bytes: [ 0xb4, 0x36, 0xf6, 0x5e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "cmgt d20, d21, d22"

  -
    input:
      bytes: [ 0xb4, 0x8a, 0xe0, 0x5e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "cmgt d20, d21, #0"

  -
    input:
      bytes: [ 0xb4, 0x9a, 0xe0, 0x7e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "cmle d20, d21, #0"

  -
    input:
      bytes: [ 0xb4, 0xaa, 0xe0, 0x5e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "cmlt d20, d21, #0"

  -
    input:
      bytes: [ 0xb4, 0x8e, 0xf6, 0x5e ]
      arch: "CS_ARCH_AARCH64"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64-none-linux-gnu", "neon" ]
    expected:
      insns:
        -
          asm_text: "cmtst d20, d21, d22"
