Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: x86/asm.h



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.

Joerg


Home | Main Index | Thread Index | Old Index