This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Thumb-2 compiler question

Note: This was originally posted on 6th February 2013 at http://forums.arm.com

hi, experts:
which c compilers support Thumb-2 instructions?
It seems linario gcc did not support yet.

best wishes,
Parents
  • Note: This was originally posted on 6th February 2013 at http://forums.arm.com

    [color=#222222][font=arial, helvetica, sans-serif][size=2]
    thumb-2 instruction (which mixes 32bit instruction and 16bit instruction).[/size][/font][/color][color=#222222][font=arial, helvetica, sans-serif][size=2]
    [/size][/font][/color]
    [color=#222222][font=arial, helvetica, sans-serif][size=2]
    [/size][/font][/color]
    [color=#222222][font=arial, helvetica, sans-serif][size=2]Just to be clear - if the CPU you are compiling for supports the Thumb2 instructions then they will be generated if you specify -mthumb.[/size][/font][/color]
Reply
  • Note: This was originally posted on 6th February 2013 at http://forums.arm.com

    [color=#222222][font=arial, helvetica, sans-serif][size=2]
    thumb-2 instruction (which mixes 32bit instruction and 16bit instruction).[/size][/font][/color][color=#222222][font=arial, helvetica, sans-serif][size=2]
    [/size][/font][/color]
    [color=#222222][font=arial, helvetica, sans-serif][size=2]
    [/size][/font][/color]
    [color=#222222][font=arial, helvetica, sans-serif][size=2]Just to be clear - if the CPU you are compiling for supports the Thumb2 instructions then they will be generated if you specify -mthumb.[/size][/font][/color]
Children
No data