AMD64 ABI compatibility
Nicolas Alt
nalt@apple.com
Thu Aug 2 01:51:00 GMT 2007
Kai,
did you make your diff against the current CVS checkout or against
your first patch? Should your changes already work for some cases? I
would like to test if they produce the right instructions. However, I
do not have enough insight into gcc to work on it myself.
Thanks,
Nicolas
On Aug 1, 2007, at 5:48 , Kai Tietz wrote:
> Hi Jan,
>
> Jan Hubicka wrote on 31.07.2007 23:40:40:
>
>>> Hi Kai,
>>>
>>> so, could you resolve the remaining issues? Or have you kind of
>>> paused the project?
>>>
>>> Cheers,
>>> Nicolas
>>>
>>>
>>> On Jul 12, 2007, at 2:14 , Kai Tietz wrote:
>>>
>>>> Hi,
>>>>
>>>> I am nearly through :) The remaining macros left to be ported are
>>>> REGPARM_MAX and SSE_REGPARM_MAX. The sysv_abi uses 6 regs and 8
>>>> sses,
>>>> ms_abi uses 4 regs and 4 sse registers. The problem is for example
>>>> the use
>>>> in i386.md of SSE_REGPARM_MAX without any hint, how to choose the
>>>> required
>>>> abi. Do you have an idea how this could be done ?
>>
>> This shoul not be dificult - ix86_regparm is used in
>> ix86_function_regparm, init_cumulative_args,
>> setup_incoming_varargs_64
>> functions. In all those cases you know the function declaration and
>> thus you can take a look if it is call to different ABI and overwrite
>> the value.
>
> Ok, here is my update.
>
> Cheers,
> i.A. Kai Tietz
>
>
>
> | (\_/) This is Bunny. Copy and paste Bunny
> | (='.'=) into your signature to help him gain
> | (")_(") world domination.
>
> ----------------------------------------------------------------------
> --------------------
> OneVision Software Entwicklungs GmbH & Co. KG
> Dr.-Leo-Ritter-Straße 9 - 93049 Regensburg
> Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 -
> www.OneVision.com
> Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
> Handelsregister: HRA 6744, Amtsgericht Regensburg
> Komplementärin: OneVision Software Entwicklungs Verwaltungs GmbH
> Dr.-Leo-Ritter-Straße 9 – 93049 Regensburg
> Handelsregister: HRB 8932, Amtsgericht Regensburg - Geschäftsführer:
> Ulrike Döhler, Manuela Kluger
>
> <amd64_abis_2.txt>
More information about the Gcc
mailing list