<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/58645>58645</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang to use the vfp instructions ,not the neon instruction for -mfpu-vfp
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
UmeshKalappa0
</td>
</tr>
</table>
<pre>
Hi ,
We are benchmarking the ARM cortex-a9 with -mfpu=vfp ,but for the https://godbolt.org/z/5EE8h1T6b case ,we see the neon insts like
vmul.f32 s12, s8, s6
vmul.f32 s8, s4, s8
vmla.f32 s12, s4, s10
vmls.f32 s8, s10, s6
vadd.f32 s2, s2, s12
vadd.f32 s0, s0, s8
we trying to looks for the clang/llvm switch that prevents the emission of neon instructions .
Any suggestions here ?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyFUk2PnDAM_TVwiQYFAhQOOUw7u6pU9VK16jkJBtIJBOVjttNf3xDY7s521CJwFPxsP9uP6-5KP0qUFB8SfErw8TsgZgBxmMU4MXOW84DcCOj45TMS2jj4eWAtepJuRIepX3xCTpd-WeO5d6jXJqJH5xabkGNSPIZ30B3XymXaDOH2K3zVw0Mz5l9rjgSzsEY_AbIAMXgGPSM5W2eRkufgjcQ2i_bnMnmV9aR4vtu8CEmQbaKt_wPeUOUe8Qar2L3EGzjHf6HtncwBdo8G67ob8JZ5s6HMv8FbSvya82bD5Jy5xj1ppLQ-2z9rEIrN68iVukwhRdiaGIODObQYuMAcJrzCYJLWyjB03b8M33jhwj-LstfFjvMVWT8MYDfnCEEsCXncvCnQvK7rpmrKkqQdJV1LWpY66RTQSGbl6O2251U3N5VCb7N2txrYnbGlKLjDGpZ6o-gbkQVJep4JPe0N78dhMfoHCBeuoUsPdpVfU5dVOtKmEm3XtAJzXPS85iWIpiNMtKRjZV6LVDEOytKkep9Up1TSAhdFjot3uMlLTDLeM9KWBDdlD8AZTkoME5MqWwuvck8NjRy4H2xwKhlE_eJkYerDDPCcn3k3akO_TWDHT0yxZWE4jaRpZPwbBb8ZCA">