Okay so I have to calculate this kind of calculation: 10^(some floating point value) where the floating point value (the exponent) is stored as double in xmm0
register calculated before with divsd xmm0, xmm1
with 64 bit double floating point values.
How can I do this with x86_64 assembly? Is this something very complicated to do in assembly in x86 as there are no straight exponentation functions on the processor. I really have no idea how to even approach this problem. I have a processor where the SSE and SSE2 are available.
EDIT: I was just looking around and found a way to achieve this using the fpu efficiently to solve this, now the problem seems to be how to move the result from the previous calculation (from the xmm0 reg) to the fpu stack. How do you move such floating point from the XMM0
reg to the flaoting point unit stack to be used with the fpu instructions?