Compiler Specific Operators
gwyn at BRL.ARPA
gwyn at BRL.ARPA
Sat Jul 12 22:18:35 AEST 1986
What most implementations that support such machine-specific operations
do is have the compiler recognize apparent function names and generate
the appropriate machine-specific code instead of a function call. E.g.
_rol( a, b ); /* generates code to rotate a left b bits */
This approach has the advantage of fitting into the existing language
syntax, so that other tools for dealing with C (lint, ctrace, cxref,
cpp, etc.) aren't affected.
More information about the Comp.lang.c
mailing list