Texas Instruments TMS320C3x 사용자 설명서

다운로드
페이지 757
5-1
Data Formats and Floating-Point Operation
In the ’C3x architecture, data is organized into three fundamental types: integer,
unsigned integer, and floating-point. The terms integer and signed integer are
equivalent. The ’C3x supports short and single-precision formats for signed and
unsigned integers. It also supports short, single-precision, and extended-
precision formats for floating-point data.
Floating-point operations make fast, trouble-free, accurate, and precise com-
putations. Specifically, the ’C3x implementation of floating-point arithmetic facili-
tates floating-point operations at integer speeds, while preventing problems with
overflow, operand alignment, and other burdensome tasks that are common in
integer operations.
This chapter discusses data formats and floating-point operations supported
in the ’C3x.
Topic
Page
5.1
Integer Formats
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
5.2
Unsigned-Integer Formats
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
5.3
Floating-Point Formats
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
5.4
Floating-Point Conversion (IEEE Std. 754)
. . . . . . . . . . . . . . . . . . . . . 
5.5
Floating-Point Multiplication
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
5.6
Floating-Point Addition and Subtraction
. . . . . . . . . . . . . . . . . . . . . . . 
5.7
Normalization Using the NORM Instruction
. . . . . . . . . . . . . . . . . . . . . 
5.8
Rounding (RND Instruction)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
5.9
Floating-Point to Integer Conversion (FIX Instruction)
. . . . . . . . . . . 
5.10 Integer to Floating-Point Conversion (FLOAT Instruction)
. . . . . . . 
5.11 Fast Logarithms on a Floating-Point Device
. . . . . . . . . . . . . . . . . . . . 
Chapter 5