Command line option “-asm_enhance” Usage (CW for S12Z)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Command line option “-asm_enhance” Usage (CW for S12Z)

Command line option “-asm_enhance” Usage (CW for S12Z)

Recently we helped a customer resolve a question related with “asm_enhance”command line option usage. It’s strange there is no documentation of this knowledge in CodeWarrior help manual. After many discussions with development team, it gets clear to me. So I wrote an article on this topic for sharing.

 

“ -asm_enhance” option is added in ColdWarrior10 /CodeWarrior11 “compiler setting”, “General”, “Other Flags”:

 pastedImage_1.png

"-asm_enhance" command line option can be used for two distinct aspects:

  • Enabling inline assembly data optimizations
  • Enabling stack effect computation through inline assembly code.

These two aspects were all gathered under the same option because they both are referring to enhanced inline assembly – i.e. inline assembly code that gets handled almost as C code).

Thank for the great support from Bogdan Ditu .

For more information on -asm_enhance, see attached document.

Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1116457%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ECommand%20line%20option%20%E2%80%9C-asm_enhance%E2%80%9D%20Usage%20(CW%20for%20S12Z)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1116457%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2011.0pt%3B%22%3ERecently%20we%20helped%20a%20customer%20resolve%20a%20question%20related%20with%20%E2%80%9Casm_enhance%E2%80%9Dcommand%20line%20option%20usage.%20It%E2%80%99s%20strange%20there%20is%20no%20documentation%20of%20this%20knowledge%20in%20CodeWarrior%20help%20manual.%20After%20many%20discussions%20with%20development%20team%2C%20it%20gets%20clear%20to%20me.%20So%20I%20wrote%20an%20article%20on%20this%20topic%20for%20sharing.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2011.0pt%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2011.0pt%3B%22%3E%E2%80%9C%20-asm_enhance%E2%80%9D%20option%20is%20added%20in%20ColdWarrior10%20%2FCodeWarrior11%20%E2%80%9Ccompiler%20setting%E2%80%9D%2C%20%E2%80%9CGeneral%E2%80%9D%2C%20%E2%80%9COther%20Flags%E2%80%9D%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2011.0pt%3B%22%3E%3CEM%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_1.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_1.png%22%20style%3D%22width%3A%20554px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F71337iF7AAEFB000C9A3EF%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_1.png%22%20alt%3D%22pastedImage_1.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2011.0pt%3B%22%3E%3CSTRONG%3E%3CEM%3E%22-asm_enhance%22%20command%20line%20option%20can%20be%20used%20for%20two%20distinct%20aspects%3A%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CUL%3E%3CLI%20style%3D%22margin-left%3A%2018.0pt%3B%20text-indent%3A%20-18.0pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2011.0pt%3B%22%3E%3CSTRONG%3E%3CEM%3EEnabling%20inline%20assembly%20data%20optimizations%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%20style%3D%22margin-left%3A%2018.0pt%3B%20text-indent%3A%20-18.0pt%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2011.0pt%3B%22%3E%3CSTRONG%3E%3CEM%3EEnabling%20stack%20effect%20computation%20through%20inline%20assembly%20code.%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2011.0pt%3B%22%3EThese%20two%20aspects%20were%20all%20gathered%20under%20the%20same%20option%20because%20they%20both%20are%20referring%20to%20enhanced%20inline%20assembly%20%E2%80%93%20i.e.%20inline%20assembly%20code%20that%20gets%20handled%20almost%20as%20C%20code).%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThank%20for%20the%20great%20support%20from%20Bogdan%20Ditu%20.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2011.0pt%3B%22%3EFor%20more%20information%20on%20-asm_enhance%2C%20see%20attached%20document.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎01-01-2019 11:24 PM
Updated by: