aboutsummaryrefslogtreecommitdiff
path: root/base
Commit message (Collapse)AuthorAgeFilesLines
* Add unreachable to base/builtin/builtin.odinDamian Tarnawski2024-05-311-0/+2
|
* wasm: fix target wasm64p32 runtime procsLaytan Laats2024-05-311-9/+15
| | | | | | | | LLVM generates calls with `i32` regardless of target, so if a call to any of these procs was generated this failed to compile. I opted to fix by changing from `int` to `i32` on wasm64p32 and adding `#any_int` so existing code keeps working.
* Make `ODIN_OS`, `ODIN_BUILD_MODE` comments congruent to underlying dataFeoramund2024-05-281-0/+3
| | | | Sourced from `src/checker.cpp`.
* wasm: enable default temp allocatorLaytan Laats2024-05-241-1/+1
| | | | After #3592 I think it makes sense to also enable the temp allocator by default
* Merge pull request #3592 from laytan/wasm-gpagingerBill2024-05-204-2/+905
|\ | | | | add a default heap/general purpose allocator for wasm to `base:runtime`
| * add a default heap/general purpose allocator for wasm to `base:runtime`Laytan Laats2024-05-164-3/+906
| |
* | Add intrinsics `type_is_matrix_row_major` & `type_is_matrix_column_major`gingerBill2024-05-201-0/+3
| |
* | Merge pull request #3570 from jasonKercher/linux-arm32gingerBill2024-05-201-1/+5
|\ \ | | | | | | Get the compiler to build and work on arm32 Linux
| * | arm32 now compiles and runs demojasonkercher2024-05-101-1/+5
| | |
* | | Correct #soa RTTI usagegingerBill2024-05-161-8/+8
| |/ |/|
* | Merge pull request #3439 from andreas-jonsson/netbsdgingerBill2024-05-153-4/+8
|\ \ | | | | | | NetBSD support
| * \ Merge branch 'master' into netbsdAndreas T Jonsson2024-05-131-8/+8
| |\ \
| * \ \ Merge branch 'master' into netbsdAndreas T Jonsson2024-05-101-11/+20
| |\ \ \
| * \ \ \ Merged with masterAndreas T Jonsson2024-05-021-4/+4
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into netbsdAndreas T Jonsson2024-04-255-28/+44
| |\ \ \ \ \
| * | | | | | Initial commit of NetBSD portAndreas T Jonsson2024-04-163-4/+8
| | | | | | |
* | | | | | | Add comment state to prefer `virtual.Arena` over `runtime.Arena`gingerBill2024-05-141-0/+1
| |_|_|_|/ / |/| | | | |
* | | | | | Add `runtime.Typeid_Bit_Field`gingerBill2024-05-101-8/+8
| |_|_|/ / |/| | | |
* | | | | Add intrinsics `type_bit_set_elem_type` & `type_bit_set_underlying_type`gingerBill2024-05-091-9/+12
| |_|_|/ |/| | |
* | | | Merge pull request #3526 from laytan/target-featuresgingerBill2024-05-051-2/+8
|\ \ \ \ | |_|_|/ |/| | | Improve target features support
| * | | compiler: improve target features supportLaytan Laats2024-05-021-2/+8
| | |/ | |/|
* / | Fix #3459gingerBill2024-04-301-4/+4
|/ /
* | Improve codegen for `bit_field [N]T` compound literalsgingerBill2024-04-241-6/+4
| |
* | Do not print column of a runtime.Source_Code_Location if the `column == 0`gingerBill2024-04-191-4/+8
| |
* | Add `ODIN_NO_BOUNDS_CHECK`gingerBill2024-04-181-1/+13
| |
* | Add `@(optimization_mode="size")` to `runtime.print_type`gingerBill2024-04-181-0/+2
| |
* | Add `#force_no_inline` to many of the runtime print proceduresgingerBill2024-04-181-12/+12
| |
* | Correct `copy_from_string` docsChris2024-04-161-2/+2
| |
* | Remove `#optional_ok` from docsgingerBill2024-04-111-3/+3
|/
* Merge pull request #3406 from laytan/bit-field-core-parserJeroen van Rijn2024-04-101-2/+3
|\ | | | | add bit_field to `core:odin`
| * add bit_field parsing to `core:odin/parser`Laytan Laats2024-04-101-2/+3
| | | | | | | | Also adds it to the core type thingy like it is in the compiler.
* | Make `map_total_allocation_size` public; Add ↵gingerBill2024-04-081-1/+7
|/ | | | `map_total_allocation_size_from_value`
* enable the required target feature `atomics` when using them in wasmLaytan Laats2024-04-081-0/+2
|
* Fix `resize` bug caused by typogingerBill2024-03-241-1/+1
|
* Fix `resize` zeroing behaviourgingerBill2024-03-241-0/+3
|
* fix wasm with `-target-features:"simd128"`Laytan Laats2024-03-222-11/+27
| | | | | | | | the required procs within wasm would compile to take native v128 arguments in, but the procs are supposed to take in i64's causing bad wasm modules. Fixes #3263
* Add `#no_broadcast` procedure parameter to disallow automatic array ↵gingerBill2024-03-211-6/+6
| | | | programming broadcasting on procedure arguments
* Add `#row_major matrix[R, C]T`gingerBill2024-03-191-0/+4
| | | | | As well as `#column_major matrix[R, C]T` as an alias for just `matrix[R, C]T`. This is because some libraries require a row_major internal layout but still want to be used with row or major oriented vectors.
* Change `return` to `panic`gingerBill2024-03-131-1/+1
|
* Fix typo due to deletiongingerBill2024-03-131-1/+1
|
* Add infinite loop check and early out in `map_insert_hash_dynamic`gingerBill2024-03-131-3/+13
|
* Add builtin `map_upsert`gingerBill2024-03-111-7/+9
|
* Merge pull request #3199 from JamesDSource/soagingerBill2024-03-091-1/+94
|\ | | | | Add into_dynamic_soa, unordered_remove_soa, and ordered_remove_soa
| * Fix syntax mistake againJames Duran2024-02-161-1/+1
| | | | | | | | Sorry for being blind
| * Fix Syntax MistakeJames Duran2024-02-161-1/+1
| |
| * Make into_dynamic_soa more concise and remove builtin tag from itJames Duran2024-02-161-8/+4
| |
| * Added into_dynamic_soa, unordered_remove_soa, and ordered_remove_soaJames Duran2024-02-141-1/+98
| |
* | Incorrect write syscall on Darwin - fixes stderr output.Ralph Caraveo2024-03-081-1/+1
| | | | | | | | | | On macos, Odin was previously swallowing errors that would be reported via stderr. I've confirmed with @laytan on Discord that this fixes the issue.
* | Merge branch 'odin-lang:master' into haikuavanspector2024-02-291-2/+2
|\ \
| * | Change type info table to be initializable constantlygingerBill2024-02-271-2/+2
| | | | | | | | | | | | []Type_Info -> []^Type_Info