<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/90365>90365</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Cortex-A72: Default Model should not enable crypto features
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
v01dXYZ
</td>
</tr>
</table>
<pre>
The Crypto Engine is provided only as an extension and is not part of the base license.
This [ARM documentation page](https://developer.arm.com/documentation/100095/0002/programmers-model/about-the-programmers-model) states:
> The optional Cryptography engine is not included in the base product of the processor. ARM requires licensees to have contractual rights to obtain the Cortex-A72 processor Cryptography engine.
One very famous example of a cortex-a72 chip without the crypto engine is the one in the Raspberry 4 (related issue: https://github.com/llvm/llvm-project/issues/85699).
Here is the current definition of the features for `cortex-a72`:
https://github.com/llvm/llvm-project/blob/53ff002c6f7ec64a75ab0990b1314cc6b4bb67cf/llvm/include/llvm/TargetParser/AArch64TargetParser.h#L573-L575
It's likely that's also the case for other models.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycVE2P2zYQ_TX0ZbACTX1ZBx2cbIQWSNAi2EPb25AaiWxpUiUpZ_3vC8retQPk0lz0MRTfvPfmiRijmR1Rz-oPrH7e4Zq0D_2Z78c__vxrJ_146V80wcdwWZKHT242jsBEWII_m5FG8M5eACOgA3pN5KLxDtCN-SPnEywYEvgJkiaQGAmsUeQiFYw_M368Xl-0icDqD8evX2D0aj2RS5gy0oIzsfqZiYNOaYmsPDIxMDGMdCbrFwoFhlOh_CnXHncyMew5513NxMA5F0wMS_BzwNOJQnw6-ZEsEwNKv6anpOnpB6sdxISJtq4PbFn5CSC74pfcCe3Nnjngoi9A7yZl_cYpu2ajjLt7sAQ_rurdlyV4RTH6UEB2INC_qwkU36yiCMmDxjOB8i4FVGlFC8HMOm1LXia8wX_0IdHr07EVd9Qf0SvgUdFvjuBM4QITnvwagV7xtFjK_BDUFRJbAUqbBb6ZpP2atnbqmou75Fz0-fFK5yvGRVIIF6iAiUMgiyl7EeNKrDzC90OdTdKrvE3T2vPbLc_mb1KJiWHbGZkYDnXTdUx03-XoFwrvLNQaArkEI03GmS1MN7snwrRmfycfgDX8LpA1PLN6hPzfDKX1komhLqeJc6GaqSXVVNjWKHnXcbkv95VSjaykbFo13XFuSbkXXjDMlH7HECkwMRyPQemmeqwWmonyc92WT5_rtn6k_Wtios0J-ofsBZLG6zva6K_u5Bhm_T5pCrAFPha7sS_HruxwR_2-3Vei4XXZ7XQ_TpXc77koR5wUL9uJprGRXNack5xa3JlecFHxSrSiFIe6K-iAXDbNeGhr3pVtyypOJzS2yOIKH-bdNsq-42VT7yxKsnE7hYRw9O2WECHyoRT6zWK5zpFV3JqY4h0lmWSpv8c-z--ZJlxtgi9ZFUTtVztuPyM5lPY9tW852K3B9j-fxE3BfwEAAP__TzO_pA">