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

x86 FPU: add semantics for all x86 FPU instructions #394

Closed
PeterMatula opened this issue Sep 12, 2018 · 2 comments
Closed

x86 FPU: add semantics for all x86 FPU instructions #394

PeterMatula opened this issue Sep 12, 2018 · 2 comments

Comments

@PeterMatula
Copy link
Collaborator

While working on #293 I noticed some x86 FPU instructions are not modeled in capstone2llvmir. As discussed in #193, not all of them have to be fully translated into LLVM IR. Also, there might be some already modeled instructions that would be better represented with intrinsic function calls or pseudo assembly function calls. But all of these need to be analyzed and decided how to best represent them. Once decided, I might add info on what to do to every instruction in this list.

List of x86 FPU missing instructions:

  • F2XM1
  • FBLD
  • FBSTP
  • FNCLEX
  • FCMOVcc
  • FFREE
  • FISTTP
  • FLDCW
  • FLDENV
  • FPATAN
  • FPREM
  • FPREM1
  • FPTAN
  • FRSTOR
  • FNSAVE
  • FSCALE
  • FNSTCW
  • FNSTENV
  • FNSTSW
  • FXAM
  • FXRSTOR
  • FXRSTOR64
  • FXSAVE
  • FXSAVE64
  • FXTRACT
  • FYL2X
  • FYL2XP1
@PeterMatula PeterMatula added this to the x86 floating point support (FPU, MMX, SSE, etc.) milestone Sep 12, 2018
@PeterMatula
Copy link
Collaborator Author

This issue might get solved as part of a bachelor thesis - see milestone.

@PeterMatula PeterMatula removed this from the x86 floating point support (FPU, MMX, SSE, etc.) milestone Sep 12, 2019
@PeterMatula
Copy link
Collaborator Author

Will be solved by #643.
See #643 (comment) for implementation details.

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

No branches or pull requests

2 participants