7.6 Almost Alphabetically-ordered table of DSP ASE instructions
Programming the MIPS32® 74K™ Core Family, Revision 02.14
96
typedef long long int64;
typedef int int32;
/* accumulator type */
typedef signed long long q32_31;
typedef signed int q31;
#define MAX31 0x7FFFFFFF
#define MIN31 -(1<<31)
#define SAT31(x) (x > MAX31 ? MAX31: x < MIN31 ? MIN31: x)
typedef signed short q15;
#define MAX15 0x7FFF
#define MIN15 -(1<<15)
#define SAT15(x) (x > MAX15 ? MAX15: x < MIN15 ? MIN15: x)
typedef unsigned char u8;
#define MAXUBYTE 255
#define SATUBYTE(x) (x > MAXUBYTE ? MAXUBYTE: x < 0 ? 0: x)
/* fields in the vector types are specified by relative bit
position, but C definitions are in memory order, so these
definitions need to be endianness-dependent */
#ifdef BIG_ENDIAN
typedef struct{
q15 h1, h0;
} ph;
typedef struct{
u8 b3, b2, b1, b0;
} qb;
#else
typedef struct{
q15 h0, h1;
} ph;
typedef struct{
u8 b0, b1, b2, b3;
} qb;
#endif
7.6 Almost Alphabetically-ordered table of DSP ASE instructions
23. This page needs more work, and I hope it will be improved in a future version of the manual.
Table 7.2 DSP instructions in alphabetical order
Instruction
Description
absq_s.w rd,rt
Q31/signed integer absolute value with saturation
addq.ph rd,rs,rt
2
×
SIMD Q15 addition, without and with saturation of the result
addq_s.ph rd,rs,rt
addq_s.w rd,rs,rt
Q31/signed integer addition with saturation
Summary of Contents for MIPS32 74K Series
Page 1: ...Document Number MD00541 Revision 02 14 March 30 2011 Programming the MIPS32 74K Core Family...
Page 10: ...Programming the MIPS32 74K Core Family Revision 02 14 10...
Page 54: ...3 8 The TLB and translation Programming the MIPS32 74K Core Family Revision 02 14 54...
Page 83: ......
Page 101: ...The MIPS32 DSP ASE 101 Programming the MIPS32 74K Core Family Revision 02 14...
Page 134: ...8 4 Performance counters Programming the MIPS32 74K Core Family Revision 02 14 134...