*BSD News Article 29649


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!mel.dit.csiro.au!merlin!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!usc!sdd.hp.com!nigel.msen.com!zib-berlin.de!irz401!uriah!not-for-mail
From: j@uriah.sax.de (J Wunsch)
Newsgroups: comp.os.386bsd.development
Subject: Re: Gnu Inline Assembly question
Date: 12 Apr 1994 21:07:01 +0200
Organization: Private U**X site; member IN e.V.
Lines: 14
Message-ID: <2oerglINN2hu@bonnie.sax.de>
References: <2n76gvINNbjn@uwm.edu> <2na79i$iuk@u.cc.utah.edu>
NNTP-Posting-Host: bonnie.sax.de

terry@cs.weber.edu (Terry Lambert) writes:

>My personal take on this would be to write a small C function and cc -S it,
>and then build a .s file for it using the assembly source file from the cc
>as a template to make it easy on yourself.

But you might be surprised that there's not much more to optimize in
the code:-), at least given you've used all the optimization features
of the compiler...
-- 
cheers, J"org                             work:    joerg_wunsch@tcd-dresden.de
                                          private:   joerg_wunsch@uriah.sax.de
Steinbach's Guideline for Systems Programming:
        Never test for an error condition you don't know how to handle.