On Mon, May 31, 2010 at 5:54 PM, Andrew Pinski <pins...@gmail.com> wrote: > > > Sent from my iPhone > > On May 31, 2010, at 2:48 AM, Eric Botcazou <ebotca...@adacore.com> wrote: > >>> C90 does not have long long either, yet we use it as required (for HWI). >> >> No, we use it when present but we don't require it, see hwint.h. > > Kinda. It depends on the host and target. If the target requires 64bit host > wide ints then we require long long for 32 bit hosts. An example is a cross > compiler from x86 to alpha. > > >> >> -- >> Eric Botcazou >
You can encapsulate HWI in an ADT(abstract data type). I think compiler can and should be host independent, like LLVM. -- 徐持恒(Chiheng Xu) Wuhan,China