gingerBill
24fce21d90
Add "naked" calling convention (removes prologue and epilogue)
2021-04-28 10:49:30 +01:00
gingerBill
7086b49ae6
Rename intrinsics to count_trailing_zeros and count_leading_zeros
2021-04-25 20:26:11 +01:00
gingerBill
72aa0e6e38
Replace many foreign llvm calls with intrinsics
2021-04-25 20:22:26 +01:00
gingerBill
cb2e6ea31d
Remove use_llvm_api related checks and other related things
2021-04-25 20:03:05 +01:00
gingerBill
0a66f8c9a3
Remove intrinsics.x86_mmx type
2021-04-22 10:39:20 +01:00
gingerBill
47c7dc6a9b
Add new intrinsics: debug_trap, trap, read_cycle_counter, expect
2021-04-22 10:35:17 +01:00
gingerBill
e9b1d4f633
Fix #906
2021-04-20 10:34:41 +01:00
gingerBill
c3b3194a00
Update builtin procedures to support the new allocator features (without breaking other code)
2021-04-19 22:44:20 +01:00
gingerBill
f98c4d6837
Improve the Allocator interface to support returning Allocator_Error to allow for safer calls
...
Virtually all code (except for user-written custom allocators) should work as normal. Extra features will need to be added to make the current procedures support the `Allocator_Error` return value (akin to #optional_ok)
2021-04-19 12:31:31 +01:00
gingerBill
e19958152a
Fix floattidf
2021-04-14 20:45:05 +01:00
gingerBill
05a181d719
Fix style issues; Use new attribute @(cold) where appropriate in the new sync package
2021-04-14 20:19:02 +01:00
gingerBill
394e4fcbad
Add __extendhfsf2 for macOS
2021-04-05 18:44:08 +01:00
gingerBill
54e6c50769
Implement f16 functionality
2021-04-01 10:06:00 +01:00
gingerBill
0ccf103160
Fix byte swapping for endian specific types in -llvm-api
2021-03-27 12:48:29 +00:00
gingerBill
359ae29d98
Minor fixes
2021-03-18 13:25:41 +00:00
gingerBill
a60d22fefd
Make trailing comma usage consistent
2021-03-13 21:18:07 +00:00
gingerBill
083cec6c88
Remove dead code
2021-03-06 16:11:54 +00:00
gingerBill
1988856eed
Minimize the size of runtime.Source_Code_Location to use i32 instead of int
2021-03-05 12:56:36 +00:00
gingerBill
b727b6438b
Minimize unneeded casts
2021-03-03 14:31:17 +00:00
gingerBill
6faf024ab4
Remove unneeded return value from incl and excl
2021-03-02 00:40:40 +00:00
gingerBill
35edf45514
Add make_soa and delete_soa; Reorganize soa procedures into a separate file
2021-03-01 18:07:09 +00:00
gingerBill
79eb46bce3
Replace inline uses in the rest of core with #force_inline
2021-02-23 20:39:59 +00:00
gingerBill
aa93305015
Replace usage of inline proc with #force_inline proc in the core library
2021-02-23 16:14:47 +00:00
gingerBill
41b854f192
Remove #opaque types
2021-02-23 15:45:06 +00:00
gingerBill
a1693c0184
Deprecate inline for in favour of #unroll for
2021-02-23 14:45:15 +00:00
gingerBill
28ed310f31
Remove "pure" and "pure_none" calling conventions
2021-02-23 13:10:23 +00:00
gingerBill
595885d3db
Remove bit_field in type info, runtime, and general core library
2021-02-19 11:36:23 +00:00
gingerBill
efdee0dafb
Remove bit_field type from Odin (keyword and dead runtime code still exists)
2021-02-19 11:31:14 +00:00
gingerBill
92431c83ec
Change default_temp_allocator_proc behaviour to use the default_allocator when the backing data has not been set.
2021-02-09 14:00:59 +00:00
gingerBill
415379e1cf
Fix delete_map
2021-02-02 16:30:34 +00:00
gingerBill
b6aa549eb8
Fix typo
2020-12-08 17:01:28 +00:00
gingerBill
168532ae8d
Add runtime.print_strings
2020-12-08 17:01:06 +00:00
gingerBill
f0683c9102
Merge branch 'master' into parser-experiments
2020-12-06 00:49:48 +00:00
gingerBill
069c6cac3f
Add package name and source code location to Type_Info_Named
2020-12-05 20:47:50 +00:00
gingerBill
1a8ea6113a
Remove hash field in runtime.Source_Code_Location
2020-12-05 19:52:08 +00:00
gingerBill
fd453be831
Deprecate opaque in favour of #opaque in the core library
2020-12-04 18:49:39 +00:00
gingerBill
a6301ab58a
Add type_assertion_check2
2020-12-02 11:50:57 +00:00
gingerBill
5803fcc158
Revert function passes
2020-11-29 20:41:01 +00:00
gingerBill
f4f2b8f5ad
Add _internal field to context
2020-11-29 18:42:13 +00:00
gingerBill
f06f33872c
Make 16 simple hasher cases for small types
2020-11-29 18:17:21 +00:00
gingerBill
57f5976ac1
Support map keys for simple compare types
2020-11-29 16:12:21 +00:00
gingerBill
1dfe0cdd1d
Simplify hashing approach map
2020-11-29 15:50:29 +00:00
gingerBill
97c66c9c73
Add intrinsics.type_hasher_proc; Make map work with generic hasher procedure
2020-11-29 15:27:53 +00:00
gingerBill
085972bb2c
Minor clean up
2020-11-29 14:31:42 +00:00
gingerBill
39bed567b3
Add intrinsics.type_equal_proc; Make map use an internal equal procedure to compare keys
2020-11-29 14:22:42 +00:00
gingerBill
2e0fd34e59
Keep -vet happy
2020-11-29 12:52:30 +00:00
gingerBill
9959a069fc
Simplify internals of map[K]V
2020-11-29 12:48:33 +00:00
gingerBill
89cceb910a
Keep -vet happy
2020-11-26 00:09:38 +00:00
gingerBill
f36c5de746
Fix typo
2020-11-26 00:05:15 +00:00
gingerBill
ca10248740
Add __dynamic_map_fix_keys
2020-11-25 23:50:25 +00:00