Richard Earnshaw <richard.earns...@foss.arm.com> writes: [...]
> +(define_insn "pac_nop" > + [(set (reg:SI IP_REGNUM) > + (unspec:SI [(reg:SI SP_REGNUM) (reg:SI LR_REGNUM)] > + UNSPEC_PAC_NOP))] > + "TARGET_THUMB2" > + "pac\t%|ip, %|lr, %|sp" > + [(set_attr "length" "2")]) > > This pattern is missing a type. Which type do you think is missing? > The length is also incorrect as the > instruction is 32-bits (4 bytes). Ack. > Similarly for the other > instructions below. Also, you need to mark them as incompatible with > conditional execution (they're constrained-unpredictable in IT > blocks). I guess this would translate in setting it with '(set_attr "predicable" "no")' But isn't this already the default? Thanks Andrea