Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TWiL 39 #164

Merged
merged 10 commits into from
Mar 6, 2024
Merged

TWiL 39 #164

merged 10 commits into from
Mar 6, 2024

Conversation

xen0n
Copy link
Member

@xen0n xen0n commented Mar 5, 2024

No description provided.

@xen0n xen0n merged commit a26a625 into loongson-community:main Mar 6, 2024
2 checks passed
@xen0n xen0n deleted the twil branch March 6, 2024 11:18
为 LoongArch CAS 操作的输入[做了符号扩展](https://github.com/llvm/llvm-project/pull/83656)。
此额外处理对拥有原生 CAS 支持的 LA664 微架构是不必要的;龙芯方面暂时没搞,[xen0n] 准备近期做掉。

[leecheechen] [避免了](https://github.com/llvm/llvm-project/pull/82984)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've some doubts about this change.

IIUC an intrinsic should be simply mapped to the underlying instruction. I.e. if an user uses the intrinsic on an invalid operand, (s)he's invoking undefined behavior and we don't need to guarantee a thing.

In GCC we don't clear those bits for __builtin_lasx_xvpermi_q.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants