Commit graph

2358 commits

Author SHA1 Message Date
Elias Batek
f68ca2cbe0
Fix #20888 - Compiler spits out implicit conversion technobabble when a return statement doesn't match the return type of a function (#20890) 2025-02-18 16:55:56 +08:00
Walter Bright
56f35fd4df add loads of floating point constants 2025-02-18 08:59:02 +01:00
Dennis
4d4d09ab33
Fix allman brace style (#20885) 2025-02-17 22:23:33 +08:00
Walter Bright
ef47ecf0a2
add floating support to tstresult() (#20884) 2025-02-17 12:07:45 +01:00
Dennis
c0c1b0ab12
Use __FILE__, __LINE__ for templated tracegc hooks (#20882) 2025-02-17 11:53:16 +01:00
Walter Bright
5d96a3cbe1
redo cdnot() floating point implementation (#20883) 2025-02-17 00:01:40 -08:00
Alexander Heistermann
eb21e50e74
Visual Studio Project for druntime #20783 (#20837) 2025-02-17 09:50:30 +08:00
Dennis Korpel
ff28aa1195 Improve field layout of Declaration 2025-02-17 00:43:06 +01:00
Dennis Korpel
efd10b140c Print function bodies instead of __lambda in error messages 2025-02-17 00:41:33 +01:00
Dennis Korpel
24f80a0c42 Put more types in Mcache 2025-02-16 23:48:20 +01:00
Dennis Korpel
b0d35f225f Remove unused TypeIdentifier.originalSymbol 2025-02-16 23:46:47 +01:00
Dennis Korpel
eb75ada85d createModule: pass params by parameter instead of global. 2025-02-16 23:44:55 +01:00
Dennis
961862c455
Deprecate typesafe variadic class arguments (#20673) 2025-02-16 21:35:11 +01:00
Walter Bright
0131a00173
add loaddata() fp support (#20877) 2025-02-16 12:47:19 +01:00
Walter Bright
38c55096cd
implement cdcmp() for AArch64 floating point (#20876) 2025-02-15 22:07:08 -08:00
Dennis
9f33f031f0
Rephrase "no identifier for declarator" parse error (#20872) 2025-02-16 08:09:43 +08:00
Dennis
4b57724c91
Improve parser errors for statements at global scope (#20871) 2025-02-15 23:50:34 +01:00
Walter Bright
e85bc5f16e
add OPnegass code gen (#20868) 2025-02-15 22:54:41 +01:00
Dennis Korpel
5e21fb9110 Fix stale references to BaseLoc 2025-02-13 21:51:18 +01:00
Dennis Korpel
d1df9a6552 Optimize access to Loc.filename 2025-02-13 21:49:33 +01:00
Dennis
842dd20ea5
Fix "DWARF2 reader: Badly formed extended line op encountered" (#20862) 2025-02-14 04:47:28 +08:00
Walter Bright
fe345e8ae9
add op= code generation (#20857) 2025-02-13 12:36:10 -08:00
Walter Bright
8c0967fe7c
cdeq() for AArch64 floating point (#20856) 2025-02-13 15:34:37 +08:00
Dennis
f37cfdf837
Fix #20831 - Mangle conflict after ImportC statement expression gets expanded from macro (#20854) 2025-02-12 20:44:16 +08:00
Dennis
ffbad272b6
Remove const ref from Loc parameters (#20846) 2025-02-12 17:23:25 +08:00
Dennis
c73dca185a
Use binary search for Loc substitutions (#20843) 2025-02-11 06:39:25 +08:00
Dennis
14b1159e78
dcast.d: Remove goto (#20845) 2025-02-11 06:38:02 +08:00
Dennis
5170f3fb69
Rename short Scope fields (#20841)
* Rename short SCOPE fields

* Update headers
2025-02-10 17:22:51 +01:00
Walter Bright
2489ab7f7a
add fpregs to loadFromEA() and storeToEA() (#20834) 2025-02-07 16:32:03 +08:00
Walter Bright
e6d09ab2a9
implement floating point multiply and divide (#20829) 2025-02-06 22:22:17 +08:00
Walter Bright
da0fc14189
load fp register parameter (#20828) 2025-02-06 15:47:41 +08:00
Walter Bright
d1d807deab
add floating point fadd code gen (#20822)
* add floating point add

* add floating point fadd code gen
2025-02-05 11:08:10 -08:00
Walter Bright
bf454f098e
change register count to 64 registers (#20821) 2025-02-04 19:12:09 -08:00
Walter Bright
89b93e8b09 update allocretregs() for AArch64 2025-02-04 09:07:04 +01:00
Walter Bright
fd8b00b58c convert Freg numbers in instr.d 2025-02-04 09:06:30 +01:00
Walter Bright
05bfa58b65
AArch64 OPd_f and OPf_d conversions (#20815) 2025-02-03 17:08:32 +08:00
Walter Bright
e132fb4d3a
more of AArch64 cdcvt implemented (#20814) 2025-02-03 14:35:54 +08:00
Walter Bright
6a51337ad0
detail work on double to integer conversion (#20810) 2025-02-02 15:57:54 +08:00
Walter Bright
f9f4048aed
add Arm conversions of double to integral (#20809) 2025-02-01 18:31:40 -08:00
Dennis
be8668e938
Shrink Loc from 12 to 4 bytes (#20777) 2025-02-01 07:45:36 +08:00
Dennis
d29e3eca45
Remove reference to _d_arrayassign in errors (#20808) 2025-01-31 00:08:38 +01:00
Dennis
0ecefd78ef
Improve error messages for missing opCmp / opEquals (#20806) 2025-01-30 23:31:36 +01:00
Dennis
193b71e546
Refactor opover.d to improve style (#20807) 2025-01-31 06:26:17 +08:00
Dennis
f4558fe0fd
Move toChars overrides to hdrgen.d (#20804) 2025-01-30 23:25:37 +01:00
Dennis
bfbac11136
Don't expose internal names in errors (#20803) 2025-01-30 21:49:50 +08:00
Dennis
a05ac96299
Remove dead debug/version level logic (#20802) 2025-01-30 21:04:33 +08:00
Dennis
06d0cfe2ba
Improve error messages for opUnary (#20801) 2025-01-30 19:44:05 +08:00
Dennis
06e0096aca
Improve opOpAssign error messages (#20800) 2025-01-30 15:04:17 +08:00
Dennis
28bc5c6e74
Fix #20763 - Inconsistent handling of type + value in typeof expressions (#20798)
* Fix #20763 - Inconsistent handling of type + value in typeof expressions

* Add supplemental error

---------

Co-authored-by: Dennis Korpel <dennis@sarc.nl>
2025-01-29 11:26:01 +01:00
Walter Bright
3b863b9c28 implement cdnot() for AArch64 2025-01-29 11:03:03 +01:00