1. 27 Jul, 2020 4 commits
  2. 21 Jul, 2020 6 commits
  3. 20 Jul, 2020 1 commit
  4. 15 Jul, 2020 3 commits
  5. 09 Jul, 2020 1 commit
  6. 08 Jul, 2020 6 commits
  7. 07 Jul, 2020 2 commits
  8. 01 Jul, 2020 2 commits
  9. 30 Jun, 2020 1 commit
  10. 28 Jun, 2020 4 commits
    • Bernhard Schommer's avatar
      Move shared code in new file. · ad2ea9c2
      Bernhard Schommer authored
      The name_of_register and register_of_name function are shared between
      all architectures and can be moved in a common file.
      ad2ea9c2
    • Bernhard Schommer's avatar
      Remove the `can_reserve_register` function. · faa1d7fb
      Bernhard Schommer authored
      The function is in fact just a call to the
      function`is_callee_save_register` from `Conventions1.v`.
      faa1d7fb
    • Bernhard Schommer's avatar
      Use library function. · 127b00c5
      Bernhard Schommer authored
      The function String.uppercase was deprecated and the replacement
      function String.upercase_ascii was only available from OCaml 4.03.0.
      Since the minimal OCaml version is now 4.05.0 we can use the function
      String.upercase_ascii.
      127b00c5
    • Bernhard Schommer's avatar
      Use Hashtbl.find_opt. · 19aed83c
      Bernhard Schommer authored
      Replace the pattern `try Some (Hashtbl.find ...) with Not_found -> None`
      by a call to the function Hashtbl.find_opt.
      19aed83c
  11. 25 Jun, 2020 2 commits
    • Xavier Leroy's avatar
      Eliminate known builtins whose result is ignored · 7fe7aabe
      Xavier Leroy authored
      A typical example is `(void) __builtin_sel(a, b, c)`.
      
      It is safe to generate zero code for these uses of builtins
      because builtins whose semantics are known to the compiler
      are pure.  Other builtins with side effects (e.g. `__builtin_trap`)
      are not known and will remain in the compiled code.
      
      It is useful to generate zero code for these uses of builtins
      because some of them (e.g. `__builtin_sel`) must be transformed
      into proper CminorSel expressions during instruction selection.
      Otherwise, they propagate all the way to ExpandAsm, causing
      a "not implemented" error there.
      7fe7aabe
    • Xavier Leroy's avatar
      Improve printing of builtin function invocations · c6b86fd5
      Xavier Leroy authored
      In particular __builtin_sel.
      c6b86fd5
  12. 21 Jun, 2020 2 commits
  13. 15 Jun, 2020 2 commits
  14. 08 Jun, 2020 1 commit
  15. 05 Jun, 2020 2 commits
  16. 01 Jun, 2020 1 commit