-
Notifications
You must be signed in to change notification settings - Fork 274
Feature request: Support for SIMD comparison operators #5930
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
Labels
Comments
tautschnig
added a commit
to tautschnig/cbmc
that referenced
this issue
Mar 15, 2021
These need to be rewritten to point-wise applications and return -1 (true) or 0 (false) per element. Fixes: diffblue#5930
3 tasks
Thank you for raising this, will be fixed once #5940 is merged. |
tautschnig
added a commit
to tautschnig/cbmc
that referenced
this issue
Mar 16, 2021
These need to be rewritten to point-wise applications and return -1 (true) or 0 (false) per element. Fixes: diffblue#5930
tautschnig
added a commit
to tautschnig/cbmc
that referenced
this issue
Mar 16, 2021
These need to be rewritten to point-wise applications and return -1 (true) or 0 (false) per element. Fixes: diffblue#5930
tautschnig
added a commit
to tautschnig/cbmc
that referenced
this issue
Mar 16, 2021
These need to be rewritten to point-wise applications and return -1 (true) or 0 (false) per element. Fixes: diffblue#5930
tautschnig
added a commit
to tautschnig/cbmc
that referenced
this issue
Mar 16, 2021
These need to be rewritten to point-wise applications and return -1 (true) or 0 (false) per element. Fixes: diffblue#5930
tautschnig
added a commit
to tautschnig/cbmc
that referenced
this issue
Mar 16, 2021
These need to be rewritten to point-wise applications and return -1 (true) or 0 (false) per element. Fixes: diffblue#5930
tautschnig
added a commit
to tautschnig/cbmc
that referenced
this issue
Mar 16, 2021
These need to be rewritten to point-wise applications and return -1 (true) or 0 (false) per element. Fixes: diffblue#5930
tautschnig
added a commit
to tautschnig/cbmc
that referenced
this issue
Mar 16, 2021
These need to be rewritten to point-wise applications and return -1 (true) or 0 (false) per element. Fixes: diffblue#5930
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Support for SIMD arithmetic operators (e.g., addition or logical operators) exists in CBMC but this is not the case for comparison operators
==
,!=
,<
,>
,<=
and>=
. According to GCC online docs vectors are compared element by element producing a 0 when the comparison is false and -1 otherwise.I am not able to provide an example since #5903 does not allow to compile, but this is the warning I am getting from CBMC when I run it on code that we generate:
The text was updated successfully, but these errors were encountered: