Commit graph

40602 commits

Author SHA1 Message Date
Dennis
c3da7f0747
opover.d: Refactor pattern matching with isXXX (#20794)
Co-authored-by: Dennis Korpel <dennis@sarc.nl>
2025-01-28 13:50:11 +01:00
Dennis
a55dff5f28
Improve opIndex/opSlice error messages (#20791) 2025-01-28 18:44:46 +08:00
Dennis
cfd2dde588
opover.d: refactor common DotTemplateInstanceExp creation logic (#20792) 2025-01-28 10:32:17 +01:00
Martin Kinkelin
130e6aa1d4
GHA main: Add Alpine Linux job, to CI-test musl libc (#20741)
* GHA main: Add Alpine Linux job, to CI-test musl libc

Incl. some test fixes.

* [refactor common isDlcoseNoop logic and prepare for Darwin support]
2025-01-28 00:28:20 +01:00
Walter Bright
94714307ec
add __builtin__popcount() for ImportC (#20790) 2025-01-28 06:25:04 +08:00
Dennis
ea9ead9cae
Improve opBinary error messages (#20789) 2025-01-28 06:23:30 +08:00
Walter Bright
2ca7960029
implement cdpopcnt for AArch64 (#20787) 2025-01-27 22:33:15 +08:00
Dennis
b289b6a6dc
Refactor use of Loc/SourceLoc (#20785) 2025-01-26 14:06:14 +01:00
Walter Bright
b2c9da1337 add more instructions to INSTR 2025-01-26 11:56:14 +01:00
Elias Batek
af002fcad0
Port ntdef macros NT_INFORMATION, NT_WARNING and NT_ERROR (#20782) 2025-01-26 07:32:28 +08:00
Dennis
0ce59518ed
Reduce size of StructLiteralExp (#20779) 2025-01-25 22:56:11 +01:00
Elias Batek
63630b4287
Mark NT_SUCCESS with various applicable attributes (#20781) 2025-01-26 05:53:22 +08:00
Dennis
756e2153d8
Fix astbase.d deprecation warnings (#20778) 2025-01-26 05:42:01 +08:00
Elias Batek
b7e3b3b617
Add core.sys.windows.bcrypt to the build process (#20780) 2025-01-25 21:54:49 +01:00
IchorDev
32883d3994
Add Windows BCrypt bindings (#20740)
* Update sdkddkver/w32api bindings

* Add BCrypt bindings

---------

Co-authored-by: IchorDev <ichordev@noreply.git.sleeping.town>
2025-01-25 16:33:27 +01:00
Walter Bright
128d56dd04
disassembler addv instruction (#20776) 2025-01-25 19:29:48 +08:00
Walter Bright
ab76473eb7
disassemble cnt, fmov and uaddlv (#20775) 2025-01-25 13:31:37 +08:00
Dennis
8fafb9c8bb
Remove BinExp.att fields (#20774) 2025-01-25 05:35:13 +08:00
Dennis
e576b8b38d
backend: remove unused C++ enums (#20773) 2025-01-25 05:34:29 +08:00
Dennis
cb31f45e15
Remove references to D1 opDot (#20772) 2025-01-24 12:00:29 +01:00
Dennis
e5bd2d06aa
Rename Id.index to Id.opIndex etc. (#20771) 2025-01-24 11:31:25 +01:00
Dennis
72a9347165
Fix #18281 - ICE on attempt to compare deref of two functions ptr (#20768) 2025-01-24 07:32:18 +08:00
Dennis
3166ce1646
opover.d: deduplicate tryAliasThisForLhs and checkAliasThisForLhs (#20766) 2025-01-23 23:53:21 +01:00
Dennis
be6a7bb529
Fix #20730 - print SymOff with unsigned offset (#20769) 2025-01-24 06:13:11 +08:00
Dennis
5f47410afc
opover.d: simplify opOverloadAssign and search_function (#20765) 2025-01-24 05:52:29 +08:00
Dennis
1a9848a5c3
Fix rebase of checkArithmetic (#20767) 2025-01-23 16:45:58 +01:00
Dennis
864b5747e6
Move Expression.checkXXX functions to expressionsem.d (#20764) 2025-01-23 21:48:47 +08:00
Dennis Korpel
279f3054bf Short-circuit checkArithmeticBin when lhs is an error 2025-01-23 20:59:30 +08:00
Dennis Korpel
8358e6d33f Move AddExp type check from typeCombine to expressionSemantic 2025-01-23 20:59:30 +08:00
Johan Engelen
047dfb5703
druntime: Upstream exception stack traces on musl platforms from LDC (#20758)
Based on:
* https://github.com/ldc-developers/ldc/pull/4639
* https://github.com/ldc-developers/ldc/pull/4691

Co-authored-by: Martin Kinkelin <noone@nowhere.com>
2025-01-23 15:44:45 +08:00
Dennis
81fce27bed
Deduplicate binary overload function selection (#20759) 2025-01-23 15:41:38 +08:00
Walter Bright
91fb90932b
some reorganizing of instruction patterns (#20761) 2025-01-23 15:24:13 +08:00
Dennis
94b6c3223d
Perform binSemanticProp in opOverloadBinary (#20757) 2025-01-23 00:36:31 +01:00
Dennis
a12022b676
Remove redundant BinExp semantic type check (#20755) 2025-01-23 06:34:15 +08:00
Dennis
9d9056b717
Separate visit() functions from op_overload (#20754)
* Separate visit() functions from op_overload
2025-01-22 15:25:13 +01:00
Nicholas Wilson
c3510723c2
[expressionsem.d] factorise some commonalities of BinExp semantic (#17013)
* [expressionsem.d] factorise some commonalities of BinExp semantic

* Fix missing ModExp vector check

---------

Co-authored-by: Dennis Korpel <dkorpel@gmail.com>
2025-01-22 10:49:01 +01:00
Dennis
096c9c1528
Make delete an identifier instead of keyword (#20745) 2025-01-21 23:33:50 +01:00
Dennis
f60fc38312
opover.d: Separate and simplify BinExp/AssignExp cases (#20750) 2025-01-21 23:09:44 +01:00
Dennis
67f9847622
Move class __cmp lowering to opover.d (#20749)
* Move class __cmp lowering to opover.d

* Use early returns in opover.visitCmp

---------

Co-authored-by: Dennis Korpel <dennis@sarc.nl>
2025-01-22 05:05:48 +08:00
0-v-0
71213dfbf8
Remove redundant else (#20751) 2025-01-22 05:03:42 +08:00
Dennis
080a4d840f
Allow failure on FreeBSD jobs (#20752) 2025-01-22 05:02:45 +08:00
Dennis
12c1363f86
Add changelog entry for error message changes (#20753)
Co-authored-by: Dennis Korpel <dennis@sarc.nl>
2025-01-22 05:01:00 +08:00
Dennis
ff2543f768
opover.d: remove goto, reduce indentation (#20748) 2025-01-21 13:24:16 +01:00
Dennis
f05ccbd0e7
Remove class allocator parsing (#20747) 2025-01-21 19:32:51 +08:00
Dennis
6493805d0a
Remove more D1 operator code (#20746) 2025-01-21 10:27:23 +01:00
Dennis
fc2b2271a6
Remove D1 operators from the D2 language (#20744) 2025-01-21 06:08:05 +08:00
Dennis
2a627016f6
Disallow initializing fields with themself (#20696) 2025-01-21 05:49:24 +08:00
Jonas Meeuws
2ecfa63ce7
Use selective imports when importing from core.stdc in rt (#20742) 2025-01-20 21:12:30 +01:00
Jonas Meeuws
5a02544ea3
Use selective imports when importing from core.stdc in druntime tests (#20743) 2025-01-20 19:59:19 +01:00
Iain Buclaw
ad947b55a8 druntime: Add GNU_InlineAsm implementations 2025-01-19 15:46:27 +01:00