]> git.ipfire.org Git - thirdparty/gcc.git/commit
arc: Use correct input operand for *extvsi_n_0 define_insn_and_split
authorClaudiu Zissulescu <claziss@gmail.com>
Fri, 21 Nov 2025 08:46:56 +0000 (10:46 +0200)
committerClaudiu Zissulescu <claudiu.zissulescu-ianculescu@oracle.com>
Fri, 21 Nov 2025 08:52:19 +0000 (10:52 +0200)
commit56595464ff06ae7bdba7848f2ae583f2cac5dcac
tree0045c6aacaa0fd6c2c6749775681b0216c7ae2cc
parentebabae605093e5a31c37ef6e5e3e809f13501f70
arc: Use correct input operand for *extvsi_n_0 define_insn_and_split

Correct the split condition of the instruction to happen after
reload. Relax operand 1 constrain too.

gcc/ChangeLog:

* config/arc/arc.md: Modify define_insn_and_split "*extvsi_n_0"

gcc/testsuite/ChangeLog:

* gcc.target/arc/extvsi-3.c: New test.

Co-authored-by: Michiel Derhaeg <michiel@synopsys.com>
Signed-off-by: Claudiu Zissulescu <claziss@gmail.com>
gcc/config/arc/arc.md
gcc/testsuite/gcc.target/arc/extvsi-3.c [new file with mode: 0644]