Hello everyone,
I am developing a routine which xors a chunk of data. This ‘could’ be done
very quickly using mmx or sse instructions.
The actual driver is currently targeted at:
2000
XP
I have just read a bunch of articles on 64bit compilation and
the elimination of support for inline assembly.
I am no big fan of inline asm myself but am a bit bewildered by how I can
safely write cross-compatible code using the specialized instruction sets.
I was
unable to find any mention (on the internet or elsewhere) of compiler
intrinsics for mmx or sse
in regards to the ddk compiler.
I may not care too much about 64bit right now - but I have taken
quite a bit of time to make sure that my code is written in a way that when
I do want to compile for a 64bit platform - it will not require much (if
anything at all) be
re-written.
Any ideas? Is using these technologies for better performance regarded as
taboo in the kernel?
I have pretty much let the compiler have the most control in optimizations -
sticking to maintainability
over questionable optimizations - whenever possible.
In the case of using sse or mmx - I believe I am on solid ground in
believing there is no question - it will
be more efficient.
Thanks in advance,
David Swigger