[DiscordArchive] my bad, wanted to say FPU registers, not FPU stack.
[DiscordArchive] my bad, wanted to say FPU registers, not FPU stack.
Archived author: robinsch • Posted: 2024-01-30T07:47:06.294000+00:00
Original source
ghidra has this really weird attitude of flipping the code flow
Archived author: 4bhorrent • Posted: 2024-01-30T07:47:51.236000+00:00
Original source
that i can agree on... sometimes totally throws me off lol
Archived author: robinsch • Posted: 2024-01-30T07:48:34.665000+00:00
Original source
Also in your case it inlines ftol2 code in case your CPU doesn't support SSE
Archived author: robinsch • Posted: 2024-01-30T07:49:18.515000+00:00
Original source
This is how it looks in IDA:
```cpp
int __usercall _ftol2_sse@<eax>(double a1@<st0>)
{
if ( s_cpuSupportSSE2 )
return a1;
else
return _ftol2(a1);
}
```
Archived author: 4bhorrent • Posted: 2024-01-30T07:50:46.276000+00:00
Original source
DAT_00dd0344
does it only hold sse2 support, or generally instruction set availability?
Archived author: robinsch • Posted: 2024-01-30T07:50:57.257000+00:00
Original source
SSE2 support