This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] ppc vdso, A working gettimeofday






Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote on 04/30/2005
07:23:49 PM:

>
> You go through the burden of setting up a descriptor and calling through
> it, which means unnecessary TOC loads etc... Best here is probably to
> write __gettimeofday() entirely in assembly and to do a simpler pointer
> call (or alternatively, just use an inline asm for the call itself, but
> that is probably still overkill). The vDSO case doesn't even need a
> stackframe to be built
>
What part of working kludge don't you understand? ;-)

Yes I could do that but I wanted do demonstrate the general cross platform
case. I think that I have already demonstrated my ability to write
assembler...


Steven J. Munroe
Linux on Power Toolchain Architect
IBM Corporation, Linux Technology Center


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]