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

Asked by Cosmin-Gabriel Samoila

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:
Expired
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.