From: Chuck Ebbert <76306.1226@compuserve.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Wanted: A decent assembler
Date: Wed, 23 Apr 2003 09:49:21 -0400 [thread overview]
Message-ID: <200304230952_MC3-1-35A8-EDA3@compuserve.com> (raw)
Chuck Ebbert wrote:
> <mangled asm source>
Should be:
.if NR_IRQS gt 16 # only build this for IO-APIC
.align 8,0x90 # make ENTRY have exact address
irq_align=8 # start with 8-byte alignment
ENTRY(high_irq_entries_start)
.rept NR_IRQS-16 # the rest of the stubs
.align irq_align,0x90
1: pushl $vector-256 # 5-byte instruction
jmp common_interrupt # 2 or 5 bytes (8 or 32-bit offset)
2:
.if 2b-1b > 8 # offset changed to 32-bit
irq_align=16 # switch to 16-byte alignment
.endif
.data
.long 1b
.text
vector=vector+1
.endr
.endif
-------
Chuck
next reply other threads:[~2003-04-23 13:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-23 13:49 Chuck Ebbert [this message]
2003-04-23 14:24 ` Richard B. Johnson
-- strict thread matches above, loose matches on Subject: below --
2003-04-23 13:02 Chuck Ebbert
2003-04-23 13:57 ` Maciej W. Rozycki
2003-04-23 10:59 Chuck Ebbert
2003-04-23 11:11 ` Richard B. Johnson
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=200304230952_MC3-1-35A8-EDA3@compuserve.com \
--to=76306.1226@compuserve.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®