[llvm-commits] new patches for compiling linux with integrated-as

David Woodhouse dwmw2 at infradead.org
Sat Feb 1 08:28:05 PST 2014


On Fri, 2014-01-31 at 12:34 +0000, David Woodhouse wrote:
> 
> Maybe, in fact, we should look at magically metamorphosing the
> AsmToken::Integer tokens into a new type AsmToken::BigNum if the value
> is larger than 64 bits? That might make the whole thing a lot simpler
> than updating *all* users of AsmToken::Integer to cope with the fact
> that it might now be larger.

Having pondered this a bit more (and implemented to see if it gives me a
warm fuzzy feeling), I think it's the right approach. Committed in
r200613 (BigNum) and r200614 (.octa).

It looks like there's a bug with APInt processing large decimal numbers,
but that's a pre-existing and orthogonal bug AFAICT. I'll look into that
shortly. In the meantime .octa works just fine for hex, which is the
primary use case and the only one you'd hooked up in the first place.

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5745 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140201/4c3c40c0/attachment.bin>


More information about the llvm-commits mailing list