• 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 » All Tags » optimizer
Share
TI C/C++ Compiler
  • Forum

Browse by Tags

TI C/C++ Compiler

Welcome to the TI C/C++ Compiler Section of the TI E2E Support Community. Ask questions, share knowledge, explore ideas, and help solve problems with fellow engineers. To post a question, click on the forum tab then "New Post".

Sign In to Post
Tags
You have subscribed to this tag. To view or manage your tag subscriptions, click here.   Close
You have unsubscribed from this tag. To view or manage your tag subscriptions, click here.   Close
You are currently viewing:
optimizer
  • assembly
  • bug
  • C
  • C I/O
  • c++
  • C6000
  • C6000 compiler
  • C64x+
  • CCS
  • CCS v3.3
  • CCS 3.1
  • CCS 3.3
  • CCS compiler
  • CCS v3.3
  • CCS v4
  • cg_c6
  • code generation tools
  • compiler
  • crash
  • gcc
  • interrupts
  • MSP430
  • optimization
  • RTS library
  • TI C/C++ Compiler
Related Posts
  • Forum Post: Re: opt6x.exe experienced a segmentation

    George Mock George Mock
    Your code crashed the optimizer so badly it cannot even correctly display the name of the function that is causing the problem. I'm sorry, but without a reproducible test case, there is nothing we can do. See this article http://tiexpressdsp.com/index.php/Preprocess_Complex_Source_Code_for_Bug_Submissions...
    on Mar 9, 2010
  • Forum Post: Re: opt6x.exe experienced a segmentation

    Archaeologist Archaeologist
    What version of Boost are you using? Are you sure you're using only options "--abi=eabi -o0"
    on Mar 11, 2010
  • Forum Post: Re: Compiler optimization question.

    Archaeologist Archaeologist
    No. By unrolling I mean when you change this: Helmut Forren while (num_pixels-- > 0) { *y_data_to++ = *y_data_from++; *cbcr_data_to++ = *cbcr_data_from++; } To this: Helmut Forren num_pixels = num_pixels>>1; while (num_pixels-- > 0) { *y_data_to++ = *y_data_from...
    on Jan 31, 2011
  • Forum Post: Loop unrolling seems to produce faulty code

    Samuel Nobs Samuel Nobs
    hello there depending on whether loop unrolling is enabled or disabled, code in the attached source file either passes or fails. if i disable loop unrolling using #pragma UNROLL(1) i get the expected results, otherwise it fails. i cannot see anything obvioulsy wrong in the code (except that...
    on Apr 1, 2011
  • Forum Post: ARM compiler bug?

    Michael Ruhl Michael Ruhl
    Hi, Using Code composer 3.3 and 4.0 (compilers TMS470 4.6.4 and 4.6.5) I have been trying to track down an issue with that appears to be a compiler issue. I was wondering if any one can comment. I have the following code (the 75: and 76 are line numbers for line reference in the assembly...
    on Apr 11, 2011
  • Forum Post: Re: Interupt Threshold(mi) option for DM6437

    Saurabh Tiwari Saurabh Tiwari
    George the actual problem is that I have designed a system in which I need to send a message from CAN at every 70 msec and I have set the value for interrupt threshold option for 65msec but at random interval my CAN message gets a peak of 30 to 50msec. So is there any option through which I can disable...
    on May 27, 2011
  • Forum Post: SDSsq44627 - Optimizer segmentation faults

    Jorge Antonio Guzman Jimenez Jorge Antonio Guzman Jimenez
    Hello, can somebody help me to know what and why is the issue with id: SDSsq44627 for optimizer of Code Composer Studio (version 3.1.0) I'm using Code Generation Tools version 4.1.3, and I know that this issue was fixed in version 4.1.5. The only description I have about the issue is "...
    on Jun 6, 2011
  • Forum Post: IAR #pragma optimize=none in CCS?

    Brian Costabile Brian Costabile
    In the IAR toolchain I'm able to specify the optimization level of a single funciton within a module by setting the optimization level using "#pragma optimize=<level>". Is there a way to do the same thing in CCS?
    on Aug 2, 2011
  • Forum Post: Can use of __builtin_expect() increase if-else-performance?

    Fredrik Noring Fredrik Noring
    Hi all, I've been trying to use the compiler extension __builtin_expect() with CCS4, to increase performance, but after trying several if-else-combinations it appears to have no effect, at least on the DM648 target. Does anyone have a code sample that indicates increased performance using __builtin_expect...
    on Sep 22, 2011
  • Forum Post: optimiser bug dealing with assert(), v6.1.19

    Samuel Nobs Samuel Nobs
    hi there it seems like the optimiser removes assert() statements which it clearly shouldn't. assume the following file main.cpp: #include <cassert> int main(int argc, char** argv) { assert((argc & 1 ) == 0); assert((argc & 2 ) == 0); assert((argc & 4 ) == 0); return argc;...
    on Aug 16, 2011
  • Forum Post: Flash utilization saving techniques

    Relativity Relativity
    Hi All, I badly want to reduce flash consumption. Below are the options I tried to clean up code: 1. Reduce repetitive code into functions. Here I let away performance to memory. 2. Remove unused functions 3. Moved many large initialized to NULL global array and structure variables into...
    on Jan 7, 2012
  • Forum Post: Opportunity for another msp430 optimization

    Fred Carter Fred Carter
    Dear Compiler Wizards, Using CCS Version: 5.1.0.09000 I wrote the following C++ code: #include <stdint.h> static inline void delay (void) { uint16_t Count = 28; while (Count--) { asm (" nop"); } } extern void DemoFunc (uint16_t spectrum_count, uint32_t * detector_Data) { uint32_t...
    on Jan 25, 2012
  • Forum Post: instruction reordering alters logic

    Xavier Leleu Xavier Leleu
    Under rare circumstances, the compiler seems to reorder the instructions in a way that alters the logic. I suspect that this is related to inline functions returning a struct. In the example below, the global variable "DebugC" should be equal to 0x89abcdef, but instead gets the random value...
    on Feb 20, 2012
  • Forum Post: Re: How to profile

    Jens Biltoft Jens Biltoft
    Hi I have more or less the same problem with profiling option. I have added the --gen_profile option to the compiler, and I am able to compile and run the code, but I do not get any *.pdat file. FYI I do not use a CCS project, instead I invoke the compiler from a command line If I call the...
    on Apr 12, 2012
  • Forum Post: C66 preferring slow MPYSP2DP to fast SPDP/FMPYDP

    Elron A Yellin Elron A Yellin
    I believe the C66 compiler 7.4.2 is making some bad choices wrt MPYSPDP and MPYSP2DP. This might be a carry over from the odd way the C67 compiler handles: float x, y; double z0 = x * y; // uses MPYSP and SPDP double z1 = (double) x * y; // uses MPYSP2DP Here's a stripped down example to...
    on May 29, 2013
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