dual issue

技术交流
Post Reply
zhy44th
Member
Posts: 11
Joined: Mon Dec 18, 2017 9:58 am

dual issue

Post by zhy44th »

求问怎样开启双触发模式?


User avatar
andrew
Experienced Member
Posts: 114
Joined: Fri Dec 11, 2009 10:22 am

Post 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)
zhy44th
Member
Posts: 11
Joined: Mon Dec 18, 2017 9:58 am

Post 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.
User avatar
andrew
Experienced Member
Posts: 114
Joined: Fri Dec 11, 2009 10:22 am

Post 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.
Post Reply