dual issue
-
- Member
- Posts: 11
- Joined: Mon Dec 18, 2017 9:58 am
-
- Experienced Member
- Posts: 114
- Joined: Fri Dec 11, 2009 10:22 am
The compiler will automatically dual-issue when optimisations are turned on(i think). If you want explicit control then you can write assembly using the syntax:
to issue two add instruction(for example)
Code: Select all
{add r0, r1, r2; add r3, r4, r5}
-
- Member
- Posts: 11
- Joined: Mon Dec 18, 2017 9:58 am
THANKS.Is there any special switch to trun on the optimisations in the xTIMEcomposer studio?
Or nothing need to do if I use xTIMEcomposer and code in xc, the composer will compose the instructions in dual issued mode (xcore-200 )?
I have just read the xs2-Architecture and it's difficult for me to write assembly. Infact I haven't learn to code with asssembly...
I use the xcore to read the high speed AD (250kHz),so the speed is so important.
Thanks.
Or nothing need to do if I use xTIMEcomposer and code in xc, the composer will compose the instructions in dual issued mode (xcore-200 )?
I have just read the xs2-Architecture and it's difficult for me to write assembly. Infact I haven't learn to code with asssembly...
I use the xcore to read the high speed AD (250kHz),so the speed is so important.
Thanks.
-
- Experienced Member
- Posts: 114
- Joined: Fri Dec 11, 2009 10:22 am
-O2 should be on by default for xTimecomposer projects.
If you really need speed then assembly coding your I/O can give massive speed ups.
If you really need speed then assembly coding your I/O can give massive speed ups.