Why is nop insn has "mov_reg" type instead of "no_insn"?

Asked by Cosmin-Gabriel Samoila on 2020-02-12

Hello,

I was recently looking on gcc/gcc/config/arm/arm.md and noticed that "nop" insn has "mov_reg" type.
I know that return string was initially "mov r8, r8" and changed to "nop" but the type remained as "mov_reg"

Is there any reason why we are keeping this type instead of "no_insn" and how is instruction scheduling affected by this change?

Thank you,
Cosmin

Question information

Language:
English Edit question
Status:
Open
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Last query:
2020-02-12
Last reply:

Can you help with this problem?

Provide an answer of your own, or ask Cosmin-Gabriel Samoila for more information if necessary.

To post a message you must log in.