<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/62576>62576</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[RISCV] VLS cost model issues
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:RISC-V
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
topperc
</td>
</tr>
</table>
<pre>
These are issues we identified in our downstream. Not sure if any have been fixed recently.
<2 x i8> → <2 x float> is not costed as being 2 instructions, a vzext+vwfcvt
<2 x float> → <2 x i8> is not costed as being 2 instructions, vwfcvt+vnsrl.
Scalar fmul/fsub float cost is 2, but vector is 1
cc: @preames @bubba
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMksmO2zwQhJ-mdWmMITUlLwcdPIuBH_iRQyaYO5eWzYQmDS6acZ4-oC1kQS65SEQTVR9ZLJmSPXrmEYZHGJ4bWfIpxDGHy4WjblQw1_HLiROjjIw2pcIJ3xmtYZ_tZNmg9RhKRBPefcqR5XmFn0LGVKpgQumveJIzo2L2ONkPNhhZs8_uuoL2Gdr98hVPhB9otyBeEF4ItmvYES7jyQWZ645N6ENGHVJmgzKhYuuPSGgrvuhsg09ATyhx_s4fGehxfp_0nP-g_LT7C3Tn_zNl8abH2afolgu9aulkxOlcHNBhSkXdgTe_6k1VqkrGmXUOsY6637PQGsQeoW8vNVBOdamKUhIbMwqzEzvZ8Nitt0J0Qmy75jRuN8yb3SB4x6IjoyV3G7HeGN2rtu9M39iRWhLt0A7drhVttyKheeio36x5y32roG_5LK1bOTefVyEem9t7j2saNuvGScUu3XpCpKT-xt6A2H_-7_Xp4Q2IanviWKUPqhwT9K2zKadfZtlmd-tZlbzB8Ixv_7_eEzkHw25pV1OiG085XxKIPdAB6HC0-VTUSocz0KH6Lb-HSwxfWWegw10LdLgd9kcAAAD__02S5D4">