cc flag to prevent type conversion

chongo at nsc.UUCP chongo at nsc.UUCP
Fri Oct 14 07:12:11 AEST 1983


i would welcome a cc flag which would prevent the operations

single-float op single-float
shirt-int op short-int

from being coverted to double before doing the op.  the lack
of such a feature sludges out compute bound code.

there are times in which i will do a large amount of crunching in the 16 bit
operand length or single float range.  on machines which single operations
are faster than double ints  (most)  such a flag would speed up my programs
by a noticable amount.

chongo /\../\



More information about the Comp.lang.c mailing list