https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64003

--- Comment #4 from dmalcolm at gcc dot gnu.org ---
(In reply to dmalcolm from comment #3)
> fwiw, "insn" seems to be:
> 
> (jump_insn:TI 10 4 56 2 (set (pc)
>         (if_then_else (eq (reg:CCGC 17 flags)
>                 (const_int 0 [0]))
>             (label_ref 29)
>             (pc)))
> /home/david/coding-3/gcc-git-jit-valgrind/get-attr-length-i386.c:3 610
> {*jcc_1}
>      (int_list:REG_BR_PROB 2000 (nil))
>  -> 29)
...so presumably it's the attr highlighted below:

 10920  (define_insn "*jcc_1"
 10921    [(set (pc)
 10922          (if_then_else (match_operator 1 "ix86_comparison_operator"
 10923                                        [(reg FLAGS_REG) (const_int 0)])
 10924                        (label_ref (match_operand 0))
 10925                        (pc)))]
 10926    ""
 10927    "%!%+j%C1\t%l0"
 10928    [(set_attr "type" "ibr")
 10929     (set_attr "modrm" "0")
>10930     (set (attr "length_nobnd")
>10931             (if_then_else (and (ge (minus (match_dup 0) (pc))
>10932                                    (const_int -126))
>10933                                (lt (minus (match_dup 0) (pc))
>10934                                    (const_int 128)))
>10935               (const_int 2)
>10936               (const_int 6)))])
 10937

Reply via email to