SN Systems Tech Blog

Filter:

    Clang Time Trace Feature

    ARTICLE BY: Russell Gallop
    POSTED: Sep 25, 2019
    TAGS: Clang, Compiler, Toolchain

    For many game studios, fast builds are essential to their development process and a lot of time and effort can be spent keeping builds fast. To support this, the PS4 toolchain will shortly support a new Clang feature; time traces. This tells you where the compiler is spending its time, giving you an insight into what the compiler is doing and an insight into your own code.

    READ THE WHOLE POST 

    Analyzing the size of the compiler executable

    ARTICLE BY: Russell Gallop
    POSTED: Jul 17, 2019
    TAGS: Compiler, LLVM Developers Meeting, Toolchain

    The title of this lighting talk is from a bug filed in the early days of the PS4 compiler. It noted that the LLVM-based PS4 compiler was more than 3 times larger than the PS3 compiler. Since then it has almost doubled to over 40MB. For a compiler which targets one system this seems excessive. Executable size can cost in worse cache performance and cost time if transferring for distributed builds.

    READ THE WHOLE POST 

    Verifying Game Developer Assumptions

    ARTICLE BY: Russell Gallop
    POSTED: Apr 22, 2015
    TAGS: Assembly, Compiler, Debug, Toolchain

    Game developers make a number of assumptions about how the compiler works. SN Systems has implemented “Check CFC” (Compile Flow Consistency) to help ensure their assumptions hold true for the PlayStation®4 (PS4) compiler. This has been contributed to the open source LLVM compiler community. Using…

    READ THE WHOLE POST