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

Add support for translation of AVX2 code #1000

Open
wants to merge 27 commits into
base: cryptoline
Choose a base branch
from

Conversation

MQuaresma
Copy link
Collaborator

This pull request adds support for translating (annotated) AVX2 code to Cryptoline which includes:

  • reasoning about vector registers as lists of scalar values using the UnPack abstract predficate
  • support for translating several AVX2 instructions (signed and unsigned)
  • simplification of CFG to remove redundant casting operations
  • support for lists of lvals in Cryptoline translation

Support for the following AVX2 instructions was added:

  • VPMULL, VPMULH, VPSRA, VPBROADCAST, VPADD, VPSUB

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

Successfully merging this pull request may close these issues.

2 participants