Commit Graph

18962 Commits

Author SHA1 Message Date
gingerBill
125ae351dc Merge pull request #7440 from corleypc/osize-fix
Fixes -o:size
2026-08-24 14:12:38 +01:00
gingerBill
2f588e0329 Correct clobbering for instructions which did not write actually write to memory 2026-08-24 12:20:45 +01:00
gingerBill
39afdfc609 Begin work on improving #pure error handling 2026-08-24 12:13:24 +01:00
gingerBill
7ebc5c462e Correct #pure checking for internal branches and effect volatility 2026-08-24 11:57:34 +01:00
gingerBill
c3c3aa1533 Add #pure directive for asm templates 2026-08-24 11:46:07 +01:00
gingerBill
34e7a3bb58 Update binary tables 2026-08-24 11:02:06 +01:00
gingerBill
c41c0fb376 Add non-deterministic flags to x86 2026-08-24 11:01:22 +01:00
Mihail Moskov
74ac336ef1 fixes -o:size 2026-08-24 12:53:05 +03:00
gingerBill
2f2ab370e0 Fix the actual check for reading from a register that has not be written to yet 2026-08-24 10:37:59 +01:00
gingerBill
874e3c32f3 Merge pull request #7426 from mfbulut/no-crt-windows
Fix -no-crt on windows
2026-08-24 09:42:43 +01:00
gingerBill
6a5e3a034d Merge pull request #7434 from kalsprite/asm_rip_width
Diagnose  in an asm template instead of aborting with SIGILL
2026-08-24 09:33:54 +01:00
gingerBill
cebceb9bb2 Merge branch 'master' into asm_rip_width 2026-08-24 09:31:54 +01:00
gingerBill
48daf8e511 Merge pull request #7431 from kalsprite/asm_named_register_slot
Reject asm operands in slots only a named hardware register can fill
2026-08-24 09:30:20 +01:00
gingerBill
754ac9a45b Merge pull request #7437 from kalsprite/asm_cast_guard
Asm cast guard
2026-08-24 09:25:13 +01:00
kalsprite
f5873e2e84 remove dead inline asm check, now unreachable 2026-08-24 00:40:00 -07:00
kalsprite
40fd892cf5 Reject a named asm template used as a value instead of aborting the compiler 2026-08-24 00:27:26 -07:00
kalsprite
b6c64c28b5 Diagnose in an asm template instead of aborting with SIGILL 2026-08-23 22:36:57 -07:00
kalsprite
deb45f3e6a asm named slots 2026-08-23 21:34:31 -07:00
Mustafa Furkan Bulut
52e7244cbb add windows to the list 2026-08-23 23:00:58 +03:00
Jeroen van Rijn
24d86de624 One more. 2026-08-23 21:49:39 +02:00
Jeroen van Rijn
2439aaf181 Remove imports of deprecated core:os/old. 2026-08-23 21:46:30 +02:00
Jeroen van Rijn
ce379d033a Deprecate core:os/old as advertised. 2026-08-23 21:42:58 +02:00
gingerBill
965970af71 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-08-23 11:48:34 +01:00
gingerBill
2508a29376 Correctly check constant value indexing on constants 2026-08-23 11:48:24 +01:00
gingerBill
fff69510b9 Merge pull request #7412 from mocompute/fix-7008
fix incorrect offset_of and size_of for unions with cyclic pointers
2026-08-23 10:52:14 +01:00
Jeroen van Rijn
3b7da9df6d Merge pull request #7419 from Lusori0/feat/murmur3_hash
core/hash: add murmur3 hash implementation
2026-08-22 16:52:49 -07:00
Manuel
d79ef965a0 Fix formatting 2026-08-22 21:50:07 +02:00
gingerBill
4247507dd5 - to / 2026-08-22 19:39:10 +01:00
gingerBill
7bd1c9d160 Improve implicit register printing for read-writes, writes, reads 2026-08-22 19:36:47 +01:00
gingerBill
a2013cfccd Trim trailing whitespace on pretty printed forms 2026-08-22 19:00:00 +01:00
gingerBill
89cbcf958d For forms which only take immediates or nothing at all, add a comment stating what they implicitly read and write from 2026-08-22 18:59:14 +01:00
gingerBill
0ba2328c32 Remove debug code 2026-08-22 18:48:13 +01:00
gingerBill
0427b18d70 Simplify error block logic for printing mnemonic forms 2026-08-22 18:44:33 +01:00
gingerBill
f3cbeb909c Add some capitalization 2026-08-22 18:40:48 +01:00
gingerBill
eb380fc4fa Give good error messages for possible forms for the mnemonics 2026-08-22 18:39:18 +01:00
gingerBill
11e41860d9 Fix #7414 2026-08-22 18:17:41 +01:00
gingerBill
e83dc03b39 Fix #7420 2026-08-22 17:46:35 +01:00
gingerBill
be84e737d8 Fix #7413 2026-08-22 17:43:13 +01:00
gingerBill
cbbb84cd2b Begin work on printing all of the forms of a specific mnemonic 2026-08-22 17:41:25 +01:00
Manuel
ee04c3b272 Add murmur3 implementation 2026-08-22 15:48:38 +02:00
Jeroen van Rijn
77b970fcf4 Merge pull request #7418 from kalsprite/type_call_null_arg
Fix compiler segfault on a bare `..` in a type position call
2026-08-22 03:23:50 +02:00
Jeroen van Rijn
2370de888c Merge branch 'master' into type_call_null_arg 2026-08-22 03:12:01 +02:00
Jeroen van Rijn
830f41e280 Merge pull request #7417 from kalsprite/foreign_sig_named_struct
Fix segfault comparing two foreign declarations of the same symbol
2026-08-22 03:11:27 +02:00
kalsprite
c29596e88f fix test typo 2026-08-21 17:59:02 -07:00
kalsprite
ef1c5fe675 Fix compiler segfault on a bare in a type position call 2026-08-21 17:54:13 -07:00
kalsprite
f8bdfa0857 Fix segfault comparing two foreign declarations of the same symbol 2026-08-21 17:31:42 -07:00
Jeroen van Rijn
082017cd2a Merge pull request #7416 from kalsprite/distinct_alias_cycle
Fix compiler segfault on `distinct` of a type alias that cycles back
2026-08-22 02:10:53 +02:00
Jeroen van Rijn
fd7ca5a8c4 Merge pull request #7415 from kalsprite/branch_location_addr
Fix compiler panic on a selector into `#branch_location`
2026-08-22 02:03:48 +02:00
kalsprite
a1b56d7679 Fix compiler segfault on of a type alias that cycles back 2026-08-21 17:00:44 -07:00
kalsprite
7fe49fbffb Fix compiler panic on a selector into 2026-08-21 16:38:56 -07:00