Single-precision floating-point data storing method and processor

Single-precision floating-point data storing method and processor

  • CN 101,539,850 B
  • Filed: 11/27/2008
  • Issued: 04/01/2015
  • Est. Priority Date: 03/21/2008
  • Status: Active Grant
First Claim
Patent Images

1. the single-precision floating-point data storing method used in the processor comprising register, described register has the size that can store double-precision floating point data, and for storing double-precision floating point data and single-precision floating-point data, described method comprises:

  • If specify single-precision floating-point data process and specify the first process, then to the single-precision floating-point data of the high half write input of described register, and the low level half part all writes zero to described register;

    If specify single-precision floating-point data process and specify the second process, then to the single-precision floating-point data of the high half write input of described register, and data are not write to low level half part of described register;

    Decoding is carried out to instruction, and performs the writing process to register according to the decode results of this instruction;

    Before data are written into register, in rename register, temporarily store the data corresponding to described first process and/or described second process;

    If specify the first process, then write the data of rename register;

    AndIf specify the second process, if the destination address of writing being included in the register in decode results is even number, then the data of the high half of rename register are write the high half of register, if the destination address of writing of register is odd number, then the data of the high half of rename register are write low level half part of register.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×