instruction set module

nobody_ spam at spam.spam
Wed Oct 11 19:40:21 PDT 2006


Thx
I've been looking through all the instruction sets and, yes, it would be 
really platform-dependent.
And the most interesting are still to come: SSE4 :)



> Well, what instructions are you looking to use?  This theoretical module 
> would also be quite platform-dependent, if you're looking to use things 
> like SSE3 or something..
>
> If you'd like, you could write your own functions to wrap the assembly 
> instructions you'd like to use, like:
>
> // useless function
> void Move(int* dest, int* src)
> {
>    asm
>    {
>        mov EBX, src;
>        mov EAX, [EBX];
>        mov EBX, dest;
>        mov [EBX], EAX;
>    }
> }





More information about the Digitalmars-d-learn mailing list