Reputation: 906
I'm reading a book bottom up and it have instruction to get exponent of float on c
compiled via GCC
:
asm ("getf.exp %0=%1" : "=r"(exp) : "f"(d));
saying it works on Itanium. On my Core i7 GCC says Error: no such instruction: 'getf.exp %rax=%st'
.
I've tried web search but could not find similar instruction for Core iX
processors. Is there such?
Upvotes: 0
Views: 264