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

[Umbrella] X86 specific builtins/intrinsics #1404

Open
FantasqueX opened this issue Feb 25, 2025 · 5 comments
Open

[Umbrella] X86 specific builtins/intrinsics #1404

FantasqueX opened this issue Feb 25, 2025 · 5 comments
Labels
good first issue Good for newcomers

Comments

@FantasqueX
Copy link
Collaborator

Currently, we only support one builtin/intrinsics _mm_clflush #1397, there are plenty of similar functions to implement. We support more AArch64 builtins/intrinsics than X86. They are good reference for implementing X86 builtins/intrinsics #589

@FantasqueX FantasqueX added the good first issue Good for newcomers label Feb 25, 2025
@shrikardongre
Copy link

I would really like to take on this issue. Can i get assigned?

@FantasqueX
Copy link
Collaborator Author

I would really like to take on this issue. Can i get assigned?

@shrikardongre Great! I suggest picking a specific builtin which you would like to implement and create an issue for it, referring to this one. I can assign it to you.

@shrikardongre
Copy link

Yeah sure ,Thanks .

@shrikardongre
Copy link

shrikardongre commented Feb 26, 2025

if (BuiltinID == Builtin::BI__builtin_cpu_is)
llvm_unreachable("__builtin_cpu_is NYI");
if (BuiltinID == Builtin::BI__builtin_cpu_supports)
llvm_unreachable("__builtin_cpu_supports NYI");
if (BuiltinID == Builtin::BI__builtin_cpu_init)
llvm_unreachable("__builtin_cpu_init NYI");

Just curious why are these to be handled seperately ?
@FantasqueX

@bcardosolopes bcardosolopes changed the title X86 specific builtins/intrinsics [Umbrella] X86 specific builtins/intrinsics Feb 26, 2025
@bcardosolopes
Copy link
Member

#1414 is related to this

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

No branches or pull requests

3 participants