Tango 0.96 beta2 released
Sean Kelly
sean at f4.ca
Fri Mar 16 17:13:58 PDT 2007
Frits van Bommel wrote:
> Sean Kelly wrote:
>
> > That said, if someone wants to
>> pass on the relevant setjmp headers for a 64-bit glibc then I'll see
>> about expanding support.
>
> You mean the ones attached? Or do you need any others?
That should do it. Though if there are any related comments on what
registers are stored in __jmp_buf, that would come in handy. The ones I
have for Linux contain this in bits/setjmp.h:
#if defined __USE_MISC || defined _ASM
# define JB_BX 0
# define JB_SI 1
# define JB_DI 2
# define JB_BP 3
# define JB_SP 4
# define JB_PC 5
# define JB_SIZE 24
#endif
Your headers don't contain that however, so I'm not entirely sure how to
slice & dice jmp_buf to inject the proper information. I'll google a
bit and try to find out as well.
> > With this in mind, I don't suppose GDC yet
>> supports inline ASM for the new 64-bit registers, etc?
>
> Not using the regular DMD-style with Intel syntax, IIRC. But the
> "extended asm" (using at&t syntax in strings) supports them, I think.
> Actually, if it's anything like regular GCC then it's almost literally
> dumped into the input sent to gas (the gnu assembler).
Oh, I didn't know GDC supported this the at&t string syntax. Interesting.
Sean
More information about the Digitalmars-d-announce
mailing list