dual issue

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

dual issue

Postby zhy44th » Mon Dec 25, 2017 4:50 am

求问怎样开启双触发模式?
User avatar
andrew
Experienced Member
Posts: 113
Joined: Fri Dec 11, 2009 10:22 am

Postby andrew » Mon Dec 25, 2017 9:58 pm

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

Postby zhy44th » Thu Dec 28, 2017 3:01 pm

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: 113
Joined: Fri Dec 11, 2009 10:22 am

Postby andrew » Fri Dec 29, 2017 8:24 pm

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

Who is online

Users browsing this forum: No registered users and 3 guests