Skip to content

Instantly share code, notes, and snippets.

View mattgodbolt's full-sized avatar
💭
Hacking on Compiler Explorer (when I can)

Matt Godbolt mattgodbolt

💭
Hacking on Compiler Explorer (when I can)
View GitHub Profile
@mattgodbolt
mattgodbolt / hits.csv
Created August 27, 2016 19:45
GCC Explorer hits by compiler July 2015 to August 2016
Event Action Total Events Unique Events Event Value Avg. Value
g530 992,513 72,237 531,774 0.54
g520 633,096 47,732 358,557 0.57
g6 412,648 32,689 207,802 0.50
clang380 381,999 27,562 240,131 0.63
armg453 203,148 30,436 104,969 0.52
clang37x 200,480 14,864 152,897 0.76
g482 195,493 9,276 101,412 0.52
g492 149,502 12,417 80,732 0.54
clang371 131,152 9,696 96,763 0.74
10 PRINT "Matt is very cool ";
20 GOTO 10
void main() {}
10 PRINT "Nik is a wanker ";
20 GOTO 10
@mattgodbolt
mattgodbolt / results.txt
Created January 30, 2016 22:09
Results of static branch prediction attempts
model name : Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz
c.f. https://github.com/mattgodbolt/agner
******************************************************************************
Ahead not taken
******************************************************************************
Processor 0
Clock Core cyc Instruct BrTaken BrMispred
548996 517178 1501711 0 3
500608 500606 1501707 0 2
10 PRINT "Matt is cool"
20 GOTO 10