发明名称 Data processing apparatus and method for comparing floating point operands
摘要 The present invention provides a data processing apparatus and method for comparing first and second floating point operands to produce a comparison result. Each floating point operand has a sign component, an exponent component, and a fraction component. The data processing apparatus comprises first processing logic operable to receive, for each floating point operand, a first component derived from a predetermined number of most significant bits of the fraction component of that floating point operand, the predetermined number being less than the total number of bits constituting the fraction component. The first processing logic is further operable to receive the sign components and the exponent components of the first and second floating point operands and to compare the sign components, the exponent components and the first components of the first and second floating point operands in order to produce a plurality of signals indicative of the comparison. Evaluation logic is then used to evaluate whether the comparison result can be determined from those plurality of signals, and if so, the comparison result is determined. Further, second processing logic is provided which is operable, in the event that the evaluation logic determines that the comparison result cannot be determined from the plurality of signals, to receive, for each floating point operand, a second component derived from at least the bits of the fraction component of that floating point operand other than the predetermined number of most significant bits. The second processing logic then compares the second components of the first and second floating point operands in order to produce at least one further signal indicative of the comparison, and the evaluation logic is further operable to determine the comparison result from the plurality of signals and the at least one further signal. This technique provides a particularly quick and power efficient technique for producing the comparison result.
申请公布号 US2005210093(A1) 申请公布日期 2005.09.22
申请号 US20040805502 申请日期 2004.03.22
申请人 ARM LIMITED 发明人 HINDS CHRISTOPHER N.;LUTZ DAVID R.
分类号 G06F7/42;(IPC1-7):G06F7/42 主分类号 G06F7/42
代理机构 代理人
主权项
地址