Commit Graph

  • ebbc33fdb5 Mockup of the new package os interface (incomplete and non-functioning) gingerBill 2021-04-14 19:39:12 +01:00
  • 1de928df78 fixed bug in parser on when Daniel Gavin 2021-04-14 18:43:04 +02:00
  • 3a4373641b Correct call site attributes gingerBill 2021-04-14 17:16:10 +01:00
  • 9adec628c1 Add @(cold) attribute to procedure declarations gingerBill 2021-04-14 17:15:28 +01:00
  • aded272b33 split stmts Daniel Gavin 2021-04-14 18:04:48 +02:00
  • b0721f1e0c aligning structs now work Daniel Gavin 2021-04-14 16:31:31 +02:00
  • 7e90ece84a more switch alignment work Daniel Gavin 2021-04-14 16:03:36 +02:00
  • 1f563f2810 work on switch alignment Daniel Gavin 2021-04-14 15:34:50 +02:00
  • 3e54cddf64 Merge pull request #902 from Kelimion/run_as_user gingerBill 2021-04-14 12:15:30 +01:00
  • d602709133 Fix typo gingerBill 2021-04-14 12:14:44 +01:00
  • c46317c00b fix os error Daniel Gavin 2021-04-14 02:20:05 +02:00
  • cb4b7efd3e only align comments in same indentation blocks Daniel Gavin 2021-04-14 01:57:42 +02:00
  • 411beaa3bf work on comments Daniel Gavin 2021-04-14 01:15:46 +02:00
  • 1cb3a31f32 have to sort attributes because they are not ordered by position(maybe bug on parser) Daniel Gavin 2021-04-14 00:53:34 +02:00
  • c99afd04ad work Daniel Gavin 2021-04-14 00:08:09 +02:00
  • 3157467e4b bring over the odinfmt code Daniel Gavin 2021-04-13 23:59:40 +02:00
  • 2001384ae6 make sure to print comments at the end of the file Daniel Gavin 2021-04-13 23:52:23 +02:00
  • b09e53d7fe now aligning comments Daniel Gavin 2021-04-13 23:42:58 +02:00
  • 8e1120bc09 Fix typo gingerBill 2021-04-13 19:23:12 +01:00
  • d046c9c072 at the same point as the previous formatter now Daniel Gavin 2021-04-13 20:18:50 +02:00
  • ebed29fc09 Revert *nix thread stuff to old sync (I was just testing) gingerBill 2021-04-13 19:09:04 +01:00
  • bee8beb2c9 Default to pthreads in sync2 for *nix gingerBill 2021-04-13 19:04:44 +01:00
  • 12296a0dcc Allow intrinsics entities to be exported from other packages if wanted gingerBill 2021-04-13 18:57:47 +01:00
  • 2e8da35851 multiline comments work Daniel Gavin 2021-04-13 15:27:04 +02:00
  • 2942e45ff5 Placate -vet for unrelated core:thread update. Jeroen van Rijn 2021-04-13 02:23:14 +02:00
  • aca5c7c1c6 Placate -vet. Jeroen van Rijn 2021-04-13 02:18:47 +02:00
  • a1d871360c Add support to core:windows to add/delete users. Jeroen van Rijn 2021-04-13 02:09:44 +02:00
  • 1d3458cadb single line comments work Daniel Gavin 2021-04-12 22:35:26 +02:00
  • 2b36069924 Fix typo gingerBill 2021-04-12 17:13:05 +01:00
  • 9139ca4673 more work on fmt Daniel Gavin 2021-04-12 17:01:43 +02:00
  • 4fb4ada2c7 Update sync2 to just use atomic intrinsics rather than the parapoly wrappers gingerBill 2021-04-12 15:22:40 +01:00
  • e3ee005404 Clean up path_unix.odin to make it not depend on package os gingerBill 2021-04-11 19:05:01 +01:00
  • e8bf1f2064 Minor fixes to platform checking code gingerBill 2021-04-11 18:59:54 +01:00
  • e0e6bba865 start new prototype Daniel Gavin 2021-04-11 19:47:33 +02:00
  • 1156bd9dd0 Remove thread stuff from sync2; Cleanup package thread gingerBill 2021-04-11 18:25:56 +01:00
  • 52c193316b Add Thread stuff to new sync package gingerBill 2021-04-11 15:36:55 +01:00
  • 2db1fe7429 New redesign of core:sync (stored under core:sync/sync2 for the time being) gingerBill 2021-04-11 15:18:28 +01:00
  • 5bc9e4e4f7 Merge pull request #901 from atkurtul/swarning gingerBill 2021-04-09 11:28:06 +01:00
  • 2d99a348b8 Fix proc literal bug not finding the associated DeclInfo gingerBill 2021-04-09 11:27:44 +01:00
  • 011c8d5cda fix Syntax Warning Gitea 2021-04-09 13:03:01 +03:00
  • 8169cb4853 Fix missing newlines in core:math/linalg/specific.odin vassvik 2021-04-09 09:21:20 +02:00
  • 18ab7fb68b Add break; for sanity gingerBill 2021-04-08 15:32:59 +01:00
  • 3eaf3327d4 Add "Dwarf Version" metadata for darwin on -llvm-api gingerBill 2021-04-08 15:06:23 +01:00
  • d721ffa6fa Add assertion check on parameter types for lb_emit_call_internal gingerBill 2021-04-06 11:26:57 +01:00
  • 535048e2b3 Fix LLVMConstIntOfArbitraryPrecision usage for a pointer gingerBill 2021-04-06 11:07:05 +01:00
  • 050d6f670e Merge pull request #896 from Platin21/Master-Origin gingerBill 2021-04-05 19:06:04 +01:00
  • ae7d7d33d4 Merge remote-tracking branch 'origin/master' into Master-Origin Platin21 2021-04-05 19:57:58 +02:00
  • 19470683e7 Add runtime.extendhfsf2 to dependency list gingerBill 2021-04-05 18:57:09 +01:00
  • 394e4fcbad Add __extendhfsf2 for macOS gingerBill 2021-04-05 18:44:08 +01:00
  • f722cceef0 Removed debug code Platin21 2021-04-05 19:35:03 +02:00
  • 66fb2a94ee Adds return values to linker stages Platin21 2021-04-05 19:27:02 +02:00
  • f78b2a6090 Undo fix gingerBill 2021-04-03 18:04:39 +01:00
  • 46bf39cae1 Fix lb_emit_array_ep gingerBill 2021-04-03 18:03:36 +01:00
  • 46c5c7d1ec Experiment with different opt passes gingerBill 2021-04-01 23:41:01 +01:00
  • bcda9ddee7 Add core:math/fixed gingerBill 2021-04-01 17:09:34 +01:00
  • 4a66cbb1f4 Fix signed fixed arithmetic intrinsics gingerBill 2021-04-01 17:08:34 +01:00
  • f0392d0c75 Cleanup again gingerBill 2021-04-01 15:46:07 +01:00
  • 3bd39886a0 Cleanup code for fixed-point intrinsics gingerBill 2021-04-01 15:43:50 +01:00
  • cef698afd6 Implement fixed-point arithmetic intrinsics for -llvm-api backend gingerBill 2021-04-01 14:36:06 +01:00
  • 0fc04a939e Add f16 support to core:math/linalg gingerBill 2021-04-01 11:12:40 +01:00
  • 3e1b4c17ac Fix alignment for complex32 and quaternion64 gingerBill 2021-04-01 11:10:17 +01:00
  • b3e788b9d9 Fix missing complex32/quaternion64 checks gingerBill 2021-04-01 10:56:57 +01:00
  • 63bb26c0e0 Add f16 specific procedures to core:math gingerBill 2021-04-01 10:52:46 +01:00
  • b3dce34bc6 Add min(f16) and max(f16) support gingerBill 2021-04-01 10:35:07 +01:00
  • 491b282615 Add extra optimization level pass -opt:2 in lb_populate_module_pass_manager gingerBill 2021-04-01 10:31:46 +01:00
  • 54e6c50769 Implement f16 functionality gingerBill 2021-04-01 10:06:00 +01:00
  • a00d7cc705 Merge pull request #884 from corruptmemory/corruptmemory/better-define-errors gingerBill 2021-03-30 21:59:03 +01:00
  • 9757af5e4a Helpful error message for invalid -define: cases Jim Powers 2021-03-28 10:11:24 -04:00
  • 3359d0323a Change >> behaviour in LLVM to prevent stupid UB gingerBill 2021-03-30 20:38:04 +01:00
  • fbd01660ee Experiment with new grammatical parsing rule for expression level (-strict-style) idea gingerBill 2021-03-30 11:48:32 +01:00
  • bc5e80d7d6 Merge pull request #885 from DanielGavin/parser gingerBill 2021-03-30 11:47:45 +01:00
  • c429c85ade Merge remote-tracking branch 'upstream/master' into parser DanielGavin 2021-03-30 12:42:11 +02:00
  • 02bbac0903 changed error DanielGavin 2021-03-30 12:40:40 +02:00
  • b8658547e0 Give error if raw literal hits EOF, and stop removing .Using if it exists in flags and allowed_flags. DanielGavin 2021-03-30 12:38:58 +02:00
  • 2c14accfd0 Merge pull request #879 from Kelimion/partial_hash_updates gingerBill 2021-03-30 11:20:19 +01:00
  • 439e2c9242 Fix shifting limits and LLVM code gen bug relating to shifts gingerBill 2021-03-29 23:15:31 +01:00
  • 6fb0868517 Remove dead code and comments gingerBill 2021-03-29 22:45:36 +01:00
  • e1588c9322 Remove LLVMPassManagerBuilder usage in lb_populate_module_pass_manager; simplify lb_populate_function_pass_manager gingerBill 2021-03-29 22:04:54 +01:00
  • 8fcc6ca464 Add LLVM_USE_NO_EXTRA_PASSES build flag gingerBill 2021-03-29 16:51:06 +01:00
  • faa0240900 Change how lb_populate_module_pass_manager handles the LLVMPassManagerBuilder calls gingerBill 2021-03-29 16:40:39 +01:00
  • 66941aed0a Clamp maximum optimization level to 2 for -llvm-api gingerBill 2021-03-29 15:51:15 +01:00
  • fc8c94324e Fix typo gingerBill 2021-03-29 15:43:33 +01:00
  • 8c20ac1bf0 Add optional LLVM_USE_BASIC_PASSES build flag. If evaluates to a truthy value, it will be do only basic passes for -llvm-api gingerBill 2021-03-29 14:55:37 +01:00
  • 371094b067 Remove LLVMAddScalarReplAggregatesPass from passes gingerBill 2021-03-29 14:50:09 +01:00
  • c1e125a009 Change alignment of alloca to a larger one if OdinLLVMBuildTransmute requires it gingerBill 2021-03-29 14:31:26 +01:00
  • 48767301a4 Another minor change to OdinLLVMBuildTransmute regarding minimum source alignment gingerBill 2021-03-29 14:11:02 +01:00
  • 253a3edd30 Change OdinLLVMBuildTransmute when to deal with loads gingerBill 2021-03-29 14:07:25 +01:00
  • 8239cd34eb Issue #823 - Change semantics of disabled attribute to not evaluate any of the parameters at run time gingerBill 2021-03-27 17:59:01 +00:00
  • 818942b72e Minor code style change gingerBill 2021-03-27 17:26:38 +00:00
  • 9bac9af022 Clean up code for record type checking gingerBill 2021-03-27 17:25:56 +00:00
  • 342761e83a Refactor record polymorphic params code for unification gingerBill 2021-03-27 17:21:12 +00:00
  • 87bc9275fe Correct poly type determination of a where clause for an enumerated array gingerBill 2021-03-27 16:49:56 +00:00
  • 5ade037b7d Refactor polymorphic parameter for records; Improve error message for parametric polymorphic enumerated array index types gingerBill 2021-03-27 16:42:42 +00:00
  • 1e587d6635 Fix #883 - polymorphic specialization with target types of enumerated arrays gingerBill 2021-03-27 15:22:05 +00:00
  • e21d716720 Fix endian conversion to and from floats and ints gingerBill 2021-03-27 14:33:33 +00:00
  • d62ff39e60 Remove extra passes gingerBill 2021-03-27 13:30:15 +00:00
  • 0ccf103160 Fix byte swapping for endian specific types in -llvm-api gingerBill 2021-03-27 12:48:29 +00:00
  • 01c2662de4 Simplify ir_print.cpp escape byte code gingerBill 2021-03-27 12:17:12 +00:00
  • bd607b131e Fix #882 gingerBill 2021-03-27 12:13:17 +00:00
  • 43ac6ca8f4 Add linalg.matrix_cast gingerBill 2021-03-26 16:24:56 +00:00