Claims
- 1. A floating point register file within a microprocessor, the floating point register file comprising:
a plurality of floating point registers, for storing floating point numbers in extended precision format; and conversion logic, coupled to said plurality of floating point registers, configured to convert said floating point numbers into integers, and to store said integers into said plurality of floating point registers.
- 2. The floating point register file as recited in claim 1 wherein said plurality of floating point registers store said integers in either 16, 32 or 64-bit integer format.
- 3. The floating point register file as recited in claim 1 wherein said conversion logic retrieves a first one of said floating point numbers from one of said plurality of floating point registers, converts said first one of said floating point numbers into a first integer, and stores said first integer into a second one of said plurality of floating point registers.
- 4. The floating point register file as recited in claim 1 wherein said conversion logic retrieves a first integer from a first one of said plurality of floating point registers, converts said first integer into a first floating point number, and stores said first floating point number into a second one of said plurality of floating point registers.
- 5. A method for transferring data between an integer register file and a floating point register file, the method comprising:
retrieving integer data from an integer register file and storing the integer data into a floating point register file; and converting the stored integer data into floating point data; wherein intermediate storage of the integer data in system memory is not required during retrieval of the integer data.
- 6. The method for transferring data as recited in claim 5 wherein the floating point register file comprises a plurality of floating point registers, the plurality of floating point registers for storing data in either floating point format, or integer format.
- 7. The method for transferring data as recited in claim 5 wherein during retrieval of the integer data, the integer data is defined in 16, 32 or 64-bit integer format.
- 8. The method for transferring data as recited in claim 5 wherein said step of converting specifies whether the integer data to be converted is defined in 16, 32 or 64-bit integer format.
- 9. The method for transferring data as recited in claim 5 further comprising:
storing the converted floating point data into the floating point register file.
- 10. A method for transferring data between a floating point register file and an integer register file, the method comprising:
converting floating point data in the floating point register file into integer data; and retrieving the integer data from the floating point register file and storing the integer data into the integer register file; and wherein intermediate storage of the integer data is not required during conversion of the floating point data.
- 11. The method for transferring data as recited in claim 10 wherein said step of converting specifies whether the floating point data to be converted is to be converted into 16, 32 or 64-bit integer format.
- 12. The method for transferring data as recited in claim 10 wherein said step of retrieving specifies whether the integer data to be stored in the integer register file is in 16, 32 or 64-bit integer format.
- 13. The method for transferring data as recited in claim 10 wherein said step of converting further comprises the step of:
storing the converted integer data into the floating point register file.
- 14. A microprocessor comprising:
integer means configured to store a plurality of integer data; floating point means, coupled to said integer means, configured to store a plurality of floating point data and a plurality of integer data; and conversion means, coupled to said floating point means, configured to convert a first one of said floating point data in said floating point means into a first integer, and to store said first integer into said floating point means.
- 15. The microprocessor as recited in claim 14 wherein said conversion means is also configured to convert a second integer stored within said floating point means into a second one of said plurality of floating point data, and to store said second one of said plurality of floating point data into said floating point means.
- 16. The microprocessor as recited in claim 14 further comprising:
transfer means, coupled to said integer means and said floating point means, configured to transfer a first one of said plurality of integer data from said floating point means to said integer means.
- 17. The microprocessor as recited in claim 14 further comprising:
transfer means, coupled to said integer means and said floating point means, configured to transfer a first one of said plurality of integer data from said integer means to said floating point means.
- 18. A microprocessor comprising:
an integer register file configured to store a plurality of integers; a floating point register file, coupled to said integer register file, configured to store a plurality of floating point numbers, said floating point register file also configured to store data in integer format; and a first conversion instruction, provided by a translator, for converting a first one of said plurality of floating point numbers within said floating point register file into a first integer, and for temporarily storing said first integer within said floating point register file.
CROSS REFERENCE TO RELATED APPLICATIONS
[0001] This application is a Divisional of U.S. Patent Application Ser. No. 08/980481 (Docket CNTR:1395), filed Nov. 29, 1997, entitled “INSTRUCTION SET FOR BIDIRECTIONAL CONVERSION AND TRANSFER OF INTEGER AND FLOATING POINT DATA”.
Divisions (1)
|
Number |
Date |
Country |
Parent |
08980481 |
Nov 1997 |
US |
Child |
09866078 |
May 2001 |
US |