HiFi 3 DSP User's Guide
CADENCE DESIGN SYSTEMS, INC. iii
Contents
1. Introduction .................................................................................................................. 1
1.1 Purpose of this User Guide .................................................................................... 1
1.1.1 Conventions ........................................................................................................ 2
1.2 Installation Overview .............................................................................................. 2
1.3 HiFi 3 Architecture Overview .................................................................................. 2
1.4 Prefetching .............................................................................................................. 4
1.4.1 Software Prefetching .......................................................................................... 5
1.5 HiFi 3 Instruction Set Overview .............................................................................. 6
2. HiFi 3 Features ............................................................................................................. 7
2.1 Instruction Naming Conventions ........................................................................... 13
2.2 Fixed Point Values and Fixed Point Arithmetic .................................................... 14
2.2.1 Representation of Fixed Point Values .............................................................. 14
2.2.2 Arithmetic with Fixed Point Values ................................................................... 15
2.2.3 Other Fixed Point Representations .................................................................. 16
2.3 VLIW Slots and Formats ....................................................................................... 16
2.4 Load and Store Operations .................................................................................. 17
2.4.1 Aligning Loads and Stores ................................................................................ 17
2.4.2 Circular Buffer ................................................................................................... 20
2.4.3 Load and Store Naming Scheme ..................................................................... 22
2.4.4 Load Operations ............................................................................................... 25
2.4.5 Store Operations ............................................................................................... 38
2.5 Multiply and Accumulate Operations .................................................................... 48
2.5.1 24x24-bit Multiplication Operations .................................................................. 49
2.5.2 32x32-bit Multiplication Operations .................................................................. 54
2.5.3 32x16-bit Multiplication Operations .................................................................. 58
2.5.4 16x16-bit Multiplication Operations .................................................................. 64
2.5.5 16x16-bit Legacy Multiplication Operations ...................................................... 67
2.5.6 32x16-bit Legacy Multiplication Operations ...................................................... 68
2.5.7 HiFi 2 EP 32x24-bit Multiplication Operations .................................................. 71
2.6 Add, Subtract, and Compare Operations ............................................................. 72
2.7 Shift Operations .................................................................................................... 85
2.8 HiFi 2 Shift Operations ......................................................................................... 98
2.9 Normalization ...................................................................................................... 101
2.10 Divide Step Operation ........................................................................................ 102
2.11 Truncate, Round, Saturate, Convert, and Move Operations .............................. 102
2.12 Selection and Permutation Operations ............................................................... 119
2.13 Bitwise Logical Operations ................................................................................. 122
2.14 Bit Reversal ........................................................................................................ 123
2.15 Zero Operation .................................................................................................... 124
2.16 Optional Floating Point Unit ................................................................................ 124