more questions about efficient C code

Guy Harris guy at sun.uucp
Tue Jul 2 14:19:26 AEST 1985


> Unfortunately, this option (-S - ed) is not likely to show you the
> optimized code you would get from running the compiler with
> the -O flag.

No, but

	cc -S -O amor_y_cohetes.c

will run the generated assembly code through the peephole optimizer, so the
resulting ".s" file will show the optimized code.

	Guy Harris



More information about the Comp.lang.c mailing list