摘要:
A performance adder for providing a running total of performance values within an integrated circuit chip. The performance adder is triggered by various performance events as determined through multiplexer logic for detecting occurrence of a particular performance event. The multiplexer logic can also trigger the performance adder through atomic, edge, toggle, or on/off signals related to the performance events or through a logical function of a combination of performance events. The performance adders can be used to compute average latency of a component in the circuit.
摘要:
An apparatus and method for determining whether two operands are less than two are disclosed. A first module generates first detection bits from a first operand and a second operand, where the first detection bits indicate a difference of zero. A second module generates second detection bits from the first and second operands, where the second detection bits indicate a difference of one. A combiner combines the first and second detection bits to determine whether the difference of two numbers is less than two. The apparatus and method is used in determining to bypass normalization in floating point calculation.
摘要:
The invention presents a circuit by which control of the output amplitude of digital analog converters can be carried out at high speed and with high precision. A first digital signal that is the same as the input signal and a second digital signal of a value slightly smaller than an input signal provided from a high-speed processor are selectively applied to plural D-A converters and the output therefrom is added. By changing the ratio with which the first digital signal and the second digital signal are selected, it is possible to control the analog output amplitude.
摘要:
A value of difference between exponent values and an inverted value thereof obtained by an inverting circuit are calculated using one subtractor and one of the value of the difference and the inverted value of the difference is selected in accordance with a signal indicating which of the exponent values is greater. Only one subtractor is used, so that the scale of the circuit is reduced and the reduction in chip real estate and power consumption can be achieved. Thus, a circuit for calculating an absolute value of difference between exponent values for right-shifting a floating-point number is provided, with reduced chip real estate and power consumption.
摘要:
An apparatus and a method are disclosed for performing both floating-point operations and integer operations utilizing a single functional unit. The floating-point adder performs logic for comparing exponents, logic for selecting and shifting a co-efficient, and logic for adding coefficients. In operation, the floating-point adder unit performs integer addition, subtraction, and compare operations using substantially the same hardware as used for floating-point operations. The output of the logic for comparing exponents represents the most significant bits of the result of the integer operation. The output of the logic for adding co-efficients represents the least significant bits of the result of the integer operation. If there is a carry from the logic for adding co-efficients, the value of the carry is added to the partial result representing the most significant bits of the integer operation. The floating-point adder permits all integer add, subtract and compare operations be performed by the floating-point adder without adding substantial additional hardware to the arithmetic logic unit.
摘要:
A multimedia execution unit configured to perform vectored floating point and integer instructions. The execution unit may include an add/subtract pipeline having far and close data paths. The far path is configured to handle effective addition operations and effective subtraction operations for operands having an absolute exponent difference greater than one. The close path is configured to handle effective subtraction operations for operands having an absolute exponent difference less than or equal to one. The close path is configured to generate two output values, wherein one output value is the first input operand plus an inverted version of the second input operand, while the second output value is equal to the first output value plus one. Selection of the first or second output value in the close path effectuates the round-to-nearest operation for the output of the adder.
摘要:
An arithmetic circuit for calculating floating point operations. The circuit comprises first and second blocks of consecutive logic cells. Each logic block has a first cell and a last cell, with the first cell through the next to last cell having an output that is coupled to the next adjacent cell. The coupling of the last cells of the first and second logic blocks depends on the value of a control signal. A comparator may be used to generate the control signal.
摘要:
In a floating point execution unit capable of executing arithmetic operation at high speed, a canceling prediction circuit (60) inputs directly operands before processing of selectors (2 and 3) and predicts a canceling generated in a subtraction result of the operands executed by a subtraction unit (5). The canceling prediction circuit (60) performs the canceling prediction without waiting the completion of carry adjustment of the operands executed by selecting and then executing the selectors (2 and 3). In addition, the prediction error detection circuit (100). Accordingly, when the subtraction result of the subtraction circuit (5) is output through a selector (12), or before the subtraction result is output, the canceling prediction can be executed. Thereby, the left shifter (8) can execute normalization operation for the subtraction result. without waiting, and the error compensation shifter (9) can also execute the compensation operation of the canceling prediction without waiting by using a compensation signal output from the prediction error detection circuit (100).
摘要:
A method and system for use in a data processing system is proposed, wherein the Input Exponent is used already in the subblocks of the mantissa addition. Early in the flow of a cycle, there are parts of the Potential exponent result generated and put together using zero detect signals and carry select signals of the Carry Select Adder of the mantissa addition. For the addition of two floating point numbers this reduces the number of required logic gates in the timing critical path. This allows a faster cycle time and/or less latency and/or more complex functions. The method and system according to the invention can be applied to adders of different mantissa widths or different exponent widths as well as power of radix 2.
摘要:
A method for anticipating leading zeros/ones in a floating-point processor is disclosed. A leading zeros string and a leading ones string is generated by examining carry propagates, generates, and kills of two adjacent bits of two input operands to an adder within a floating-point processor. The leading zeros string is for a positive sum, and the leading ones string is for a negative sum. A normalization shift amount is calculated directly and concurrently from the leading zeros string and the leading ones strings prior to a determination of a sign of an output of the positive sum and the negative sum.