Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utcs!mnetor!seismo!brl-adm!brl-smoke!smoke!gwyn@BRL.ARPA From: gwyn@BRL.ARPA Newsgroups: net.lang.c Subject: Re: Compiler Specific Operators Message-ID: <2149@brl-smoke.ARPA> Date: Sat, 12-Jul-86 08:18:35 EDT Article-I.D.: brl-smok.2149 Posted: Sat Jul 12 08:18:35 1986 Date-Received: Sun, 13-Jul-86 06:57:26 EDT Sender: news@brl-smoke.ARPA Lines: 7 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.