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

use intel intrinsics xml data #2

Open
seanjensengrey opened this issue Jul 24, 2016 · 2 comments
Open

use intel intrinsics xml data #2

seanjensengrey opened this issue Jul 24, 2016 · 2 comments

Comments

@seanjensengrey
Copy link

see, rust-lang/rfcs#1639 (comment)

@eefriedman
Copy link
Owner

Hmm... I'll probably use that to generate function signatures for the rest of the intrinsics. (I did the signatures so far by copy-pasting from the Intel webpage, and using regular expressions to fix up the result.) I don't think I can use if for anything else, though.

@seanjensengrey
Copy link
Author

It looks like the clang tests could be parsed to map between llvm intrinsics and intel intrinsics

__m128i test_mm_lddqu_si128(__m128i const* P) {
  // CHECK-LABEL: test_mm_lddqu_si128
  // CHECK: call <16 x i8> @llvm.x86.sse3.ldu.dq(i8* %{{.*}})
  return _mm_lddqu_si128(P);
}

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

No branches or pull requests

2 participants