TI-CGT: Difference Between TI ARM CGT & TI ARM Clang

Part Number: TI-CGT
Other Parts Discussed in Thread: TDA4VH

Tool/software:

Hi TI Experts,

Based on the last discussion in the below thread, customer successfully implemented both TI ARM CGT & TI ARM Clang on two different safety channels in TDA4VH.

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1408937/tda4ap-q1-tools-to-automatically-convet-ti-syntax-to-gnu-syntax/5402247#5402247

Now it seems that they meet the certification authority requirement having two different compilers running on different safety channels. However, the authority wants to know how could we prove that TI ARM CGT & TI ARM Clang are actually two different compilers? Could you please provide some material such as the difference & comparison between TI ARM CGT & TI ARM Clang from architecture perspective to support us prove they are different compilers?

Many Thanks,

Kevin

  • There are so many differences between these compilers, it is hard to know where to start.

    Consider the command line interface.  An easy way to see the most commonly used options (not everything) is from the command line.  Run these commands ...

    % armcl --help
    % tiarmclang --help

    Compare the output.  Almost nothing is the same.

    Thanks and regards,

    -George

  • Hi ,I had supplied this difference to the function safety expert,  he said is  difficult to argue  that the TI clang is really a diverse compiler to the ARM clang.  Can you provide some information from the source code perspective that two compilers are different?

  • provide some information from the source code

    I presume you mean the source code used to implement the compiler.

    You have seen the large differences in the command line interface for each compiler.  That can only be possible if the source code that implements those command line interfaces is also very different.

    For more perspective on the source code for tiarmclang, view the video titled Elements from Open Source from the tiarmclang video series.

    There is no corresponding video for armcl, so here are is a rough introduction.  In the 1980s, TI started a series of proprietary compiler implementations that continues to the present.  The TI Arm compiler is one example.

    Thanks and regards,

    -George

  • Thank you.