Re: [PATCH] Add asm-compat.h to x86

2007-10-30 Thread Glauber de Oliveira Costa
On 10/30/07, Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > Mathieu Desnoyers wrote: > > Add asm-compat.h to x86 > > > > In assembly code and in gcc inline assembly, we need .long to express a "c > > long" > > type on i386 and a .quad to express the same on x86_64. Use macros similar > > to > >

Re: [PATCH] Add asm-compat.h to x86

2007-10-30 Thread Jeremy Fitzhardinge
Mathieu Desnoyers wrote: > Add asm-compat.h to x86 > > In assembly code and in gcc inline assembly, we need .long to express a "c > long" > type on i386 and a .quad to express the same on x86_64. Use macros similar to > powerpc "PPC_LONG" to express those. Name chosen: ASM_LONG. (didn't feel like

[PATCH] Add asm-compat.h to x86

2007-10-30 Thread Mathieu Desnoyers
Add asm-compat.h to x86 In assembly code and in gcc inline assembly, we need .long to express a "c long" type on i386 and a .quad to express the same on x86_64. Use macros similar to powerpc "PPC_LONG" to express those. Name chosen: ASM_LONG. (didn't feel like X86_LONG was required). This is usef