Missing instructions on x64
trufae opened this issue · 0 comments
trufae commented
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");