Re: Why Plan 9 C compilers don't have asm("")

From: Mike Castle (dalgoda@ix.netcom.com)
Date: Sat Jul 21 2001 - 22:59:45 EST


Why do I feel like I just read a description on the various real-mode x86
memory models?

mrc

On Sat, Jul 21, 2001 at 08:43:43PM -0700, Linus Torvalds wrote:
> Sure, you could sometimes get the slower case: more than a 2MB offset
> within a module, so that you'd have to use the trampoline, or if you're
> lazy and don't update the headers for dynamically linked libraries. But
> even then there would be the potential for icache win. And you could
> always have a "-mlarge-model" compiler option for those cases, so if you
> notice that you lose on this optimization, you just disable it.

-- 
     Mike Castle      dalgoda@ix.netcom.com      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 23 2001 - 21:00:15 EST