I wrote some code to compare the value of xmm10
and xmm6
using:
comiss xmm10, xmm6
and then comisd xmm10, xmm6
The first one works, and the second one doesn’t.
I tried using subss xmm10, xmm6
followed by jz .end
but that didn’t work
Also comisd xmm10, xmm6
crashes the program while comiss xmm10, xmm6
doesn’t
Any ideas why this happens?
Note: I’m using nasm with win64
New contributor
Angad Warhadpande is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
4