The vector version of the popcount insn (v_bcnt) lacked the third parameter
(the scalar insn was fine).
gcc/ChangeLog:
PR target/127542
* config/gcn/gcn-valu.md (<expander><mode>2<exec>): Add
"popcount_extra_op".
---
gcc/config/gcn/gcn-valu.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/gcn/gcn-valu.md b/gcc/config/gcn/gcn-valu.md
index 4764c34ff89..32021d263cc 100644
--- a/gcc/config/gcn/gcn-valu.md
+++ b/gcc/config/gcn/gcn-valu.md
@@ -2789,7 +2789,7 @@ (define_insn "<expander><mode>2<exec>"
(bitunop:V_INT_1REG
(match_operand:V_INT_1REG 1 "gcn_valu_src0_operand" "vSvB")))]
""
- "v_<mnemonic>0\t%0, %1"
+ "v_<mnemonic>0\t%0, %1<popcount_extra_op>"
[(set_attr "type" "vop1")
(set_attr "length" "8")])
--
2.54.0