Re: [patch] entry.S asm improvement (removed some ugly jmp)

Benoit Poulot-Cazajous (Benoit.Poulot-Cazajous@France.Sun.COM)
28 Nov 1998 10:39:39 +0100


> >> This my patch (from arca-33) should be obviously right and will improve
> >> performance...
> >
> >Have you actually tested it? It breaks any branch prediction hardware that
> >uses a return stack.
>
> The time of 2.1.130 simulation is 2.603s, the timings of 2.1.130 + my
> patch simulation is 2.601s. This is true on P5MMX I don' t know on other
> CPUs (any volunteers?). My patch produce also smaller code and looks like
> more nice to me ;)

It is a lot SLOWER in my K6-2/300 :

2.1.130 simulation : 1.125s
2.1.130 + your patch : 2.954s

It is also slower on a PII/300 :

2.1.130 simulation : 1.790s
2.1.130 + your patch : 3.284s

-- Benoit

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/