simd-everywhere / simde

Implementations of SIMD instruction sets for systems which don't natively support them.
https://simd-everywhere.github.io/blog/
MIT License
2.28k stars 237 forks source link

LWP functions (XOP related) #1167

Open Torinde opened 4 months ago

Torinde commented 4 months ago

https://en.wikipedia.org/wiki/List_of_discontinued_x86_instructions#Lightweight_Profiling_instructions

lwpintrin.h

LWP at Microsoft intrinsics list: ammintrin.h

Lightweight Profiling Specification

mr-c commented 4 months ago

We will need a list of intrinsic/function names, not just the CPU instruction/opcodes

Torinde commented 3 months ago

Are the LLVM and Microsoft headers sufficient?

mr-c commented 3 months ago

I don't see how this would be implemented on non-x86 systems

Torinde commented 3 months ago

OK, then it should be dropped (and Issue closed)?

Or you think it can (and makes sense to) be implemented for x86 systems that don't natively support it?