| Electronic Components Datasheet Search |
|
PM0014 Datasheet(PDF) 24 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0014 Datasheet(HTML) 24 Page - STMicroelectronics |
|
24 / 46 page ![]() Arithmetic library functions PM0014 24/46 5.4.4 cMul_q31_q31_q31 cMul_q31_q31_q31 (short Op1_I_Msb, short Op1_I_Lsb, short Op1_R_Msb, short Op1_R_Lsb, short Op2_I_Msb, short Op2_I_Lsb, short Op2_R_Msb, short Op2_R_Lsb, long *Output). Description: Multiplication of two complex 64-bit (32 bits for each part) inputs. Output is on 64 bits (32 bits for each part). Argument: Op1_I_Msb Left operand imaginary part most significant bits. Op1_I_Lsb Left operand real part least significant bits. Op1_R_Msb Right operand imaginary part most significant bits. Op1_R_Lsb Right operand real part least significant bits. Op2_I_Msb Left operand imaginary part most significant bits. Op2_I_Lsb Left operand real part least significant bits. Op2_R_Msb Right operand imaginary part most significant bits. Op2_R_Lsb Right operand real part least significant bits. Output Output pointer. Algorithm: LeftOp_R * RightOp_R - LeftOp_I * RightOp_I = Output_R LeftOp_R * RightOp_I + LeftOp_R * RightOp_I = Output_I Note: Output imaginary part is contained in the highest address (pointed by Output + 4). Output real part is in the lowest address (pointed by Output). Assembly source code: cMul_q31_q31_q31.asm Code size and cycles: Size: 214 bytes Instruction cycles: 75 Test: Two files are provided to test the function: an input vector file (cMul_q31_q31_q31.in) and an output vector file (cMul_q31_q31_q31.res): cMul_q31_q31_q31.in is made as follows: LeftOpMsb_I1, LeftOpLsb_I1, LeftOpMsb_R1, LeftOpLsb_R1, RightOpMsb_I1, RightOpLsb_I1, RightOpMsb_R1, RightOpLsb_R1, ... cMul_q31_q31_q31.res is made as follows: OutputMsb_I1, OutputLsb_I1, ... |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |