System and method of floating point multiply operation processing
By using an integer multiplier and a floating-point multiplier in the processor to execute multiple integer multiplication and floating-point multiply-accumulate instructions, the problem of increased equipment cost and complexity in floating-point multiplication operations is solved, and efficient floating-point multiplication is achieved. Operation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
example 1
[0032] Executing the second integer multiply instruction 134 causes the 32-bit integer multiplier 112 to perform integer multiplication of the low-order significant figure Sig-Lo-A 217 of the first operand and the high-order significant figure Sig-Hi-B 226 of the second operand, to generate a 53-bit value 242. The 53-bit value 242 is added to the 32-bit value 234 to generate a 55-bit value 244 (including the glue bit 235).
[0033] In one example, the second integer multiply instruction 134 is a double float multiply low-high (DFMPYLH) instruction that takes the first, 32-bit operand from RssV.uw[0] (e.g. , portion 212 storing Sig-Lo-A 217) is multiplied with the second, 21-bit operand from RttV.uw[1] (eg, Sig-Hi-B 226 from portion 221). The result of the multiplication is accumulated (added to) with the value in register RxxV.
[0034] Before performing the integer multiplication, DFMPYLH applies a mask to zero the sign bit (e.g., sign bit 224) and exponent (e.g., Exp-B 225)...
example 2
[0037] Execution of the third integer multiplication instruction 136 causes the 32-bit integer multiplier 112 to perform a high-order significant figure position Sig-Hi-A 216 of the first operand 122 and a low-order significant figure position Sig-Lo-B 227 of the second operand 124 Integer multiplication is performed to generate the 53-bit value 252. Value 252 is added to value 244 to generate 55-bit intermediate result 142 (and glue bits 235). In one example, third integer multiply instruction 136 is a DFMPYLH instruction as depicted in Example 2. Intermediate result 142 may thus include a sum of partial products (eg, values 232 , 242 , and 252 ), and exponents are not used in the first three operations associated with instructions 132 , 134 , and 136 .
[0038] Dedicated floating point multiply accumulate instruction 140 is executed on intermediate result 142 and at least one floating point operand to generate final floating point multiply result 144 . For example, instr...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More