| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add check_all scripts | Jeroen van Rijn | 2025-06-16 | 1 | -0/+5 |
| | | |||||
| * | Add `intrinsics.type_is_bit_field` proc | iarkn | 2025-06-06 | 1 | -0/+2 |
| | | |||||
| * | Fix #5265 | Jeroen van Rijn | 2025-06-03 | 1 | -1/+1 |
| | | |||||
| * | Show quaternion arguments in `wxyz` order, instead of `xyzw`, in mismatched ↵ | Feoramund | 2025-06-01 | 1 | -1/+1 |
| | | | | | | | | | type error This is in accordance with the other error and makes sense with how quaternions are printed with `real`/`w` coming first, then the imaginaries, which are the `ijk`/`xyz` parts. | ||||
| * | Make `quaternion` untyped values convert to first typed value found | Feoramund | 2025-06-01 | 1 | -10/+12 |
| | | | | | | This fixes an issue (#2079) where a typed argument could cause the construction to fail on the basis of failed untyped -> typed conversion. | ||||
| * | Fix `quaternion` construction causing compiler crash | Feoramund | 2025-06-01 | 1 | -0/+1 |
| | | | | | | Previously, a construction of `quaternion(real=0, real=1, real=2, real=3)` could crash the compiler. | ||||
| * | add: type_integer_to_* error messages | 0xrsp | 2025-05-15 | 1 | -6/+3 |
| | | |||||
| * | new compiler intrinsics type_integer_to_unsigned,type_integer_to_signed | 0xrsp | 2025-05-15 | 1 | -0/+84 |
| | | |||||
| * | Handle "untyped" case | gingerBill | 2025-05-12 | 1 | -1/+9 |
| | | |||||
| * | Add `compress_values` | gingerBill | 2025-05-12 | 1 | -0/+180 |
| | | |||||
| * | Merge pull request #5064 from harold-b/hb/objc-classes | gingerBill | 2025-05-08 | 1 | -3/+57 |
| |\ | | | | | Add support for Objective-C class implementation | ||||
| | * | Prevent multiple uses of the same Objective-C class name | Harold Brenes | 2025-05-03 | 1 | -2/+2 |
| | | | |||||
| | * | Implement all checker specification for Objective-C class implementations ↵ | Harold Brenes | 2025-05-03 | 1 | -24/+4 |
| | | | | | | | | | and `objc_ivar_get` intrinsic | ||||
| | * | Name fixes | Harold Brenes | 2025-04-30 | 1 | -3/+3 |
| | | | |||||
| | * | Fix indentations | Harold Brenes | 2025-04-27 | 1 | -72/+72 |
| | | | | | | | | | Fix Objective-C wrapper procs not forwarding return value | ||||
| | * | Fix styling issues | Harold Brenes | 2025-04-27 | 1 | -5/+4 |
| | | | |||||
| | * | Add initial support for Objective-C class implementation | Harold Brenes | 2025-04-20 | 1 | -1/+76 |
| | | | |||||
| * | | Added alternate reduce-add/reduce-mul intrinsics. | Barinzaya | 2025-05-05 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | The new reduce_add/reduce_mul procs perform the corresponding arithmetic reduction in different orders than sequential order. These alternative orders can often offer better SIMD hardware utilization. Two different orders are added: pair-wise (operating on pairs of adjacent elements) or bisection-wise (operating element-wise on the first and last N/2 elements of the vector). | ||||
| * | | Fix `type_union_tag_offset` when all members are zero sized | Jeroen van Rijn | 2025-05-05 | 1 | -3/+4 |
| | | | |||||
| * | | Add `intrinsics.simd_indices` | gingerBill | 2025-05-05 | 1 | -0/+31 |
| |/ | |||||
| * | Allow intrinsics.type_elem_type(simd_vector) to return the element type. | Jeroen van Rijn | 2025-04-11 | 1 | -0/+1 |
| | | | | | Make `type_elem_type(#simd[4]f32)` return `f32`, same as it would for `[4]f32`. | ||||
| * | Fix #4949 | gingerBill | 2025-03-24 | 1 | -0/+7 |
| | | |||||
| * | Fix #4962 | gingerBill | 2025-03-24 | 1 | -5/+9 |
| | | |||||
| * | Added simd_extract_lsbs intrinsic as well. | Barinzaya | 2025-02-24 | 1 | -0/+1 |
| | | | | | | Equivalent to the simd_extract_msbs intrinsic, except it extracts the least significant bit of each element instead. | ||||
| * | Added simd_extract_msbs intrinsic. | Barinzaya | 2025-02-24 | 1 | -0/+32 |
| | | |||||
| * | Merge pull request #4797 from laytan/improve-abs-of-float | gingerBill | 2025-02-08 | 1 | -2/+5 |
| |\ | | | | | improve abs() on floats for more correct and faster results | ||||
| | * | apply abs fix to constant system too | Laytan Laats | 2025-02-06 | 1 | -2/+5 |
| | | | |||||
| * | | Preserve `#no_nil` in `intrinsics.type_convert_variants_to_pointers` | korvahkh | 2025-02-03 | 1 | -0/+3 |
| |/ | | | | | | Previously the newly returned type would not be marked as `#no_nil`. This caused `reflect.get_union_as_ptr_variants` to break on `#no_nil` unions. | ||||
| * | Fix #4508 for abs, min, max (#4516) | Jeroen van Rijn | 2024-11-25 | 1 | -1/+38 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix #4508 for abs, min, max and the rest of the builtins. None of these segfault now: ```odin package bug main :: proc() { p :: proc() {} // _ = len(p()) // _ = cap(p()) // _ = size_of(p()) // _ = align_of(p()) // T :: struct {} // _ = offset_of(p()) // _ = offset_of(T, p()) // _ = offset_of(p(), foo) // _ = offset_of(p(), "") // _ = type_of(p()) // _ = type_info_of(p()) // _ = typeid_of(p()) // A: [4]int // _ = swizzle(p()) // :: proc(x: [N]T, indices: ..int) -> [len(indices)]T --- // _ = swizzle(A, p()) // :: proc(x: [N]T, indices: ..int) -> [len(indices)]T --- // _ = complex(p(), p()) // _ = quaternion(p(), p(), p(), p()) // _ = quaternion(w=p(), x=p(), y=p(), z=p()) // _ = real(p()) // _ = imag(p()) // _ = jmag(p()) // _ = kmag(p()) // _ = conj(p()) // _ = expand_values(p()) // _ = min(p()) // _ = max(p()) // _ = abs(p()) // _ = clamp(p(), p(), p()) // _ = soa_zip(p()) // _ = soa_unzip(p()) } ``` | ||||
| * | report error when builtin min/max has 1 (non-type) param | jakubtomsu | 2024-11-17 | 1 | -0/+9 |
| | | |||||
| * | Merge pull request #4427 from laytan/posix-additions | gingerBill | 2024-10-30 | 1 | -0/+4 |
| |\ | | | | | Finish sys/posix with Linux and partial Windows support & clean up other packages as a result | ||||
| | * | fix `#load_directory` including nested directories | Laytan | 2024-10-28 | 1 | -0/+4 |
| | | | |||||
| * | | Fixes #4395 by not assuming simd returns val | Misomosi | 2024-10-20 | 1 | -1/+1 |
| |/ | |||||
| * | `a ordered` to `an ordered` | gingerBill | 2024-10-02 | 1 | -7/+7 |
| | | |||||
| * | Specify integer-like only for some `atomic_*` intrinsics | Feoramund | 2024-09-18 | 1 | -13/+8 |
| | | | | | Fixes #4256 | ||||
| * | add '#caller_expression' | Laytan Laats | 2024-09-14 | 1 | -0/+16 |
| | | |||||
| * | add fixed point sign extend to 128 int deps | Laytan Laats | 2024-09-05 | 1 | -0/+10 |
| | | |||||
| * | Simplified #assert check | Jeroen van Rijn | 2024-08-31 | 1 | -7/+0 |
| | | |||||
| * | Check for `#assert` condition to be a constant bool | Jeroen van Rijn | 2024-08-31 | 1 | -1/+11 |
| | | | | | Fixes #4170 | ||||
| * | riscv: add an error when atomics are used without the atomics extension | Laytan | 2024-08-25 | 1 | -0/+8 |
| | | |||||
| * | Add `intrinsics.type_has_shared_fields` | gingerBill | 2024-08-24 | 1 | -0/+53 |
| | | |||||
| * | add support for linux_riscv64 and freestanding_riscv64 | Laytan | 2024-08-20 | 1 | -0/+5 |
| | | |||||
| * | posix: add package | Laytan Laats | 2024-08-14 | 1 | -0/+17 |
| | | |||||
| * | Add `intrinsics.masked_expand_load` and `intrinsics.masked_compress_store` | gingerBill | 2024-08-05 | 1 | -1/+6 |
| | | |||||
| * | Add `intrinsics.simd_masked_load` and `intrinsics.simd_masked_store` | gingerBill | 2024-08-05 | 1 | -18/+44 |
| | | |||||
| * | Add `intrinsics.simd_gather` and ``intrinsics.simd_scatter` | gingerBill | 2024-08-05 | 1 | -0/+54 |
| | | |||||
| * | Rename `add_sat` -> `saturating_add` | gingerBill | 2024-08-05 | 1 | -6/+6 |
| | | |||||
| * | Add `simd_reduce_any` and `simd_reduce_all` | gingerBill | 2024-08-05 | 1 | -0/+23 |
| | | |||||
| * | Allow `swizzle` to take more arguments than the original array length | gingerBill | 2024-08-05 | 1 | -1/+1 |
| | | |||||
| * | fix `add_sat` and `sub_sat` intrinsics | Laytan Laats | 2024-07-16 | 1 | -1/+42 |
| | | |||||