x86-64 fixes: Part 4

Andreas Jaeger aj@suse.de
Fri, 25 Oct 2002 15:04:59 +0200


Kevin Ryde <user42@zip.com.au> writes:

> Andreas Jaeger <aj@suse.de> writes:
>>
>> +dnl  m4 macros for x86-64 assembler.
>
> Hmm.  Yes, I think that can be separate.  Most of the nonsense in
> x86-defs.m4 should be irrelevant to x86_64.

I removed those that I was sure weren't needed but I fear I left some
over.

>> +define(`call_mcount',
>
> That will probably be completely different.  I haven't had a chance to
> look at the ABI spec, if mcount is standardized then hopefully most of
> the conditional nonsense can disappear for a start.

mcount is not standardized yet.  But I'm currently looking in this
area.

>
> (Of course support for profiling the asm routines is not essential,
> just nice to have if it can be done without too much trouble.)
>
>> +dnl  Usage: shldl(count,src,dst)
>
> That's purely an i386 syntax workaround, should be unnecessary for
> x86_64.

Can you remove it?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj