User Tools

Site Tools


notes:homebrew:6502_cc_performance

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:homebrew:6502_cc_performance [2023/06/09 18:22] asienotes:homebrew:6502_cc_performance [2023/09/27 17:03] (current) asie
Line 8: Line 8:
     * Tested compilers: cc65, gcc-6502, KickC, lcc65, llvm-mos, sdcc, vbcc.     * Tested compilers: cc65, gcc-6502, KickC, lcc65, llvm-mos, sdcc, vbcc.
     * This is the most comprehensive one. Focuses on typical benchmark samples.     * This is the most comprehensive one. Focuses on typical benchmark samples.
-    * They appear to use ''-O2'' as the size optimization flag for llvm-mos, which is odd - ''-Os'' gives much better results.+    * Miscompilations should not be taken at face value; they tend to [[https://github.com/iss000/oricCompilerBenchmark/issues/7|modify runtime/standard library code]] to fit their build system.
  
   * [[https://sgadrat.itch.io/super-tilt-bro/devlog/219534/benchmark-c-compilers-for-the-6502-cpu|sgadrat's Super Tilt Bro benchmark]] ([[https://github.com/sgadrat/6502-compilers-bench|Source]])   * [[https://sgadrat.itch.io/super-tilt-bro/devlog/219534/benchmark-c-compilers-for-the-6502-cpu|sgadrat's Super Tilt Bro benchmark]] ([[https://github.com/sgadrat/6502-compilers-bench|Source]])
notes/homebrew/6502_cc_performance.1686334970.txt.gz · Last modified: 2023/06/09 18:22 by asie