Getting number of operands of RTX instruction - [RTL]

Shubham Narlawar gsocshubham@gmail.com
Mon Apr 4 08:55:55 GMT 2022


Hello,

Is there any way to know the number of operands a rtx instruction has?
I have a rtx instruction which is obtained from a GIMPLE_CALL instruction.

for example -

CALL insn = (reg:V64SF 100 [ _16 ])
CALL insn = (reg:V64SF 69 L3 [orig:100 _16 ] [100])

I want to know how many operands above rtx instructions have.

Thanks and Regards,
Shubham


More information about the Gcc-help mailing list