MichaelBenjamin ·
here are the cmpps numbers, because it makes asm tedious to read without them.
//0 = (==) //4 = (!=) //5 = (>=) //2 = (<=) //6 = (>) //1 = (<)
copy paste
btw what is 3?
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
MichaelBenjamin ·
here are the cmpps numbers, because it makes asm tedious to read without them.
//0 = (==) //4 = (!=) //5 = (>=) //2 = (<=) //6 = (>) //1 = (<)
copy paste
btw what is 3?
aliasant ·
I made that exact list a while back and had a look at it. Also missing the 3
No idea. havnt tried it either but couldnt it simply be tested by running some numbers thru?
TomC ·
3 makes an unordered comparison. In logical term the relation is (xmm1 ? xmm2)
aliasant ·
TomC wrote: 3 makes an unordered comparison. In logical term the relation is (xmm1 ? xmm2)
So is there any kind of use for that?
If there is can you provide an example?
MichaelBenjamin ·
not so easy to find anything that explains it in an understandable way. atleast here is some description about "unordered comparision" but with another command: http://www.rz.uni-karlsruhe.de/rz/docs/ ... /vc315.htm looks like it can do checks for qnan and other invalid stuff.
TomC ·
MichaelBenjamin wrote: not so easy to find anything that explains it in an understandable way. atleast here is some description about "unordered comparision" but with another command: http://www.rz.uni-karlsruhe.de/rz/docs/ ... /vc315.htm looks like it can do checks for qnan and other invalid stuff.
Yep, my understanding is that if you expect a result to be NaN you can check it this way and throw your own exception (or handle it in a different way).
Tom
Wrote something here? To have a post removed or your name hidden, write to [email protected].