gingerBill
|
47c7dc6a9b
|
Add new intrinsics: debug_trap, trap, read_cycle_counter, expect
|
2021-04-22 10:35:17 +01:00 |
|
gingerBill
|
6b45856e81
|
Remove useless error message for constant binary expressions with non-constant operations
|
2021-04-21 10:52:26 +01:00 |
|
gingerBill
|
201cad51a9
|
Fix typo
|
2021-04-19 22:41:52 +01:00 |
|
gingerBill
|
d21e522208
|
Add code that was accidentally removed
|
2021-04-19 22:35:59 +01:00 |
|
gingerBill
|
f1bdd2e60f
|
Improve #optional_ok logic for procedures; Add #optional_second for package runtime usage
|
2021-04-19 22:31:14 +01:00 |
|
gingerBill
|
0eb75886d1
|
Allow assignment of procedure calls with #optional_ok to single values
|
2021-04-19 16:02:36 +01:00 |
|
gingerBill
|
3612569624
|
Allow casting of #optional_ok call expressions
|
2021-04-19 15:46:12 +01:00 |
|
gingerBill
|
c83d13d0cb
|
Fix update_expr_type behaviour, along with fixing procedure groups updating the proc expr type
|
2021-04-19 15:12:10 +01:00 |
|
gingerBill
|
eb49b5f84a
|
Fix override_entity_in_scope behaviour to correctly to report the changes upstream better
|
2021-04-19 11:01:00 +01:00 |
|
gingerBill
|
9adec628c1
|
Add @(cold) attribute to procedure declarations
|
2021-04-14 17:15:28 +01:00 |
|
gingerBill
|
12296a0dcc
|
Allow intrinsics entities to be exported from other packages if wanted
|
2021-04-13 18:57:47 +01:00 |
|
gingerBill
|
cef698afd6
|
Implement fixed-point arithmetic intrinsics for -llvm-api backend
|
2021-04-01 14:36:06 +01:00 |
|
gingerBill
|
b3e788b9d9
|
Fix missing complex32/quaternion64 checks
|
2021-04-01 10:56:57 +01:00 |
|
gingerBill
|
b3dce34bc6
|
Add min(f16) and max(f16) support
|
2021-04-01 10:35:07 +01:00 |
|
gingerBill
|
54e6c50769
|
Implement f16 functionality
|
2021-04-01 10:06:00 +01:00 |
|
gingerBill
|
342761e83a
|
Refactor record polymorphic params code for unification
|
2021-03-27 17:21:12 +00:00 |
|
gingerBill
|
1e587d6635
|
Fix #883 - polymorphic specialization with target types of enumerated arrays
|
2021-03-27 15:22:05 +00:00 |
|
gingerBill
|
7028797d53
|
Implement soa_unzip
|
2021-03-24 19:29:25 +00:00 |
|
gingerBill
|
6c9d3715d8
|
Add type hinting to soa_zip
|
2021-03-24 18:08:34 +00:00 |
|
gingerBill
|
989a03dc77
|
soa_zip (-llvm-api only): creates an #soa[]struct from passed slices
x := []i32{1, 3, 9};
y := []f32{2, 4, 16};
z := []b32{true, false, true};
s_anonymous := soa_zip(x, y, z);
assert(s_anonymous[0]._1 == 2);
s_named := soa_zip(a=x, b=y, c=z);
assert(s_anonymous[0].b == 2);
|
2021-03-24 17:33:05 +00:00 |
|
gingerBill
|
fc1a352285
|
For bit_set, allow + and - to be aliases for | and &~, respectively
|
2021-03-23 23:34:01 +00:00 |
|
gingerBill
|
082381284c
|
Remove dead code
|
2021-03-23 23:23:40 +00:00 |
|
gingerBill
|
3ff7bded64
|
Add intrinsics.volatile_store and intrinsics.volatile_load
|
2021-03-09 11:40:36 +00:00 |
|
gingerBill
|
15dbc99cb9
|
Minimize TokenPos size by using i32 for line/column/offset and file_id instead of String
To make `i32` safe, the parser limits the file size of odin files to a maximum of 2GiB (which will be good enough for the vast vast majority of cases)
|
2021-03-04 16:45:30 +00:00 |
|
gingerBill
|
75f127af7c
|
Add -vet-extra (checks for unneeded casts and transmutes)
|
2021-03-03 14:17:48 +00:00 |
|
gingerBill
|
667aa3671e
|
Fix Addressing for SOA on store; Add intrinsics.type_struct_field_count(T)
|
2021-03-01 17:54:49 +00:00 |
|
gingerBill
|
54194af71c
|
Fix patch (yeah... I know)
|
2021-02-26 15:29:10 +00:00 |
|
gingerBill
|
575c7ff031
|
Patch issue with minimum dependency system and how it interacts with para poly procedures
|
2021-02-26 15:09:32 +00:00 |
|
gingerBill
|
8f9111e552
|
Build tag to make all declarations within a file private to the package //+private
|
2021-02-23 20:40:48 +00:00 |
|
gingerBill
|
41b854f192
|
Remove #opaque types
|
2021-02-23 15:45:06 +00:00 |
|
gingerBill
|
28f279329d
|
Remove bit_field keyword and parsing logic
|
2021-02-23 15:29:54 +00:00 |
|
gingerBill
|
28ed310f31
|
Remove "pure" and "pure_none" calling conventions
|
2021-02-23 13:10: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
|
e64eb74eef
|
Fix #831
|
2021-01-27 15:27:38 +00:00 |
|
gingerBill
|
720f2c7c61
|
Allow check_expr_with_type_hint to allow assignment of types to typeid without requiring typeid_of
|
2020-12-17 14:23:45 +00:00 |
|
gingerBill
|
416051f17b
|
Fix #811
|
2020-12-14 16:39:31 +00:00 |
|
gingerBill
|
d7a5767aa3
|
If ir_type_requires_mem_zero is stored with zero, don't store again with the zeroinitializer
|
2020-12-08 15:43:57 +00:00 |
|
gingerBill
|
05a3bdad58
|
Allow nested procedures to access @(static) and @(thread_local) variables
|
2020-12-04 11:28:14 +00:00 |
|
gingerBill
|
047586afc6
|
Change ExactValue layout for complex/quaternion types to minimize its size
|
2020-12-03 14:21:33 +00:00 |
|
gingerBill
|
996c854071
|
Disable lb_const_hash for the time being
|
2020-12-02 11:48:50 +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
|
39bed567b3
|
Add intrinsics.type_equal_proc; Make map use an internal equal procedure to compare keys
|
2020-11-29 14:22:42 +00:00 |
|
Dan Bechard
|
2d878de84d
|
Update check_expr.cpp
Fixed typo in error message `procedure all` -> `procedure call`
|
2020-11-20 15:43:51 -08:00 |
|
gingerBill
|
260e28c0af
|
Fix casting of untyped strings
|
2020-11-20 16:30:34 +00:00 |
|
gingerBill
|
63e4a2341f
|
Support string literals for fixed arrays of runes; Add %q support for arrays/slices of bytes
|
2020-11-20 16:24:23 +00:00 |
|
gingerBill
|
6416a6f39c
|
Allow string literals for [N]byte
|
2020-11-20 16:01:59 +00:00 |
|
gingerBill
|
aa5cb7f6a9
|
Fix proc type printing
|
2020-11-17 15:54:22 +00:00 |
|
gingerBill
|
d90fc18bef
|
Basic odin doc support
|
2020-11-17 15:05:16 +00:00 |
|
gingerBill
|
ca4b0527e8
|
Minimize memory usage for AST nodes by using Slice<T> rather than Array<T> when the parameter doesn't need to grow
|
2020-11-16 15:18:25 +00:00 |
|
gingerBill
|
939878df50
|
Improve logic for x->y() shorthand
|
2020-11-15 23:54:18 +00:00 |
|