www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - LLVM updates

reply bearophile <bearophileHUGS lycos.com> writes:
There are some improvements in the last LLVM V.2.5, among them now LLVM
provides intrinsics for (some) arithmetic with overflow operations:
http://llvm.org/docs/LangRef.html#int_overflow

Introducing such feature into D (LDC and more) is even simpler now :-)

Bye,
bearophile
Mar 03 2009
next sibling parent reply Daniel Keep <daniel.keep.lists gmail.com> writes:
bearophile wrote:
 There are some improvements in the last LLVM V.2.5, among them now LLVM
provides intrinsics for (some) arithmetic with overflow operations:
 http://llvm.org/docs/LangRef.html#int_overflow
 
 Introducing such feature into D (LDC and more) is even simpler now :-)
 
 Bye,
 bearophile
http://icanhascheezburger.files.wordpress.com/2007/12/funny-pictures-begging-cat.jpg DO WANT. :D -- Daniel
Mar 03 2009
parent Frits van Bommel <fvbommel REMwOVExCAPSs.nl> writes:
Daniel Keep wrote:
 
 bearophile wrote:
 There are some improvements in the last LLVM V.2.5, among them now LLVM
provides intrinsics for (some) arithmetic with overflow operations:
 http://llvm.org/docs/LangRef.html#int_overflow

 Introducing such feature into D (LDC and more) is even simpler now :-)

 Bye,
 bearophile
http://icanhascheezburger.files.wordpress.com/2007/12/funny-pictures-begging-cat.jpg DO WANT. :D
This was 5 days ago, according to dsource: <http://dsource.org/projects/ldc/changeset/1001%3A7a0238db1962> You're welcome :).
Mar 03 2009
prev sibling parent Tomas Lindquist Olsen <tomas.l.olsen gmail.com> writes:
On Tue, Mar 3, 2009 at 11:58 AM, bearophile <bearophileHUGS lycos.com> wrote:
 There are some improvements in the last LLVM V.2.5, among them now LLVM
provides intrinsics for (some) arithmetic with overflow operations:
 http://llvm.org/docs/LangRef.html#int_overflow

 Introducing such feature into D (LDC and more) is even simpler now :-)

 Bye,
 bearophile
Frits van Bommel has already added support for the new intrinsics to LDC :D -Tomas
Mar 03 2009