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

Missing instructions on x64 #283

Open
1 of 10 tasks
trufae opened this issue Jan 27, 2023 · 0 comments
Open
1 of 10 tasks

Missing instructions on x64 #283

trufae opened this issue Jan 27, 2023 · 0 comments

Comments

@trufae
Copy link
Contributor

trufae commented Jan 27, 2023

Describe the bug

Even if vector instructions are not fully supported, some of those shuold be easy to be implemented and are pretty widely available in most binaries. This is from the main function of /bin/ls

Component

  • core
  • arm
  • avr
  • m68k
  • mips
  • ppc
  • sparc
  • v850
  • wasm
  • x86-64

Reproduce via JSON (pddi)

<pddi or pdd --issue JSON>
[0x00004db2]> pdd~asm
    __asm ("cvtsi2ss xmm5, rdx");
    __asm ("addss xmm5, xmm5");
    __asm ("cvtsi2ss xmm4, rdx");
    __asm ("addss xmm4, xmm4");
    __asm ("mulss xmm0, xmm4");
    __asm ("comiss xmm0, xmm5");
    __asm ("mulss xmm0, xmm4");
    __asm ("comiss xmm0, xmm5");
    __asm ("mulss xmm4, dword [rax + 4]");
    __asm ("mulss xmm4, dword [rax + 8]");
    __asm ("comiss xmm4, dword [0x0001c4ec]");
    __asm ("subss xmm4, dword [0x0001c4ec]");
    __asm ("cvttss2si rsi, xmm4");
    __asm ("cvttss2si rsi, xmm4");
    __asm ("cvtsi2ss xmm4, rax");
    __asm ("cvtsi2ss xmm5, rax");

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

No branches or pull requests

1 participant