943,779 Members | Top Members by Rank

Ad:
  • Assembly Discussion Thread
  • Unsolved
  • Views: 1211
  • Assembly RSS
Jun 2nd, 2009
0

fistp to general purpose reg ?

Expand Post »
Hi,

i have got a new question, is it possible to pop from the FPU stack and deposit to general purpose register without doing FIST to memory?
Or in other words,, is there any way to do
FISTP RAX
or something equivalent? (i can't write to memory because of low speed)
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nuliknol is offline Offline
10 posts
since May 2009
Jun 3rd, 2009
1

Re: fistp to general purpose reg ?

Here is a wonderful resource to help you understand the proper use of FPU instructions:

http://webster.cs.ucr.edu/AoA/Window...ic.html#998833
Reputation Points: 99
Solved Threads: 5
Junior Poster
Evenbit is offline Offline
140 posts
since Mar 2005
Jun 3rd, 2009
0

Re: fistp to general purpose reg ?

Click to Expand / Collapse  Quote originally posted by Evenbit ...
Here is a wonderful resource to help you understand the proper use of FPU instructions:

http://webster.cs.ucr.edu/AoA/Window...ic.html#998833
ohh i see. so this relic can't move from general purpose reg to its stack because the stack is 64 bit long (well, actualy 80 bits long) and this thing was made in late 1970s , wow!
I hope that now all the micros are 64 bits, Intel reconsiders and adds direct move instructions to the stack , because if the FPU is good for something, it is for storage, almost 512 bits there on the regs, And regarding the calcs, you do it on XMMs, much faster
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nuliknol is offline Offline
10 posts
since May 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Assembly Forum Timeline: how many registers can i use in intel i7
Next Thread in Assembly Forum Timeline: please help me . .!!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC