Intel® ISA Extensions
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.
1135 Discussions

Is there any methods to see contents in MMX and XMM registers?

kalven
Débutant
3 384 Visites
Recently, I met a hard problem. My debug dll worked fine, but my release dll failed to show correct image. After some hard working, I found the problem was that a mul of float got wrong result, one of the operator was a const(acturally it was a const float div another const float) and it was just put in XMM register. With debugger, I confined the other operator is correct, so I want to see the operator in XMM register, but I don't know how. Can any one show me the method?
0 Compliments
3 Réponses
jimdempseyatthecove
Contributeur émérite III
3 384 Visites

Kalven,

With Visual Studio under Debug, Windows,click on view registers window. Then right-click inside the registers window and check the items to display. (Somewhat like properties)

Jim Dempsey

0 Compliments
srimks
Nouveau contributeur II
3 384 Visites
What about in Open-Source, does GDB or any Open-Source Tool can help in debugging the content within XMM & XMM regs.?

Kalven,

With Visual Studio under Debug, Windows,click on view registers window. Then right-click inside the registers window and check the items to display. (Somewhat like properties)

Jim Dempsey

0 Compliments
srimks
Nouveau contributeur II
3 384 Visites
Quoting - kalven
Recently, I met a hard problem. My debug dll worked fine, but my release dll failed to show correct image. After some hard working, I found the problem was that a mul of float got wrong result, one of the operator was a const(acturally it was a const float div another const float) and it was just put in XMM register. With debugger, I confined the other operator is correct, so I want to see the operator in XMM register, but I don't know how. Can any one show me the method?


What about in Open-Source, does GDB or any Open-Source Tool can help in debugging the content within XMM & XMM regs.?

~BR

0 Compliments
Répondre