public inbox for linux-8086@vger.kernel.org
 help / color / mirror / Atom feed
From: "Miguel A. Bolanos" <mike@costarica.net>
To: a.martone@retepnet.it
Cc: linux-8086@vger.kernel.org
Subject: Re: reducing Elks code size...
Date: 22 Feb 2003 14:57:27 -0600	[thread overview]
Message-ID: <1045947448.2621.100.camel@nemesis> (raw)
In-Reply-To: <200302212242.00571.a.martone@retepnet.it>

Greetings,

On Fri, 2003-02-21 at 16:10, Alfonso wrote:
> This file:
> 
> elks/arch/i86/286pmode/irq.s 
> 
> may be reduced to save 564 bytes (!!) of code. This is not a massive 
> optimization process. It just saves space by pushing a value on the 
> stack and jumping to a generic routine instead of repeating the entire 
> sequence every time (like elks/arch/i86/kernel/irqtab.c), so that its 
> final code size is 0x00B6 bytes instead of 0x02EA bytes (I still 
> wonder why the irq.s file was written in that weird mode). The do_exc 
> routine in the file elks/arch/i86/kernel/main.c does not need changes: 
> the bp register is changed (to get again the saved exception/interrupt 
> value) but the stack (with all parameters) remains the same.
> 

This looks fine, nice work really.
Would you like to sent out a patch in stead of the code? :)
regards

Mike


      parent reply	other threads:[~2003-02-22 20:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-21 22:10 reducing Elks code size Alfonso
2003-02-22 18:23 ` Alan Cox
2003-02-22 20:57 ` Miguel A. Bolanos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1045947448.2621.100.camel@nemesis \
    --to=mike@costarica.net \
    --cc=a.martone@retepnet.it \
    --cc=linux-8086@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox