gingerBill
0010e882a7
Make PtrSet match Map
2021-11-05 12:11:50 +00:00
gingerBill
a022f18015
Reorganize code
2021-11-05 12:11:33 +00:00
Henry Dooley
3d0cd6f0dc
don't try to use __cpuid() on arm64
2021-11-04 18:54:15 -07:00
gingerBill
68046d0c08
Allow casting between matrix types of different element types
2021-11-04 16:50:59 +00:00
gingerBill
bc2bf1caeb
Add #load_hash(<filepath>, <string-hash-kind>)
2021-11-04 16:29:41 +00:00
gingerBill
57eedfc4f4
Fix lb_emit_array_epi for matrix types
2021-11-04 15:01:31 +00:00
gingerBill
b2a2aa15c2
Add ODIN_BUILD_MODE
2021-11-04 12:49:39 +00:00
gingerBill
6ded538546
@(linkage=<string>) for procedures and variables; @(require) for procedures; package runtime linkage improvements; Subsequence improvements to lb_run_remove_unused_function_pass
2021-11-04 12:40:50 +00:00
gingerBill
9ab71ca0da
Add ODIN_NO_CRT global constant
2021-11-04 00:50:28 +00:00
gingerBill
3d06dddb72
Allow casting from floats to quaternions
2021-11-03 12:45:19 +00:00
gingerBill
69f978f22b
Correct lb_emit_matrix_flatten
2021-11-03 11:07:35 +00:00
gingerBill
229c98309e
Correct assertion usage
2021-11-03 11:02:47 +00:00
Jeroen van Rijn
73648bb2d8
Fix #1268 .
...
Error message for enumerated arrays going out of bounds was not yet updated for the Enum change.
2021-11-03 11:36:24 +01:00
Jeroen van Rijn
dcc5697a48
Fix error message.
2021-11-03 11:01:18 +01:00
gingerBill
c20230509f
Correct index to offset calculation for matrix compound literals
2021-11-02 23:56:19 +00:00
gingerBill
f03e0bee73
Merge branch 'master' of https://github.com/odin-lang/Odin
2021-11-02 12:54:29 +00:00
gingerBill
c5cd97dd89
Improve wasm-import semantics to allow procedures from different import paths
2021-11-02 12:54:23 +00:00
Jeroen van Rijn
46a394815c
odin report add Windows 10 Education Edition.
2021-11-02 02:20:43 +01:00
gingerBill
a4b68b93f2
Modify ABI for the wasm32
2021-11-01 23:18:39 +00:00
gingerBill
b01e0fbbc2
Correct typo in soa data type debug information generation
2021-11-01 23:00:42 +00:00
gingerBill
9a5ddc5218
Merge branch 'master' of https://github.com/odin-lang/Odin
2021-11-01 16:39:07 +00:00
gingerBill
0b4cbcf409
Correct debug info for matrix type
2021-11-01 16:39:02 +00:00
Jeroen van Rijn
3a167e3a75
Add Windows 10 Home Core detection.
2021-11-01 14:46:59 +01:00
Jeroen van Rijn
a422d0455e
Fix ( #1258 ): #load and #load_or segfault when given no params.
...
Fixes #1258 .
2021-11-01 10:42:57 +01:00
Yawning Angel
796a0c3968
core/intrinsics: Add mem_zero_volatile
2021-10-31 21:37:22 +00:00
gingerBill
141299eb02
Change the behaviour change is for when a bit_set of range/enum and the underlying type has been specified
...
* If the lower bound is greater than zero, it will become zero (thus removing the compatification)
* If the lower bound is negative, it is an error
This means that an integer value N, maps directly to the N-th bit.
Example
```
foo :: enum u8 {
a = 2,
b = 3,
c = 4,
}
set0: bit_set[foo]
set0 += {.a, .b}
// internally set0 == 1<<(2-2) | 1<<(3-2)
set1: bit_set[foo; u32]
set1 += {.a, .b}
// internally set1 == 1<<(2-0) | 1<<(3-0)
```
2021-10-31 19:39:01 +00:00
gingerBill
efe05b3e13
Merge pull request #1252 from Kelimion/bug-report
...
Add new `odin report` command.
2021-10-31 19:19:56 +00:00
gingerBill
5f51337a01
Add procs for wasm32
2021-10-31 19:00:01 +00:00
gingerBill
fca7142a3c
Correct _start export for wasm* targets
2021-10-31 16:31:20 +00:00
gingerBill
bfa33bf5d3
Disable wasm64
2021-10-31 15:48:56 +00:00
gingerBill
235dae552a
Ignore -use-separate-modules when targeting wasm32/wasm64
2021-10-31 15:35:09 +00:00
gingerBill
32506a34ff
Separate out the ABI for wasm32 from 386
2021-10-31 15:23:39 +00:00
Jeroen van Rijn
2a7937e2ba
Add odin report command to help with bug reports.
...
Add new Odin command, `odin report`, which prints information helpful to resolving or reporting a bug.
```
W:\Odin> odin report
Where to find more information and get into contact when you encounter a bug:
Website: https://odin-lang.org
GitHub: https://github.com/odin-lang/Odin/issues
Useful information to add to a bug report:
Odin: dev-2021-10:256bebfe
OS: Windows 10 Professional (version: 20H2), build 19042.1266
CPU: AMD Ryzen 7 1800X Eight-Core Processor
RAM: 65469 MiB
W:\Odin>
TODO:
- CPU name on ARM/ARM64
```
2021-10-31 13:48:13 +01:00
gingerBill
2a5b8f53fe
Add memmove and memset support for wasm
2021-10-31 12:47:50 +00:00
gingerBill
9a5216921c
Add wasi_wasm32
2021-10-31 01:08:17 +00:00
gingerBill
841a96691b
Attempt to get wasm64 compiling with the correct features enabled
2021-10-31 00:37:37 +01:00
gingerBill
8ef6f9dd7b
Compile wasm64; Add lb_run_remove_unused_function_pass
2021-10-31 00:11:38 +01:00
gingerBill
5bc8a491a7
Begin work on supporting wasm64; Correct wasm32 compilation behaviour
2021-10-30 23:24:34 +01:00
gingerBill
7b8b2f042c
Add debug type information for matrix
2021-10-29 00:13:22 +01:00
gingerBill
ef29ffeb21
Correct llvm_vector_shuffle_reduction
2021-10-28 15:09:20 +01:00
gingerBill
3794d2417d
Write a log(n) fallback for llvm_vector_reduce_add
...
This may be what LLVM does at any rate
2021-10-28 15:01:13 +01:00
gingerBill
70793236ab
Support llvm_vector_reduce_add if the LLVM intrinsic is not supported
2021-10-28 00:57:10 +01:00
gingerBill
793a6479ef
Fix typo
2021-10-27 23:37:04 +01:00
gingerBill
47bef7a557
Update doc-format
2021-10-27 23:34:56 +01:00
gingerBill
ccab715bbc
Add support for matrix type in doc format
2021-10-27 23:26:17 +01:00
gingerBill
c4d2aae0ed
Merge pull request #1245 from odin-lang/new-matrix-type
...
`matrix` type
2021-10-26 21:08:08 +01:00
gingerBill
8868bcf57a
Merge pull request #1234 from Skytrias/master
...
fix strip-semicolon using original file handle size
2021-10-26 21:04:02 +01:00
gingerBill
549a383cf0
Merge branch 'master' into new-matrix-type
2021-10-26 12:53:47 +01:00
gingerBill
9522c42460
Change use of LLVMSizeOf to lb_sizeof
2021-10-26 12:17:39 +01:00
gingerBill
72cc92dc5c
Add llvm_get_inline_asm for future compatibility
2021-10-26 11:44:25 +01:00