aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix atomics for tuplesdev-2025-08gingerBill2025-08-051-1/+1
|
* Fix possible race condition with struct offsetsgingerBill2025-08-052-9/+17
|
* Add `intrinsics.type_is_nearly_simple_compare`gingerBill2025-08-044-1/+61
|
* fix checkLaytan2025-08-011-1/+1
|
* concrete types to make llvm 14 happyLaytan2025-08-011-5/+8
| | | | | | Fixes #5463 Fixes #5244 Fixes #5435
* fix dropping part of particular vecsLaytan2025-08-011-1/+1
|
* Merge pull request #5526 from laytan/fixes-for-vector-abigingerBill2025-08-011-10/+36
|\ | | | | amd64 abi fixes regarding vectors
| * fix vec offset calculationLaytan2025-07-311-1/+1
| |
| * amd64 support `half` in the abi tooLaytan2025-07-311-2/+21
| |
| * amd64 abi fixes regarding vectorsLaytan2025-07-311-9/+16
| | | | | | | | | | | | | | - Fixes the code so SSEUp is grouped/skipped over properly (Fixes #5429) - Fixes f16 vectors using garbage widths, because it would call LLVMGetIntTypeWidth and an f16 is not an int so doesn't have that function
* | Remove the semantics of `#no_copy`, keep the grammargingerBill2025-07-307-42/+1
|/
* Merge pull request #4140 from colrdavidson/macharenaLaytan2025-07-293-0/+27
|\ | | | | Mach Process control
| * move to checker error, rather than panicColin Davidson2025-07-292-2/+8
| |
| * switch to read_cycle_counter_frequency from arm64_read_cycle_counter_freq, ↵Colin Davidson2025-07-293-9/+13
| | | | | | | | trap on invalid arch
| * use the correct frequency for the arm tsc timerColin Davidson2025-07-283-0/+17
| |
* | Merge pull request #5515 from laytan/ignored-arg-multi-returnLaytan2025-07-291-1/+3
|\ \ | | | | | | fix ignored args in multi return handling
| * | fix ignored args in multi return handlingLaytan2025-07-291-1/+3
| |/ | | | | | | Fixes #5483
* | fix flagLaytan2025-07-291-1/+1
| |
* | saner stack linker flags for WASMLaytan2025-07-291-0/+7
|/ | | | Supersedes #5425
* Fix issue 5474Paul-Andre Henegar2025-07-281-39/+35
| | | | | | | | The fix was adding `is_constant = false;` I also removed the unnecessary check regarding the first element of the BitSet, since it's checked inside the loop, and also fixed a typo in the message.
* Fix #5498Jeroen van Rijn2025-07-251-1/+1
| | | | | | Also: - Expands `tests/core/hash` - Fixes bug found in `#hash(s, "murmur64")`
* Merge pull request #5442 from jon-lipstate/table_lookupgingerBill2025-07-223-0/+323
|\ | | | | table lookup simd intrinsic
| * cleanup langauge / errors about table vs swizzleJon Lipstate2025-07-162-47/+47
| |
| * rename table_lookup to runtime_swizzleJon Lipstate2025-07-163-14/+14
| |
| * x86 sseJon Lipstate2025-07-051-2/+11
| |
| * fix explicit castJon Lipstate2025-07-051-4/+2
| |
| * table lookup intrinsicJon Lipstate2025-07-053-0/+316
| |
* | Merge pull request #5081 from Lperlind/vet-explicit-allocatorsgingerBill2025-07-223-7/+38
|\ \ | | | | | | Add -vet-explicit-allocators
| * | Remove vet explicit allocators from cliLucas Perlind2025-04-281-16/+10
| | |
| * | Add -vet-explicit-allocatorsLucas Perlind2025-04-274-17/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This vet flag will make it so that allocators must be explicitly used in places where context.allocator and context.temp_allocator are a procedure parameter. The goal of this flag is to prevent using the context.allocator in cases where a different allocator was meant to be used. Some code bases default context.allocator to nil/panic allocator to catch this at runtime. This effectively makes it a compile time error instead.
* | | Check for invalid subtargets.Harold Brenes2025-07-202-14/+43
| | | | | | | | | | | | | | | | | | | | | | | | - Add 'ios' pseudo-subtarget which triggets with either iPhone or iPhoneSimulator subtargets. - Treat an explicit 'default' subtarget as exclusive only to the default subtarget, not an other platform-compatible subtargets. - 'generic' continues to resolve to true for any platform-compatible subtarget as it names appears to imply such behavior.
* | | Merge pull request #5467 from harold-b/hb.ios-subtarget-rename-iphonegingerBill2025-07-203-8/+8
|\ \ \ | | | | | | | | Rename `iOS` subtarget to `iPhone`, add `ODIN_PLATFORM_SUBTARGET_IOS`
| * | | Missing rename in panic stringHarold Brenes2025-07-141-1/+1
| | | |
| * | | Rename `iOS` subtarget to `iPhone` for consistency.Harold Brenes2025-07-143-7/+7
| | | | | | | | | | | | | | | | | | | | Add `ODIN_PLATFORM_SUBTARGET_IOS` builtin constant which evaluated to `true` when the platform is `Darwin` and the subtarget it either `iPhone` or `iPhoneSimulator`
* | | | Merge pull request #5472 from harold-b/hb.auto_objc_namegingerBill2025-07-171-94/+102
|\ \ \ \ | | | | | | | | | | Allow objective-c procedures to have their `@objc_name` attribute inferred
| * | | | Allow objective-c procedures to have their `@objc_name` attribute inferred.Harold Brenes2025-07-161-94/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `@objc_name` is automatically inferred if it is not specified and the procedure name is prefixed with type name specified in `@objc_type`, followed by an `_`. What followed the `_` is interpreted as the `@objc_name`.
* | | | | add did you mean for card/lenJon Lipstate2025-07-161-1/+5
|/ / / /
* | | | Fix @objc_implement methods not respecting @objc_is_class_methodHarold Brenes2025-07-151-12/+30
| | | | | | | | | | | | | | | | Fix incorrect type encoding for objc_class
* | | | Merge pull request #5459 from harold-b/hb.simplify-import-odin-ext-folders-checkLaytan2025-07-141-2/+2
|\ \ \ \ | |/ / / |/| | | Use `fi.is_dir` instead of `path_is_directory()` during directory check when collecting .odin files
| * | | Use fi.is_dir instead of path_is_directory() when checking if an import is a ↵Harold Brenes2025-07-131-2/+2
| | | | | | | | | | | | | | | | directory with a .odin extension.
* | | | Fix correct versioned target triplet for iphonesimulator subtargetHarold Brenes2025-07-142-2/+13
| | | | | | | | | | | | | | | | - Always set the `-m*-version-min` linker flag for non-macOS Darwin subtargets
* | | | Provide default minimum version for iOS and apply its target triplet.Harold Brenes2025-07-142-8/+18
| | | | | | | | | | | | | | | | - Fix incorrect clang_path override for iOS during link stage.
* | | | Merge pull request #5462 from harold-b/hb.ios-support-2025gingerBill2025-07-143-18/+78
|\ \ \ \ | | | | | | | | | | Add iOS & iPhoneSimulator subtargets for Darwin target
| * | | | Fix accidental incorrect assignmentHarold Brenes2025-07-131-1/+1
| | | | |
| * | | | Updated iOS/iPhoneSimulator build supportHarold Brenes2025-07-133-18/+78
| |/ / /
* / / / Fix leftover poor indentation for objc_ivars MPSCQueueHarold Brenes2025-07-132-3/+3
|/ / /
* | | Merge pull request #5455 from FourteenBrush/mastergingerBill2025-07-122-0/+57
|\ \ \ | | | | | | | | Add `type_enum_is_contiguous` intrinsic (Closes #5395)
| * | | Add union kind assertion to enum_constant_entity_cmpFourteenBrush2025-07-111-3/+6
| | | |
| * | | Fix BigInt leakingFourteenBrush2025-07-111-0/+2
| | | |
| * | | Allocate temp array instead of sorting in placeFourteenBrush2025-07-111-2/+2
| | | |