MSC100ABIRM Motorola / Freescale Semiconductor, MSC100ABIRM Datasheet - Page 29

no-image

MSC100ABIRM

Manufacturer Part Number
MSC100ABIRM
Description
SC100 Application Binary Interface Reference Manual
Manufacturer
Motorola / Freescale Semiconductor
Datasheet
3.4.1 Optional Prefix
In supporting the intrinsic functions listed in Table 3-2, the compiler can either recognize the function
names as listed in the table, or recognize them using the “
supports this prefix must provide a header file that maps the names as listed in the table to the prefixed
names.
3.5 Libraries
The following sections provide details on support libraries.
3.5.1 Compiler Assist Libraries
The SC100 architecture does not provide hardware support for floating-point data types, nor for divide
functionality for integer types. Compilers should provide the functionality for some of these operations
through the use of support library routines.
The functions to be provided through support library routines include the following:
Compilers that generate in-line code to provide these functions must make no reference to the library
functions. Compilers that provide these functions by generating function calls to the support libraries must
use the stack-based calling convention when calling them.
SC100 Application Binary Interface
Floating-point math routines
Integer divide routines
Integer modulo routines
int extract_h(long)
int extract_l(long)
long L_deposit_h(int)
long L_deposit_l(int)
long L_abs(long)
long L_negate(long)
int norm_l(long)
long L_shl(long,int)
long L_shr(long,int)
long L_shr_r(long,int)
long L_sat(long)
Table 3-2. Required Intrinsics for Fractional Types (Continued)
Intrinsic Function
Preliminary (April 2000)
Extract high
Extract Low
Deposit short in MSB
Deposit short in LSB
Long Abs
Long negate
Normalize any long fractional value
Long shift left
Long shift right
Long shift right with round
Long saturation
__
” (a double underscore) prefix. A compiler that
Description
Libraries
3-3

Related parts for MSC100ABIRM