https://github.com/NagrajMG created
https://github.com/llvm/llvm-project/pull/161210
## [Headers][X86] Allow PSHUFD/PSHUFLW/PSHUFW shuffle intrinsics to be used in
`constexpr`
### PSHUFW — shuffle 4×i16 in MMX (64-bit)
| Intrinsic | X86 Builtin| CPUID Flags | Header|
|---
https://github.com/NagrajMG edited
https://github.com/llvm/llvm-project/pull/161210
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/NagrajMG closed
https://github.com/llvm/llvm-project/pull/161094
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3417,6 +3629,39 @@ bool InterpretBuiltin(InterpState &S, CodePtr OpPC,
const CallExpr *Call,
return interp__builtin_elementwise_int_binop(S, OpPC, Call,
llvm::APIntOps::mulhs);
+ case clang::X86::BI__builtin_ia32_pshuf
NagrajMG wrote:
@RKSimon I had clicked on that option yesterday, it reads 'awaiting requested
review'.
https://github.com/llvm/llvm-project/pull/161210
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/list
https://github.com/NagrajMG edited
https://github.com/llvm/llvm-project/pull/161210
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/NagrajMG converted_to_draft
https://github.com/llvm/llvm-project/pull/161210
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/NagrajMG ready_for_review
https://github.com/llvm/llvm-project/pull/161210
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
NagrajMG wrote:
@RKSimon @tbaederr I have made some changes as suggested. Please review it.
https://github.com/llvm/llvm-project/pull/161210
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com
https://github.com/NagrajMG updated
https://github.com/llvm/llvm-project/pull/161210
>From 633a986a1e49698e05d109d69fafaa20989aa6c9 Mon Sep 17 00:00:00 2001
From: NagrajMG
Date: Mon, 29 Sep 2025 20:08:07 +0530
Subject: [PATCH 1/4] FIxes #156611: Allow PSHUFD/PSHUFLW/PSHUFW intrinsics in
conste
NagrajMG wrote:
@RKSimon Thank you for your patience! This was my first experience working
outside of my personal projects.
https://github.com/llvm/llvm-project/pull/161210
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org
https://github.com/NagrajMG updated
https://github.com/llvm/llvm-project/pull/161210
>From 633a986a1e49698e05d109d69fafaa20989aa6c9 Mon Sep 17 00:00:00 2001
From: NagrajMG
Date: Mon, 29 Sep 2025 20:08:07 +0530
Subject: [PATCH 1/2] FIxes #156611: Allow PSHUFD/PSHUFLW/PSHUFW intrinsics in
conste
NagrajMG wrote:
@RKSimon It seems the code_formatter is failing because of this invisible
whitespaces.
https://github.com/user-attachments/assets/3a174f8e-cc5d-4a80-a6ab-928693aac813";
/>
https://github.com/llvm/llvm-project/pull/161210
___
cfe-comm
@@ -2862,6 +2862,68 @@ static bool interp__builtin_blend(InterpState &S,
CodePtr OpPC,
return true;
}
+enum class Half { None, Low, High };
+
+static bool interp__builtin_ia32_pshuf(InterpState &S, CodePtr OpPC, const
CallExpr *Call,
+
NagrajMG wrote:
@RKSimon I have simplified the code, please review it.
https://github.com/llvm/llvm-project/pull/161210
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/NagrajMG edited
https://github.com/llvm/llvm-project/pull/161210
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/NagrajMG edited
https://github.com/llvm/llvm-project/pull/161210
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2773,6 +2773,62 @@ static bool interp__builtin_blend(InterpState &S,
CodePtr OpPC,
return true;
}
+enum class Half { None, Low, High };
+
+static bool interp__builtin_ia32_pshuf(InterpState &S, CodePtr OpPC,
+ const CallExpr *Call,
NagrajMG wrote:
@RKSimon The test and the builtin def files undergo massive structural change
if I run formatter on them?
I need to ignore them right?
https://github.com/llvm/llvm-project/pull/161210
___
cfe-commits mailing list
[email protected]
@@ -2773,6 +2773,64 @@ static bool interp__builtin_blend(InterpState &S,
CodePtr OpPC,
return true;
}
+enum class Half { None, Low, High };
+
+static bool interp__builtin_ia32_pshuf(InterpState &S, CodePtr OpPC,
+ const CallExpr *Call,
NagrajMG wrote:
@RKSimon Got it, I will correct the procedure.
Thanks you!
https://github.com/llvm/llvm-project/pull/161210
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
21 matches
Mail list logo