Abstract
Low-cost and low-power are important requirements in mobile systems. Thus, when a floating-point arithmetic unit is needed, a 24-bit floating-point format can be more useful than a 32-bit floating-point format. However, a 24-bit floating-point arithmetic unit can be risky because it usually has lower accuracy than a 32-bit floating-point arithmetic unit. Consecutive floating-point operations are performed in 3D graphic processors. In this case, the verification of the floating-point operation accuracy is important. Among 3D graphic arithmetic operations, the floating-point division is one of the most difficult operations to satisfy the accuracy of $10^{-5}$ which is the required accuracy in OpenGL ES 3.0. No 24-bit floating-point divider, whose accuracy is algebraically verified, has been reported. In this paper, a 24-bit floating-point divider is analyzed and it is algebraically verified that its accuracy satisfies the OpenGL requirement.
Introduction
In mobile systems, power consumption and silicon area are critical constraints. While 32-bit floating-point (FP32) arithmetic provides high precision, it often exceeds the requirements for mobile 3D graphics, leading to unnecessary resource usage. A 24-bit format serves as a more efficient alternative for mobile GPUs. However, reducing bit-width introduces precision risks, particularly for division operations which are prone to error accumulation. The OpenGL ES 3.0 standard mandates a maximum error of $10^{-5}$ for floating-point operations. This paper provides a formal algebraic proof that a specific 24-bit divider architecture consistently meets this threshold.
24-bit Floating-Point Format
The divider operates on a custom 24-bit floating-point format designed for efficiency in mobile graphics. This format consists of a 1-bit sign, a 7-bit exponent, and a 16-bit fraction (mantissa).
The reduced mantissa width compared to standard IEEE 754 single precision (23 bits) necessitates careful hardware design to ensure that the final result remains within the $10^{-5}$ error bound required by industry standards.
Hardware Architecture and Methodology
The divider utilizes the Division-by-Convergence algorithm, specifically a variant of the Goldschmidt method. This approach is advantageous for GPUs as it leverages high-speed multipliers. The architecture is implemented as a three-stage pipeline.
The process begins with a Look-Up Table (LUT) that provides an initial seed value. This is followed by iterative stages using 27-bit multipliers. The total error is decomposed into Structural Error ($E_S$), caused by bit truncation in the pipeline, and Algorithmic Error ($E_A$), resulting from the finite nature of the convergence process.
Algebraic Verification and Results
The core contribution of this work is the algebraic derivation of worst-case error bounds. The analysis accounts for normalization sensitivity, as the error behavior varies depending on the range of the quotient ($Q$).
The algebraic verification yielded the following maximum error values:
- For $0.5 < Q < 1$: The maximum calculated error was approximately $0.0000092$.
- For $1 \le Q < 2$: The maximum calculated error was approximately $0.0000084$.
Both results are strictly below the $10^{-5}$ ($0.00001$) limit specified by OpenGL ES 3.0. This demonstrates that by maintaining 27-bit internal precision and carefully managing truncation, a 24-bit divider can reliably support high-fidelity mobile rendering.
Conclusion
This paper demonstrates that a 24-bit floating-point divider can meet strict industry accuracy requirements through rigorous algebraic verification. By optimizing the hardware pipeline and internal bit-widths, the proposed design achieves the necessary $10^{-5}$ precision while maintaining the power and area advantages of a reduced-width format. This formal proof provides a guarantee of reliability that empirical testing alone cannot offer.
Summary updated