Hi,
this my first post on E2E.
I'm working with C2000 and I'll working with C64 core. Is there an assembly istruction 32 x 32 bit with result on 64 bit in C64 core like in C2000 core?
Thank for your attention
Alex.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
this my first post on E2E.
I'm working with C2000 and I'll working with C64 core. Is there an assembly istruction 32 x 32 bit with result on 64 bit in C64 core like in C2000 core?
Thank for your attention
Alex.
Welcome to the E2E Forums. I hope you find all the information you need here, both from searching for existing answers and from Community Members and TIers helping each other.
It may seem like a very small distinction, but there are significant differences between the C64 DSP core and the C64x+ DSP core. The "+" adds important features to the already powerful C64 DSP core. These new features include improved software pipelining support, compact instructions for reduced code size, significant CPU bus architecture improvements, and enhanced mutliplication instructions.
The best place to point you is to the "CPU and Instruction Set Reference Guide" for the DSP core (C64 or C64x+) for the DSP device that you wish to work with (C6414 or C6421, for example). The CPU & Inst Set document will have the details for the available multiplication instructions and how you can use them.
I expect you to find the simple answer is "yes".
If this answers your question, please click the Verify Answer button below. If not, please reply back with more information.
[The BeagleBoard and HawkBoard will both be excellent choices for a Linux machine. Good luck there, too.]
You'll also want to check out the C Compiler Guide. There's a ton of good info in there, but in particular you should see the section called, "Using Intrinsics to Access Assembly Language Statements". If you are using a 64x+ device like Randy mentions then you would have access to intrinsics like _mpy32ll, _mpy32u, etc. (only difference is the C data types as arguments). These intrinsics will allow you to get assembly-like performance from C. There are tons of other interesting intrinsics. For more details on what they actually do you should see the description of the corresponding description in the CPU and Instruction Set Guide.
Thank you for the good answer.
I've find my asembly instruction on the document spru732j.pdf "TMS320C64x/C64x+ DSP CPU and Instruction Set"
the istruction is:
MPY32 Multiply Signed 32-Bit × Signed 32-Bit Into Signed 64-Bit Result
Syntax MPY32 (.unit) src1, src2, dst_o:dst_e
unit = .M1 or .M2
this instruction is available only for C64+ core.
Ciao,
Alex