Commit Graph

33 Commits

Author SHA1 Message Date
e83b690822 2019 day 6 : add structure diagrams (Thanks Emacs' artist-mode !) 2022-09-29 19:41:51 +02:00
0004b2091e 2019 day 6: remove dead code, trie contains object ptr instead of object 2022-09-28 18:47:20 +02:00
a201283599 2019 day 6: parts 1 and 2, before cleaning (lots of printf ;-) 2022-09-28 15:25:01 +02:00
d5c37f5d48 cosmetic changes 2022-09-28 15:24:18 +02:00
1c10926cf9 bits.h: add rolXX(), rorXX(), ilog2(), bits_per(), etc... 2022-09-28 15:22:25 +02:00
94c6b2eec5 add attribute(__pure__) 2022-09-28 15:21:11 +02:00
b50f3a7098 switch from gnu99 to gnu11 2022-09-28 15:16:41 +02:00
8783eca22c 2019 day 6 init 2022-09-25 12:28:40 +02:00
3d18e36ff4 2019 day 5: fix wrong link in README, replace struct with typedefs 2022-09-25 12:26:07 +02:00
b6af1f3edb 2019 day 5: Update results & README 2022-09-24 18:48:20 +02:00
Bruno
68d81fd1da 2019 day5: cleaner (final ?) version 2022-09-24 12:13:14 +02:00
Bruno
b206ee5b87 2019 day5: fix run-example.sh reversed results 2022-09-24 12:12:12 +02:00
Bruno
13c977957f 2019 day 5: working version before cleanup 2022-09-24 08:01:57 +02:00
Bruno
d0adb2378a 2019 day 5: set all examples + test script 2022-09-24 07:55:47 +02:00
d1221ab086 2019 day 5: add examples from day 2, add _stringify in br.h 2022-09-22 10:11:24 +02:00
f2b32f236d 2019 day 5 init (with day 2 code) 2022-09-21 09:43:50 +02:00
696273367a 2019: update Makefile from day 4 2022-09-21 09:27:33 +02:00
f7336d6814 when rule 4 is violated, skip to next possible number 2022-09-20 22:01:43 +02:00
a461bf2842 typo 2022-09-20 20:02:23 +02:00
0ce9f9aafa Add --show-error-list=yes to valgrind options. Invalid opcode again!
To run "make memcheck", uncomment Makefile line 36 (-m no-tbm).
Without this, I get :
vex amd64->IR: unhandled instruction bytes: 0x8F 0xEA 0xF8 0x10 0xFF 0x23 0x1D 0x0 0x0 0x89
vex amd64->IR:   REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
vex amd64->IR:   VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=NONE
vex amd64->IR:   PFX.66=0 PFX.F2=0 PFX.F3=0
==888233== valgrind: Unrecognised instruction at address 0x109336.
2022-09-20 19:58:30 +02:00
ea530e7d8d 2019 day 4, minor is_valid() simplification 2022-09-20 19:57:27 +02:00
2694f8d4d0 2019 day 4, parts 1 and 2 2022-09-20 19:22:13 +02:00
f9a80239b4 2019 day 4 init 2022-09-20 13:55:15 +02:00
ffb27a8338 2019 day 3 cleanup 2022-09-20 13:39:08 +02:00
dbfc914efb test newline in org paragraph 2022-09-19 20:15:30 +02:00
c4772bb416 typo in day03 README.org 2022-09-19 20:05:13 +02:00
bc8dac927a fix broken Makefile for valgrind + fix day02 memory leak. 2022-09-19 20:01:11 +02:00
42d1f7bf48 README.org cleanup, update RESULTS.txt, build README.org with Makefile 2022-09-19 19:59:26 +02:00
828d13f967 2019 day 3 + add br.h for some useful stuff (min, max... macros) 2022-09-19 19:35:37 +02:00
b67600957e 2019 day3 init 2022-09-18 18:04:21 +02:00
0d7424d9c6 2019 day 2 2022-09-18 17:30:46 +02:00
d9b0f7b7c4 2019 day 1 2022-09-18 14:04:30 +02:00
378df8cf5b init 2019 2022-09-18 13:35:09 +02:00