<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/109304>109304</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
acle-fmv-features.c fails on Fedora
</td>
</tr>
<tr>
<th>Labels</th>
<td>
test-suite,
backend:AArch64
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
nikic
</td>
</tr>
</table>
<pre>
This test from llvm-test-suite (https://github.com/llvm/llvm-test-suite/blob/main/SingleSource/UnitTests/AArch64/acle-fmv-features.c) fails on Fedora with the following output:
```
flagm
flagm2
dotprod
sha3
rdm
lse
sha2
sha1
aes
pmull
rcpc
rcpc2
fcma
jscvt
dpb
dpb2
bf16
i8mm
dit
fp16
ssbs2
UPASS
bti
simd
fp
crc
sme
sme2
```
Note the `UPASS` on ssbs2. This indicates that the `ssbs` feature was not detected as available, but executing the assembly code for it did not crash. The assembly is (https://github.com/llvm/llvm-test-suite/blob/e77ce1bfc8dbe38b9bf5a3098cb954e58d125020/SingleSource/UnitTests/AArch64/acle-fmv-features.c#L189-L195):
```c
asm volatile (
"mrs x0, SSBS" "\n"
"msr SSBS, x0" "\n"
: : : "x0"
);
```
I'm not sure whether this indicates some kind of kernel bug where a trap is incorrectly suppressed, or an incorrect assumption in the test that this necessarily has to trap (rather than, say, being silently ignored).
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykVNuOozgQ_RrnxeoIikDggYd0j5BWGq1WyswH-FIETxuMXCY9_fcrgzvJ3lorTZTEx_YpV5XruASRuUyILSufWfllJ5YwON9O5tWonXT6vf02GOIBKfDeu5Fbex2f4vSJFhOQM6iHEGZixYlBx6C7mDAscq_cyKCL7DQ8GDHopHWSQTcKMzHozma6WDy7xau4-X0y4RtSIAbd6eTVUB0YdEJZfOrH61OPIiweaa8YNLwXxhJ3E-9QOy_4mwkDDwPy3lnr3sx04W4J8xJihNkXln38V1n6Piz2VlzGBwgb1i7M3ultQoMoNuR14lrC2x7cUL4hgbSBeVysTZZqVneUTHo1ig39IHUNyfUsbyDxZJ9XGzL1mCLQJvH7-WOTSBJ8JNd8_-N0Pif7YBLDjPrDahuVT2HRiDcAn1zY7y7getusyjYXVRaLsTrf81U8ZtJGiYDEwyDCBzsyIjlVk78J4pMLXGNAFVBzQVxchbFCWmTwwuUSOP5EtYRY03iKIMJR2neunI719twEro1ez1Fe0BAjeOAZ-kW94vGoMJe9qrXEopaN7EtRZE2tZFMesKx1DmUG2S9puvia183T17wpGTT_pdpUJy5o5FdnRTB2fYxpOX0YwOiJ_8ziBZ7Pz2cGEBdZ-TLF4R9k8on2shp9Qi5O9x_ASr4z1sCfP9HNbwyO41onWos_YBjQ8_BXvZAbkb-aSXPX81f0E1oul0uke-SCBy9mvloo5z2qYN85LfPskQh1TMJ5Lqb7fpTCMs7BuLi4imhtbUmYhviEComEN_adD4J4cJsXBrUXKUYxxaNJvK-yxChHMhan6N5cJuej72a_022hm6IRO2zzI1THKq-acje0tSwLLPMjoG5EqcQBjqhlo0qte0QtdqaFDA5Zkzd5leVFsW9yVWWge9VjfaiznB0yHIWx-6jUvfOXnSFasM2zpsgOOyskWlp7OsCjjoHBCwOQQr3ipFlxukkRYvf37ap8uVyIHTJrKNDdQzDBYvsviv17C94t3rb_85HN3v1AFRh0awLxdaQcri38GQAA__8YWwUJ">