Commit Graph

8103 Commits

Author SHA1 Message Date
gingerBill
08f3be70cf Add helper methods to the asm_tables_amd64.cpp 2026-08-12 21:18:10 +01:00
gingerBill
dbe5761bb0 Minor change 2026-08-12 16:19:58 +01:00
gingerBill
5eb0239474 Utilize triple quote strings within the C++ asm table generation 2026-08-12 16:09:18 +01:00
gingerBill
43f078aedc Infer asm #side_effects where possible from the mnemonics 2026-08-12 14:52:37 +01:00
gingerBill
b32846bb35 Minor change to implies_side_effects 2026-08-12 14:16:10 +01:00
gingerBill
2300a48782 Infer #clobber memory and #clobber cc from the mnemonics directly 2026-08-12 12:45:48 +01:00
gingerBill
b9a7ed9942 Add amd64 clobber table to asm_tables_amd64.cpp 2026-08-12 11:33:07 +01:00
gingerBill
6bd2fd7e8b Add clobber table for x86 2026-08-12 11:25:03 +01:00
gingerBill
21ad041232 Handle prefixes better 2026-08-11 17:44:55 +01:00
gingerBill
5621cbc85a Improve scoring for operand error handling 2026-08-11 15:06:14 +01:00
gingerBill
ce6346a20f Check immediates if they support the range or are not allowed (e.g. floats) 2026-08-11 14:52:21 +01:00
gingerBill
ed2bc91596 Add some missing vector instructions to the x86 encoding table 2026-08-11 14:18:37 +01:00
gingerBill
ef21ffa285 Templatize the check_asm.cpp code ready for other architectures 2026-08-11 14:00:41 +01:00
gingerBill
c717cb4ae9 Implement check_asm_operand_size_class 2026-08-11 13:08:39 +01:00
gingerBill
b0364d2c60 Improve error message for invalid operand kinds 2026-08-11 11:56:03 +01:00
gingerBill
400203c344 Verify the asm instruction operands against the Encoding.ops 2026-08-11 11:47:48 +01:00
gingerBill
5ca7638bb2 Check asm instruction operand count 2026-08-11 11:11:53 +01:00
gingerBill
70ca5c0936 Validate the names of mnemonics, prefixes, and registers for amd64 2026-08-11 10:44:34 +01:00
gingerBill
d827be77cd Begin work on generating the AMD64 asm tables for C++ 2026-08-11 10:15:41 +01:00
Fernando Nunes
3020cecd08 core/odin/tokenizer: fix broken double-checked lock in init 2026-08-08 20:25:52 -03:00
Alex
1b14ce9453 Impl simd arm neon table lookup 2026-08-08 18:59:07 +03:00
Alexander Zhura
62afbd45f8 Impl simd arm neon table lookup 2026-08-08 18:49:08 +03:00
Jeroen van Rijn
512e33e633 Merge pull request #7255 from mororo18/perf/bytes-index-any-bitset
core/bytes: optimize `index_any` with a byte bitset
2026-08-08 16:54:05 +02:00
Victor Mororó
11c9d6a3dd core/bytes: optimize index_any with a byte bitset 2026-08-08 11:05:20 -03:00
Jeroen van Rijn
1f5c523844 Merge pull request #7203 from maxrabin/fix/simd-grammar
Fix grammar in simd.odin doc comment
2026-08-08 01:58:27 +02:00
gingerBill
b5f5b02bfb Merge pull request #7247 from michtesar/fix/thread_pool_docs
Clarify completed task handling in thread pools
2026-08-07 19:12:37 +02:00
jack gleeson
2162e7605e core/unicode/utf8: Fix truncated text for grapheme clusters 2026-08-07 10:36:14 -06:00
Michael Tesař
713c7017b6 Clarify completed task handling in thread pools 2026-08-07 15:09:08 +02:00
Jeroen van Rijn
902106fc64 Merge pull request #7216 from alexthed1rk/impl-simd-arm-neon-bit-manip
Impl simd arm neon bit manipulation
2026-08-06 14:42:51 +02:00
Jeroen van Rijn
1daec0865c Merge pull request #7234 from michtesar/fix/net-percent-encode
Fix percent encoding for bytes < 0x10
2026-08-06 13:54:36 +02:00
Michael Tesař
56d8293ae0 Restore formatting and remove unused import 2026-08-05 23:58:33 +02:00
Michael Tesař
c7af2576f5 Zero-pad percent_encode escapes to two uppercase hex digits 2026-08-05 23:45:34 +02:00
Victor Mororó
7ff00d39bd os: resolve relative path before SHFileOperationW in remove_all (windows) 2026-08-05 08:45:01 -03:00
Yawning Angel
65450b78ab core/crypto/mlkem: Fix compiler error on key_size(&Encapsualtion_Key) 2026-08-05 18:26:44 +09:00
Yawning Angel
a51cdd43bf core/crypto/kmac: Early reject pathologically short tags in verify 2026-08-05 18:07:32 +09:00
Yawning Angel
97b38169de core/crypto/chacha20: Explicitly allow the one final block
Only affects the incremental use case where the internal counter is
exactly the maximum.
2026-08-05 18:04:06 +09:00
Yawning Angel
3bdb32949b core/crypto/noise: Reject encrypt/decrypt when n == 2^64 - 1
Spec defines the maximal value of `n` as reserved.
2026-08-05 17:33:31 +09:00
Yawning Angel
6e682a768e core/crypto/pbkdf2: Ensure non-zero iteration count 2026-08-05 17:31:31 +09:00
Alexander Zhura
1fd3cbb0b5 Impl simd arm neon bit manipulation 2026-08-04 23:50:47 +03:00
Yawning Angel
e57af19fcd core/crypto/_fiat: Fix coditional in ensure
Callers in core also check so there is no user visible impact.
2026-08-04 20:07:19 +09:00
gingerBill
6c2bb94ceb Merge pull request #7206 from ssenthilnathan3/fix/os-glob-clone
Fix os.glob not cloning pattern when no meta characters present
2026-08-04 10:52:43 +02:00
Senthilnathan
b838b1bf25 fixes os.glob not cloning pattern when no meta characters present 2026-08-04 12:19:03 +05:30
Alexander Zhura
cc71be2a5b Impl fix simd arm sha arch 2026-08-04 00:19:32 +03:00
Max Rabin
e9cb1e7019 Fix grammar in simd.odin doc comment 2026-08-03 22:26:18 +03:00
A1029384756
1ac0b9bcdc [debug/trace] sync allocator with core:mem 2026-08-03 10:09:39 -04:00
Phil
3e24e2601c zero tracking_allocator.allocation_map and tracking_allocator.bad_free_array in destroy. Allows for re-using the struct again after an init. Otherwise, there would be dangling references. e.g. to tracking_allocator.allocation_map.data 2026-08-02 14:26:19 -07:00
gingerBill
541563d472 Merge pull request #7187 from Riyyi/master
Update stale os.flags file doc
2026-08-02 14:53:10 +02:00
Jeroen van Rijn
7c4dd2ea53 Merge pull request #7176 from GPotoshin/scanner_octal_escape
Fix octal escape parsing by core:text/scanner
2026-08-02 13:17:27 +02:00
Riyyi
47de593690 Update stale os.flags file doc 2026-08-02 03:15:30 +02:00
gingerBill
fa706198ba Merge pull request #7180 from BradLewis/fix/parser-field-specialization-end
Correct end position for fields with a specialization
2026-08-01 16:16:51 +02:00