Think In Geek | In geek we trust
SeriesPosts by Bernat RàfalesArchives
  • Fun with vectors in the Raspberry Pi 1 - Part 4

    Jun 27, 2021 • Roger Ferrer Ibáñez • vectors, raspberry pi 1, llvm, compilers, arm

    In the last chapter we devised a way to tame the issue with fpscr. Today we are going to complete the code generation bits that we are still missing so we can start emitting code.

    Read on →

  • Fun with vectors in the Raspberry Pi 1 - Part 3

    Jun 26, 2021 • Roger Ferrer Ibáñez • vectors, raspberry pi 1, llvm, compilers, arm

    In the last chapter we modelled the storage in form of pairs and quadruples of registers that we will use for vectors of double and single precision, respectively.

    But before we can do anything we need to deal with fpscr.

    Read on →

  • Fun with vectors in the Raspberry Pi 1 - Part 2

    Jun 25, 2021 • Roger Ferrer Ibáñez • vectors, raspberry pi 1, llvm, compilers, arm

    In the previous installment we discussed a bit how to generate code using the vector feature of the CPU of the Raspberry Pi 1.

    Let’s start hacking LLVM.

    Read on →

  • Fun with vectors in the Raspberry Pi 1 - Part 1

    Jun 25, 2021 • Roger Ferrer Ibáñez • vectors, raspberry pi 1, llvm, compilers, arm

    Long ago, we saw that the Raspberry Pi 1 has vector computation capabilities. However to the best of my knowledge no compiler attempted to exploit the vector capability in general.

    I think we are going to have some fun in trying to fix this.

    Read on →

  • RAII, locks and clang-tidy

    Mar 1, 2021 • Roger Ferrer Ibáñez • c++, raii, clang-tidy, locks

    A colleague of mine spent some time chasing a bug in a C++ library related to concurrency.

    At the end it all boiled down to a silly declaration that wasn’t one.

    Read on →

« Older Newer »

Powered by Jekyll. Theme based on whiteglass
Subscribe via RSS