----- Original Message ----- From: Walter Banks To: Microcontroller discussion list - Public. Sent: Thursday, October 07, 2004 7:49 PM Subject: Re: [PIC] new optimisation in XCSB > > > Sergio Masci wrote: > > > Many C programmers do not realise that there is a brick wall between the C > > pre-processor and the actual compiler. There is a certain illusion of > > optimisation that comes from being able to expand macros into the source code. > > Macros are not functions and there is no function interface to get in the way > > when they are used. > > The brick wall is an illusion based on very old C compiler technology. Most > current compilers abstract the program and then optimize. Constant folding > strength reduction and skip or jump determination occur so much after > parsing that the code that does these operations in unaware of the source > structure. > > w.. Sorry Walter could you clarify this for me. Are you saying that C pre-processor understands variable types and scope? Are you sure we are not talking about different brick walls here? Regards Sergio Masci http://www.xcprod.com/titan/XCSB - optimising PIC compiler _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist