Port-i386 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: x86/asm.h
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> On Mon, Jul 21, 2014 at 03:26:01PM +0900, Masao Uebayashi wrote:
> > I want to (slowly) merge amd64/i386 code more, especially *.S files.
> > This is possible by introducing macros switched by ABI, like
> > sys/arch/mips/include/asm.h. Is there any precedent doing this? If
> > not, I'd just follow NetBSD's mips asm.h.
>
> I don't think merging the assembler files makes sense. They use a
> different register set and they use different ABIs. In short, they don't
> have much in common.
I agree with joerg here: the instruction sets are quite different.
We want to merge as much of i386 and amd64 code as possible, but not
at the assembly level.
--
Mindaugas
Home |
Main Index |
Thread Index |
Old Index