Skip to content

Commit

Permalink
Added JCC bugfix flag to clang. (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuald committed Aug 31, 2020
1 parent e095d1c commit 7c13e92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ Testing brainfuck implementations using two code samples (bench.b and mandel.b).
| Nim Clang | 1.94 ± 00.02 | 2.38 ± 00.06 | 35.54 ± 00.86 |
| LDC | 1.94 ± 00.03 | 2.95 ± 00.04 | 35.44 ± 00.41 |
| Kotlin | 1.96 ± 00.01 | 40.54 ± 00.32 | 35.65 ± 00.51 |
| C Clang | 2.05 ± 00.02 | 0.51 ± 00.03 | 41.16 ± 01.39 |
| GDC | 2.07 ± 00.03 | 6.29 ± 00.06 | 37.75 ± 00.69 |
| Vala Clang | 2.11 ± 00.19 | 3.59 ± 01.26 | 38.82 ± 03.23 |
| Rust | 2.18 ± 00.02 | 1.98 ± 00.09 | 39.89 ± 00.79 |
| GCC Go | 2.26 ± 00.05 | 21.95 ± 03.91 | 42.04 ± 00.93 |
| C Clang | 2.31 ± 00.02 | 0.52 ± 00.03 | 40.96 ± 00.85 |
| Java | 2.43 ± 00.04 | 38.65 ± 00.16 | 44.16 ± 00.91 |
| C# .NET Core | 2.49 ± 00.02 | 34.59 ± 00.08 | 45.14 ± 00.96 |
| Go | 2.56 ± 00.01 | 3.05 ± 00.36 | 44.08 ± 01.05 |
Expand Down
3 changes: 1 addition & 2 deletions common/commands.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
GCC_FLAGS := -O3 -Wall -flto -Wa,-mbranches-within-32B-boundaries
# Eventually, enable clang optimization: --x86-branches-within-32B-boundaries
CLANG_FLAGS := -O3
CLANG_FLAGS := -O3 -mbranches-within-32B-boundaries
LIBNOTIFY_FLAGS := -I../common/libnotify ../common/libnotify/target/libnotify.a
NIM_FLAGS := -d:danger --verbosity:0 --opt:speed --hints:off
VALAC_FLAGS := --disable-assert -X -O3 --pkg gio-2.0 --pkg posix
Expand Down

0 comments on commit 7c13e92

Please sign in to comment.