[LLVMdev] cross compiling for arm-softfloat-linux-gnu (was troubles with llvm-gcc 4.0 and APFloat on X86_64)

Chris Lattner sabre at nondot.org
Mon Oct 22 13:56:06 PDT 2007


On Mon, 22 Oct 2007, Dale Johannesen wrote:
> In principle I think keeping IEEE float and double in an endian- 
> independent form in the IR files is a good idea.  BUT: I'm told 
> retaining the ability to use files in the existing format is a 
> requirement (so floats still need to occupy 8 bytes).  Since ARM target 
> doesn't currently work that one is a reasonable exception IMO, but 
> changing the format for x86, for example, would not be greeted with joy.

Yep this is a good way of putting it.  Also, if you want to *add* a target 
data specifier to capture FP endianness (in the target memory, not in the 
IR files) that would be just fine,

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list