TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

n times faster than C, Arm edition

5 点作者 iscmt7 个月前

2 条评论

snvzz7 个月前
&gt;In general, try to use the compiler to your advantage, but make sure to check the resulting assembly. In this case eqsub emitted a perfect sequence of cmeqs and subs, but you won’t always be so lucky. Occasionally it just won’t emit what you want, even if you use intrinsics, and in those cases writing in raw assembly is an option.<p>I strongly disagree with such a conclusion. If you&#x27;re gonna twist and bend your source code so that the compiler generates the &quot;desired assembly&quot; for your target architecture, you should be instead writing assembly.
ndesaulniers7 个月前
&gt; It turns out that the AArch64 execution state (or is it the A64 instruction set? or the Armv8-A architecture? I hate this<p><a href="https:&#x2F;&#x2F;nickdesaulniers.github.io&#x2F;blog&#x2F;2023&#x2F;03&#x2F;10&#x2F;disambiguating-arm&#x2F;" rel="nofollow">https:&#x2F;&#x2F;nickdesaulniers.github.io&#x2F;blog&#x2F;2023&#x2F;03&#x2F;10&#x2F;disambigua...</a>