u/pyler2

15.4k post karma · 2,738 comment karma · joined Aug 2014

  1. 4points

    Best tool / scanner to detect vulnerabilities in APIs? (self.cybersecurity) [Business Security Questions & Discussion]

    1 comments

  2. 0points

    Clang 10 SVN vs GCC 10 SVN - SPEC 2006 benchmarks (SPECint_base2006 score: 35.5 vs. 34.5; Clang is faster) (self.cpp)

    2 comments

  3. 26points

    [Clang Interpreter] Initial patch for the constexpr interpreter (reviews.llvm.org)

    2 comments · source

  4. 9points

    Revec: Program Rejuvenation through Revectorization (arxiv.org)

    6 comments · source

  5. 5points

    Revec: Program Rejuvenation through Revectorization (arxiv.org)

    1 comments · source

  6. 315points

    Mozilla just landed cross-language LTO in Firefox for all platforms (twitter.com)

    69 comments · source

  7. 148points

    Mozilla just landed cross-language LTO in Firefox for all platforms (twitter.com)

    34 comments · source

  8. 49points

    ASM Goto support landed in Clang/LLVM (godbolt.org)

    6 comments · source

  9. 1points

    Any alternative for GGC pragma unroll n for GCC 7? (self.cpp)

    0 comments

  10. 38points

    Clang with just-in-time (JIT) compilation extensions (github.com)

    9 comments · source

  11. 0points

    New "Java" switches in C++? (self.cpp)

    10 comments

pyler2

matrix_vector_product.cpp:408:30: warning: iteration 7158278 invokes undefined behavior [-Waggressive-loop-optimizations]

408 | yy[i] += zz[i*cols+j] * temp;

pyler2

Win tm

pyler2
pyler2

Waiting for IDE support for this. Amazing!

pyler2

P1144?

pyler2

Try clang trunk :) it fully unrolled your C++ code :D

pyler2

This is quite interesting. So we can generate gimple (like gcc IR?) and load it to gcc, to optimize it and generate binary? like LLVM IR we can optimize using opt, compile to asm with llc, etc..

​

Any examples/tutorials?

pyler2

And try Clang even with -stdlib=libc++. Quite amazing numbers.

pyler2

This will probably miss GCC 9.. no activity on the gcc / libstdc++ mailing list..

pyler2

maybe you can also do same comparision for Chromium?

pyler2

but the question is who should write a Rust GCC frontend? :D Mozilla? Too much effort..

pyler2

Have Mozilla investigated a Facebook's BOLT tool to optimalize PGO binary builds even more?

pyler2

post this request to his github repo

pyler2

wow, libc++'s regex is very bad.