From: Noeth, J. <jm...@ag...> - 1999-12-13 17:07:20
|
To all, I have been working on the run time routines to facilitate the cobol move verb, and have them very close to being finished. My concern, though, is that these routines have considerable overhead (especially when moving numeric fields) to figure out what type of move is involved, how much to pad, how much to truncate, etc.. I'm afraid that our move routines are going to be very innefficient. What I would like to do is to modify the 'gen_move' routine to generate the code directly, all of the information to do these 'overhead' calculations is available at compile time, and we could generate code that is very specific to each move statement. I realize that this will make the compiler less portable (and a little more difficult to debug), I believe that I can write the code generation routines such that they can be easily modified for different platforms. Let me know what you think. Jim Noeth - SWAT/Technology Services A. G. Edwards and Sons, Inc. |