This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | MR_NONE 0 |
#define | MR_INT 0x200 |
#define | MR_SAT 0x400 |
#define | FMT_S16 "d" |
#define | FMT_U16 "u" |
#define | FMT_H16 "x" |
#define | FMT_S32 "d" |
#define | FMT_U32 "u" |
#define | FMT_H32 "x" |
#define | register |
#define | __reg_a |
#define | __reg_b |
#define | __reg_c |
#define | __reg_d |
#define | __a0 |
#define | __a1 |
#define | __b0 |
#define | __b1 |
#define | __c0 |
#define | __c1 |
#define | __d0 |
#define | __d1 |
#define | __i0 |
#define | __i1 |
#define | __i2 |
#define | __i3 |
#define | __mem_x |
#define | __y |
#define | __near |
#define | __far |
#define | auto |
#define | FMUL32(a, b) (f_int32)((long long)(f_int32)(a) * (f_int32)(b) >> 31) |
#define | FMUL16(a, b) (f_int16)((long)(f_int16)(a) * (f_int16)(b) >> 15) |
#define | FDIV32(a, b) (f_int32)(((long long)(f_int32)(a)<<31) / (f_int32)(b)) |
#define | FDIV16(a, b) (f_int16)(((long)(f_int16)(a)<<15) / (f_int16)(b)) |
#define | DBL2F32(a) (f_int32)((a)*(32768.0*65536.0)) |
#define | DBL2F16(a) (f_int16)((a)*32768.0) |
#define | SqrtI(a) ((u_int16)sqrt(a)) |
#define | SqrtI32(a) ((u_int32)(sqrt(a)*65536.0)) |
#define | USEX(x) *((__x volatile u_int16 *)(u_int16)(x)) |
#define | USEY(x) *((__y volatile u_int16 *)(u_int16)(x)) |
Typedefs | |
typedef short | s_int16 |
typedef unsigned short | u_int16 |
typedef int | s_int32 |
typedef unsigned int | u_int32 |
typedef s_int16 | f_int16 |
typedef s_int32 | f_int32 |
Definition in file vstypes.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16-bit fractional double-to-fract conversion (Unix version). |
|
32-bit fractional double-to-fract conversion (Unix version). |
|
16-bit fractional division (Unix version). |
|
32-bit fractional division (Unix version). |
|
printf() format for 16-bit hex value |
|
printf() format for 32-bit hex value, UNIX version |
|
printf() format for signed 16-bit value |
|
printf() format for signed 32-bit value, UNIX version |
|
printf() format for unsigned 16-bit value |
|
printf() format for unsigned 32-bit value, UNIX version |
|
16-bit fractional multiplication (Unix version). |
|
32-bit fractional multiplication (Unix version). |
|
Mode register: Integer mode |
|
Mode register: Zero is fractional, non-saturated mode |
|
Mode register: Saturation mode |
|
|
|
|
|
|
|
Direct memory write to X memory |
|
Direct memory write to Y memory |
|
Default 16-bit fractional type. This is the Non-VSDSP definition. The VSDSP definition reads typedef __fract short f_int16 . Addition and subtraction can be used as normal with this type, but some operations must be executed using macros: FMUL16() for multiplication, FDIV16() for division and DBL2F16() for double-to-fract conversion. |
|
Default 32-bit fractional type. This is the Non-VSDSP definition. The VSDSP definition reads typedef __fract long f_int32 . Addition and subtraction can be used as normal with this type, but some operations must be executed using macros: FMUL32() for multiplication, FDIV32() for division and DBL2F32() for double-to-fract conversion. |
|
Default signed 16-bit integer type |
|
Default signed 32-bit integer type |
|
Default unsigned 16-bit integer type |
|
Default unsigned 32-bit integer type |