search for: safe_math

Displaying 4 results from an estimated 4 matches for "safe_math".

2009 Jul 18
0
[LLVMdev] speed and code size issues
...compile some of the 7 million functions. llvm-gcc and clang are the only ones we tested that actually get them all right. To compile these functions this code needs to be prepended: #include <limits.h> #include <stdint.h> #include "safe_abbrev.h" #include "safe_math.h" The safe math headers are here: http://www.cs.utah.edu/~regehr/safe_math/ Anyway I just throw this out there. People on this list have told me before that missed-optimization bugs are not considered very interesting. The ideal result (from my point of view as a compiler consumer) w...
2009 Jul 17
9
[LLVMdev] speed and code size issues
So it would appear that llvm-gcc and clang are both slower than gcc4 which is infamous for being slow at compiling code, and yes this is with a release build/--enable-optimizations. This seems to go against notes such as http://clang.llvm.org/features.html#performance which claim clang is signifcantly faster than gcc. Below are some times and the larger object files when compiling an i386
2009 Jul 18
1
[LLVMdev] speed and code size issues
...llvm-gcc and clang are the > only ones we tested that actually get them all right. > > To compile these functions this code needs to be prepended: > > #include <limits.h> > #include <stdint.h> > #include "safe_abbrev.h" > #include "safe_math.h" > > The safe math headers are here: > > http://www.cs.utah.edu/~regehr/safe_math/ > > Anyway I just throw this out there. People on this list have told me > before that missed-optimization bugs are not considered very interesting. > The ideal result (from my...
2009 Jul 18
2
[LLVMdev] speed and code size issues
...ctions. llvm-gcc and clang are the > only ones we tested that actually get them all right. > > To compile these functions this code needs to be prepended: > > #include <limits.h> > #include <stdint.h> > #include "safe_abbrev.h" > #include "safe_math.h" > > The safe math headers are here: > > http://www.cs.utah.edu/~regehr/safe_math/ > > Anyway I just throw this out there. People on this list have told me > before that missed-optimization bugs are not considered very interesting. > The ideal result (from my point...