Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditions involving XMM are always true #2314

Open
TypicalDarkness opened this issue Mar 22, 2020 · 5 comments
Open

Conditions involving XMM are always true #2314

TypicalDarkness opened this issue Mar 22, 2020 · 5 comments

Comments

@TypicalDarkness
Copy link

@TypicalDarkness TypicalDarkness commented Mar 22, 2020

Version: Feb 23 2020 16:30:59
OS: Win 10.0.18362 64 bit

Breakpoints with conditions that involve XMM registers are always triggered, even if the condition is false:
For example:
XMM0==5 eventhough XMM0 is not 5
XMM0==5 && false which should never be true

@mrexodia

This comment has been minimized.

Copy link
Member

@mrexodia mrexodia commented Mar 22, 2020

Yes, xmm is not a valid expression. You could write a plugin that exposes an expression function like xmm0.iszero() and try this way.

@TypicalDarkness

This comment has been minimized.

Copy link
Author

@TypicalDarkness TypicalDarkness commented Mar 22, 2020

May I ask why it's not a valid expression? Is it because of a technical limitation? Sorry, I don't know much about CPUs

@mrexodia

This comment has been minimized.

Copy link
Member

@mrexodia mrexodia commented Mar 22, 2020

@TypicalDarkness

This comment has been minimized.

Copy link
Author

@TypicalDarkness TypicalDarkness commented Mar 22, 2020

This wouldn't be a perfect solution, but would it be possible to split the registers into two halves, like xmm00 and xmm01?

Thanks for the quick response btw :)

@mrexodia

This comment has been minimized.

Copy link
Member

@mrexodia mrexodia commented Mar 26, 2020

Yeah it might be possible. Let's see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.