• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Development Tools » TI C/C++ Compiler » TI C/C++ Compiler - Forum » Compiler Options and the Software pipeline
Share
TI C/C++ Compiler
  • Forum
Options
  • Subscribe via RSS

Forums

Compiler Options and the Software pipeline

This question is answered
tianxing hou
Posted by tianxing hou
on Aug 01 2012 03:24 AM
Intellectual990 points

Hi, I have a question about the software pipeline.

I used the C6678EVM device and set the compiler options with -o3, -g.

I writing a function and see its assembly file in the CCS v5.03, however I found there is no software pipeline in it. The information of assembly file(line 116) as follow:

;*----------------------------------------------------------------------------*
;* SOFTWARE PIPELINE INFORMATION
;* Disqualified loop: Loop contains a call
;*----------------------------------------------------------------------------*

$C$L28:
$C$DW$L$InstrisicTest$5$B:
.dwpsn file "../EdgeEnhancementTest.c",line 153,column 4,is_stmt,isa 0
$C$DW$126 .dwtag DW_TAG_TI_branch
.dwattr $C$DW$126, DW_AT_low_pc(0x00)
.dwattr $C$DW$126, DW_AT_name("__c6xabi_fltllid")
.dwattr $C$DW$126, DW_AT_TI_call
CALL .S1 __c6xabi_fltllid ; |153|
LDDW .D1T1 *A11,A5:A4 ; |153|
ADDKPC .S2 $C$RL2,B3,3 ; |153|
$C$RL2: ; CALL OCCURS {__c6xabi_fltllid} {0} ; |153|
$C$DW$L$InstrisicTest$5$E:

My code in the line 153 as follow:

i32DataOutput3 = _dotpsu4(iMult3_1_low, ui32DataInput1_low) + _dotpsu4(iMult3_1_high, ui32DataInput1_high) \
                              + _dotpsu4(iMult3_2_low, ui32DataInput2_low) + _dotpsu4(iMult3_2_high, ui32DataInput2_high) \
                              + _dotpsu4(iMult3_3_low, ui32DataInput3_low) + _dotpsu4(iMult3_3_high, ui32DataInput3_high) \
                              + _dotpsu4(iMult3_4_low, ui32DataInput4_low) + _dotpsu4(iMult3_4_high, ui32DataInput4_high) \
                              + _dotpsu4(iMult3_5_low, ui32DataInput5_low) + _dotpsu4(iMult3_5_high, ui32DataInput5_high);

Would you give me some advices. Thank you!

The source file and the assembly file as follow:

1777.InstrisicTest.rar 

Regards,

Tianxing

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Alberto Chessa
    Posted by Alberto Chessa
    on Aug 01 2012 03:56 AM
    Verified Answer
    Verified by tianxing hou
    Genius3740 points

    Hi,

    You are using _lo(double) and _hi(double) instrinsic, that generate int to double conversion (-> call to _c6xabi_fltllid). Use _loll() and _hill() instead.

    Since you use "-g", consider also using "-optimize_with_debug", and .

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • tianxing hou
    Posted by tianxing hou
    on Aug 01 2012 19:34 PM
    Intellectual990 points

    Hi Alberto,

    Thank you for your reply. It solves my problem in a timely manner, thank you very much.

    Tianxing

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use