On Sun, 5 Jul 1998, Andrea Arcangeli wrote: >I am recompiling the kernel with -mregparm=1. It crashes in >check_partition() (in genhd.c). Once I' ll have fixed the bug (maybe in >the compiler ;-) I' ll make some performance test... Argg, there are the asm functions that make mess: extern __inline__ int __test_bit(int nr, volatile void * addr) { int oldbit; __asm__ __volatile__( "btl %2,%1\n\tsbbl %0,%0" :"=r" (oldbit) :"m" (ADDR),"ir" (nr)); ^^^ return oldbit; } addr is no longer a memory location... I should replace "m" with "r" or "a"... Andrea[s] Arcangeli
- calling convention for merging asm&C Tuukka Toivonen
- Re: calling convention for merging asm&C Andrea Arcangeli
- Re: calling convention for merging asm&C Glynn Clements
- Re: calling convention for merging asm&C Andrea Arcangeli
- Re: calling convention for merging asm&a... Glynn Clements
- Re: calling convention for merging ... Andrea Arcangeli
- A Geometric Java Problem Andrea Arcangeli
- A Geometric Java Problem Mihail Mihaylov
- Re: A Geometric Java Problem James
- Re: A Geometric Java Problem Glynn Clements
- Re: A Geometric Java Problem Mihail Mihaylov
- passing args in regs speed (was:something else) Tuukka Toivonen
- Re: passing args in regs speed (was:somethin... Andrea Arcangeli
- Re: passing args in regs speed (was:somethin... Glynn Clements
- Re: passing args in regs speed (was:somethin... Marc Lehmann
- Re: passing args in regs speed (was:some... Andrea Arcangeli
- Re: calling convention for merging asm&C Glynn Clements