gingerBill
|
f57201bbd1
|
Remove unneeded semicolons from the core library
|
2021-08-31 22:32:53 +01:00 |
|
gingerBill
|
2db6fea665
|
Remove dead code and add debug messages
|
2021-08-31 22:31:43 +01:00 |
|
gingerBill
|
b450a853d5
|
Strip unneeded semicolons from vendor library
|
2021-08-31 22:26:58 +01:00 |
|
gingerBill
|
251da264ed
|
Remove unneeded semicolons from the core library
|
2021-08-31 22:21:13 +01:00 |
|
gingerBill
|
b176af2742
|
Add semicolon stripping command: odin strip-semicolon, has the same parameters as odin check
|
2021-08-31 22:20:36 +01:00 |
|
gingerBill
|
1fff96e088
|
Make -insert-semicolon the default now
|
2021-08-31 21:13:53 +01:00 |
|
gingerBill
|
d399d2256b
|
Change to [^][N] to just [^]
|
2021-08-31 20:39:32 +01:00 |
|
Jeroen van Rijn
|
27fd702692
|
Merge pull request #1111 from Kelimion/libtommath
Slim down LibTomMath compile.
|
2021-08-29 16:01:42 +02:00 |
|
gingerBill
|
5f29288254
|
Remove Syscall type
|
2021-08-29 15:00:35 +01:00 |
|
gingerBill
|
7c108dbf48
|
Update usage of syscall to use the intrinsics
|
2021-08-29 14:56:47 +01:00 |
|
Jeroen van Rijn
|
5c7cb393dc
|
Slim down LibTomMath compile.
|
2021-08-29 15:54:56 +02:00 |
|
gingerBill
|
54b37573c9
|
Add intrinsics.syscall (for Linux and Darwin only)
|
2021-08-29 13:17:06 +01:00 |
|
gingerBill
|
c3a64c2a59
|
Merge branch 'master' of https://github.com/odin-lang/Odin
|
2021-08-29 11:45:16 +01:00 |
|
gingerBill
|
a5c31bbee0
|
Add map_insert which returns the pointer to inserted value
|
2021-08-29 11:45:11 +01:00 |
|
Jeroen van Rijn
|
d6bd56da2c
|
Merge pull request #1109 from Kelimion/makefile
Fix `Makefile`.
|
2021-08-28 22:41:06 +02:00 |
|
Jeroen van Rijn
|
17d31bfad6
|
Fix Makefile.
|
2021-08-28 22:40:38 +02:00 |
|
Jeroen van Rijn
|
89ffd40d70
|
Merge pull request #1108 from Kelimion/bigint
big: Add two more asymptotically optimal multiplication methods.
|
2021-08-28 18:19:55 +02:00 |
|
Jeroen van Rijn
|
737b4fde1c
|
big: Add _private_int_mul_balance.
|
2021-08-28 18:17:57 +02:00 |
|
Jeroen van Rijn
|
2cfd6b7024
|
big: Add _private_int_mul_high.
|
2021-08-28 14:59:13 +02:00 |
|
gingerBill
|
713cd728ba
|
Merge pull request #1107 from odin-lang/mv/libc-errors
Fix libc errors in Windows and add some tests.
|
2021-08-28 12:51:22 +01:00 |
|
vassvik
|
f9bea5b791
|
Updated comment for Windows version of setjmp.
|
2021-08-28 13:41:14 +02:00 |
|
Jeroen van Rijn
|
586641d77f
|
Merge pull request #1106 from Kelimion/bigint
big: Add `int_is_square` and Montgomery Reduction.
|
2021-08-28 13:36:36 +02:00 |
|
vassvik
|
8ca4286624
|
Add core:c/libc tests
|
2021-08-28 13:32:32 +02:00 |
|
vassvik
|
165118c641
|
Fix runtime crash for setjmp in Windows related to an hidden second argument not normally accessible needing to be set to 0.
|
2021-08-28 13:32:13 +02:00 |
|
Jeroen van Rijn
|
852643e6ba
|
Add tests for `internal_int_is_square'.
|
2021-08-28 13:27:46 +02:00 |
|
vassvik
|
102d080a31
|
Fix core:c/libc Windows compilation errors by linking to the right libraries.
Fix some name typos and missing types in Windows.
Add explicit cast on MB_CUR_MAX
|
2021-08-28 13:27:41 +02:00 |
|
Jeroen van Rijn
|
ec4cae4f04
|
big: Add int_is_square.
|
2021-08-27 16:41:16 +02:00 |
|
Jeroen van Rijn
|
4153898c55
|
big: Add Montgomery Reduction.
|
2021-08-27 16:41:16 +02:00 |
|
Jeroen van Rijn
|
33df335ec9
|
big: Add internal_int_montgomery_calc_normalization.
|
2021-08-27 16:41:16 +02:00 |
|
Jeroen van Rijn
|
893cc013b5
|
big: Add Montgomery reduction.
|
2021-08-27 16:41:16 +02:00 |
|
gingerBill
|
b88e945268
|
ERROR_BLOCK() any usages of "Did you mean?" like behaviour whilst iterating across a scope entry map
|
2021-08-27 12:14:51 +01:00 |
|
gingerBill
|
bf56e3ea8d
|
Improve strings.index_any and strings.last_index_any
|
2021-08-27 12:07:57 +01:00 |
|
gingerBill
|
284acc37f9
|
Update SDL scancodes to have the same C enums equivalent global values
|
2021-08-27 11:38:29 +01:00 |
|
gingerBill
|
582559f7ac
|
Correct did you mean logic and make thread-safe-er
|
2021-08-27 11:18:38 +01:00 |
|
gingerBill
|
53556d9bd2
|
Disable local mutex for the time being.
|
2021-08-26 23:16:57 +01:00 |
|
gingerBill
|
da79124e5d
|
Use local mutex for each AstFile.arena
|
2021-08-26 23:10:15 +01:00 |
|
gingerBill
|
2f34f1283a
|
Make thread_join be more correct
|
2021-08-26 22:42:56 +01:00 |
|
gingerBill
|
f973d271cf
|
Add mutex around condition_broadcast
|
2021-08-26 22:28:09 +01:00 |
|
gingerBill
|
4625b25287
|
Wrap linux specific code for internal_thread_proc
|
2021-08-26 22:26:51 +01:00 |
|
gingerBill
|
8d8b3fd071
|
Add missing header
|
2021-08-26 22:24:26 +01:00 |
|
gingerBill
|
a852c17614
|
Don't permit any signal delivery to threads on Linux
|
2021-08-26 22:20:10 +01:00 |
|
gingerBill
|
b33bf3f704
|
Correct race condition and incorrect usage of condition_signal outside of a mutex lock
|
2021-08-26 22:17:51 +01:00 |
|
gingerBill
|
726788a483
|
Treat Type_Tuple closer to a Type_Struct in lb_type
|
2021-08-26 22:01:02 +01:00 |
|
gingerBill
|
cdd3560702
|
Merge pull request #1103 from odin-lang/new-thread-pool
Improved Thread Pool implementation for the Compiler
|
2021-08-26 21:44:02 +01:00 |
|
gingerBill
|
6d49df1d87
|
Don't use the thread pool if worker count is 0
|
2021-08-26 21:40:54 +01:00 |
|
gingerBill
|
ac191bd31f
|
Simplify logic for -thread-count:1
|
2021-08-26 21:30:23 +01:00 |
|
gingerBill
|
ad3a3547d6
|
Unify thread pool logic across the rest of the compiler, using a global thread pool
|
2021-08-26 21:22:30 +01:00 |
|
gingerBill
|
aba14c43ac
|
Fix typo
|
2021-08-26 17:57:29 +01:00 |
|
gingerBill
|
25c3fd48f0
|
Improved ThreadPool implementation
|
2021-08-26 17:56:28 +01:00 |
|
gingerBill
|
e45aa68c14
|
Remove unneeded +1 for outstanding_task_count
|
2021-08-26 16:10:32 +01:00 |
|