Page 1 of 1

dual issue

Posted: Mon Dec 25, 2017 4:50 am
by zhy44th
求问怎样开启双触发模式?

Re: dual issue

Posted: Mon Dec 25, 2017 9:58 pm
by andrew
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:

Code: Select all

{add r0, r1, r2; add r3, r4, r5}
to issue two add instruction(for example)

Re: dual issue

Posted: Thu Dec 28, 2017 3:01 pm
by zhy44th
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.

Re: dual issue

Posted: Fri Dec 29, 2017 8:24 pm
by andrew
-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.