Texas Instruments TMS320C6000 Programmer's Manual page 83

Hide thumbs Also See for TMS320C6000:
Table of Contents

Advertisement

Refining C/C++ Code
Table 3–6. TMS320C6000 C/C++ Compiler Intrinsics (Continued)
C Compiler Intrinsic
int_dpint(double);
int _ext(int src2, uint csta , int cstb );
int _extr(int src2 , int src1 );
uint _extu(uint src2, uint csta , uint cstb );
uint _extur(uint src2 , int src1 );
uint _ftoi(float);
int _gmpy4 (int src1 , int src2 );
uint _hi(double);
double _itod(uint, uint);
Note:
Instructions not specified with a device apply to all 'C6000 devices.
3-18
Assembly
Description
Instruction
DPINT
Converts 64-bit double to 32-bit signed in-
teger, using the rounding mode set by the
CSR register.
EXT
Extracts the specified field in src2, sign-ex-
tended to 32 bits. The extract is performed
by a shift left followed by a signed shift
right; csta and cstb are the shift left and
shift right amounts, respectively.
EXT
Extracts the specified field in src2, sign-ex-
tended to 32 bits. The extract is performed
by a shift left followed by a signed shift
right; csta and cstb are the shift left and
shift right amounts, respectively.
EXTU
Extracts the specified field in src2, zero-
extended to 32 bits. The extract is per-
formed by a shift left followed by a un-
signed shift right; csta and cstb are the
shift left and shift right amounts, respec-
tively.
EXTU
Extracts the specified field in src2, zero-
extended to 32 bits. The extract is per-
formed by a shift left followed by a un-
signed shift right; csta and cstb are the
shift left and shift right amounts, respec-
tively.
Reinterprets the bits in the float as an un-
signed integer.
(Ex: _ftoi(1.0) == 1065353216U)
GMPY4
Performs the galois field multiply on 4 val-
ues in src1 with 4 parallel values in src2.
The 4 products are packed into the return
value.
Returns the high 32 bits of a double as an
integer.
Creates a new double register pair from
two unsigned integers.
Device
'C67x
'C64x

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents