[Issue 24181] reading double parameter from RCX rather than XMM1
https://issues.dlang.org/show_bug.cgi?id=24181 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #9 from Dlang Bot --- @WalterBright created dlang/dmd pull request #15707 "fix Issue 24181 - reading double parameter from RCX rather than XMM1" fixing this issue: - fix Issue 24181 - reading double parameter from RCX rather than XMM1 https://github.com/dlang/dmd/pull/15707 --
[Issue 24181] reading double parameter from RCX rather than XMM1
https://issues.dlang.org/show_bug.cgi?id=24181 Walter Bright changed: What|Removed |Added Summary|dmd compiled tinylisp.c |reading double parameter |runtime error |from RCX rather than XMM1 --
[Issue 24181] dmd compiled tinylisp.c runtime error
https://issues.dlang.org/show_bug.cgi?id=24181 --- Comment #8 from Walter Bright --- For this: unsigned equ(double x, double y) { return *(long long *) == *(long long *) } The generated code is: equ: sub RSP,018h movq[RSP],XMM0 mov RAX,[RSP] cmp RAX,RCX <== ARRRGHHH!! setzAL movzx RAX,AL add RSP,018h ret The `y` parameter is passed in XMM1, not RCX. The cast to long long has fooled the code generator. I suspected something like this was happening, but it took a while to find it. --
[Issue 24181] dmd compiled tinylisp.c runtime error
https://issues.dlang.org/show_bug.cgi?id=24181 --- Comment #7 from mw --- BTW, dmd generate binary also have runtime error with this single file lisp: https://github.com/Robert-van-Engelen/lisp/blob/main/src/lisp.c src$ dmd lisp.c src$ ./lisp lisp unbound define ERR 3 unbound symbol 8020+2000> # dmd -m32 works fine: src$ dmd -m32 lisp.c $ ./lisp lisp null? number? ... defmacro defun 6322+1929> GCC, and LDC2 works fine. --
[Issue 20920] Typedef!int + Typedef!int => int? is this a typedef overlook?
https://issues.dlang.org/show_bug.cgi?id=20920 --- Comment #3 from mw --- Comment on attachment 1894 --> https://issues.dlang.org/attachment.cgi?id=1894 s7.i.gz attached. dmd s7.i shows the same error. wrong operation, this is for issue #24187 --
[Issue 24187] dmd ImportC: cmathcalls.h(55): Error: illegal type combination
https://issues.dlang.org/show_bug.cgi?id=24187 --- Comment #4 from mw --- Created attachment 1895 --> https://issues.dlang.org/attachment.cgi?id=1895=edit s7.i.gz attached. dmd s7.i shows the same error. s7.i.gz attached. dmd s7.i shows the same error. --
[Issue 20920] Typedef!int + Typedef!int => int? is this a typedef overlook?
https://issues.dlang.org/show_bug.cgi?id=20920 --- Comment #2 from mw --- Created attachment 1894 --> https://issues.dlang.org/attachment.cgi?id=1894=edit s7.i.gz attached. dmd s7.i shows the same error. s7.i.gz attached. dmd s7.i shows the same error. --
[Issue 24187] dmd ImportC: cmathcalls.h(55): Error: illegal type combination
https://issues.dlang.org/show_bug.cgi?id=24187 --- Comment #3 from mw --- I can upload the generated s7.i on my machine, do you think it will helpful? --
[Issue 24181] dmd compiled tinylisp.c runtime error
https://issues.dlang.org/show_bug.cgi?id=24181 --- Comment #6 from mw --- In the same github repo, there is a equivalent commented .c file (dmd generated binary has the same runtime error): https://github.com/Robert-van-Engelen/tinylisp https://github.com/Robert-van-Engelen/tinylisp/blob/main/src/tinylisp-commented.c and the design doc: https://github.com/Robert-van-Engelen/tinylisp/blob/main/tinylisp.pdf gcc works fine: $ make tinylisp-commented cc tinylisp-commented.c -o tinylisp-commented (env) zhou@joort:~/project/unzip/tinylisp/src$ ./tinylisp-commented tinylisp 930>(+ 3 5) 8 $ dmd tinylisp-commented.c tinylisp-commented.c: Error: module `tinylisp-commented` has non-identifier characters in filename, use module declaration instead $ ln -s tinylisp-commented.c tinylisp_commented.c $ dmd tinylisp_commented.c $ ./tinylisp_commented tinylisp 930>(+ 3 5) ERR # -m32 works confirmed: $ dmd -m32 tinylisp_commented.c $ ./tinylisp_commented tinylisp 930>(+ 3 5) 8 --
[Issue 17717] C++ files not always recompiled when changed
https://issues.dlang.org/show_bug.cgi?id=17717 --- Comment #3 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/243 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 24077] Visual D is not being installed for VS 2022
https://issues.dlang.org/show_bug.cgi?id=24077 --- Comment #3 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/259 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 19356] Improve completion list
https://issues.dlang.org/show_bug.cgi?id=19356 --- Comment #3 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/248 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 11026] cannot step in debugger after exception
https://issues.dlang.org/show_bug.cgi?id=11026 --- Comment #4 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/234 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 13913] Cleanup imports
https://issues.dlang.org/show_bug.cgi?id=13913 --- Comment #1 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/235 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 13912] Offer to 'import missing packages' like C# and Java
https://issues.dlang.org/show_bug.cgi?id=13912 --- Comment #8 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/237 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 19350] automatically show information about current scope with the closing brace
https://issues.dlang.org/show_bug.cgi?id=19350 --- Comment #1 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/246 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 16692] New debug experience: possible to execute pure functions during expression evaluation?
https://issues.dlang.org/show_bug.cgi?id=16692 --- Comment #13 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/241 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 24136] Support shortened methods syntax
https://issues.dlang.org/show_bug.cgi?id=24136 --- Comment #6 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/240 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 23843] Visual Studio no longer can be set to break on user-handled D exceptions
https://issues.dlang.org/show_bug.cgi?id=23843 --- Comment #2 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/258 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 19958] Option to hide select module namespace prefixes from symbols?
https://issues.dlang.org/show_bug.cgi?id=19958 --- Comment #3 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/253 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 18841] VisualD - Build Phobos Browse Info needs to not be a manual step
https://issues.dlang.org/show_bug.cgi?id=18841 --- Comment #1 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/245 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 21434] Download files are not deleted when successfully installed with auto update.
https://issues.dlang.org/show_bug.cgi?id=21434 --- Comment #1 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/254 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 17811] No stack for Win32 exceptions
https://issues.dlang.org/show_bug.cgi?id=17811 --- Comment #10 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/244 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 19355] Improve tooltip text and layout
https://issues.dlang.org/show_bug.cgi?id=19355 --- Comment #1 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/247 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 23280] Error: Incompatible types for array comparison: string and string
https://issues.dlang.org/show_bug.cgi?id=23280 --- Comment #3 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/257 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 24180] Debugger no longer shows locals "busy" VS2022
https://issues.dlang.org/show_bug.cgi?id=24180 --- Comment #1 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/261 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 19929] LDC support dcompute codegen options?
https://issues.dlang.org/show_bug.cgi?id=19929 --- Comment #1 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/252 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 24119] VS2022 create project wizard not working or VS2022 integration issue
https://issues.dlang.org/show_bug.cgi?id=24119 --- Comment #3 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/260 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 23043] Visual D (VS 2022) project templates missing until configuration manually updated
https://issues.dlang.org/show_bug.cgi?id=23043 --- Comment #4 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/256 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 19436] Visual D sometimes doesn't offer completions for template args
https://issues.dlang.org/show_bug.cgi?id=19436 --- Comment #1 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/249 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 13925] Refactor - renaming symbols
https://issues.dlang.org/show_bug.cgi?id=13925 --- Comment #1 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/238 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 21588] Please add a way to setup a "Dustmite" when project build is failed because of DMD or Link failed because of DMD bug
https://issues.dlang.org/show_bug.cgi?id=21588 --- Comment #6 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/239 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 19866] Add VisualD as first-class download
https://issues.dlang.org/show_bug.cgi?id=19866 --- Comment #2 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/250 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 19927] D standard library not detected if I select "Release" as the current build configuration
https://issues.dlang.org/show_bug.cgi?id=19927 --- Comment #16 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/251 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 21769] Debugger customization methods do not work with LDC
https://issues.dlang.org/show_bug.cgi?id=21769 --- Comment #2 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/255 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 11641] [enhancement] support for DUB's "package.json" format
https://issues.dlang.org/show_bug.cgi?id=11641 --- Comment #3 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/236 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 17550] No Edits while Resharper Extension is active
https://issues.dlang.org/show_bug.cgi?id=17550 --- Comment #2 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/242 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 11026] cannot step in debugger after exception
https://issues.dlang.org/show_bug.cgi?id=11026 --- Comment #3 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/233 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 13912] Offer to 'import missing packages' like C# and Java
https://issues.dlang.org/show_bug.cgi?id=13912 --- Comment #7 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/203 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 11641] [enhancement] support for DUB's "package.json" format
https://issues.dlang.org/show_bug.cgi?id=11641 --- Comment #2 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/200 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 11026] cannot step in debugger after exception
https://issues.dlang.org/show_bug.cgi?id=11026 --- Comment #2 from dlangBugzillaToGithub --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/visuald/issues/197 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB --
[Issue 24181] dmd compiled tinylisp.c runtime error
https://issues.dlang.org/show_bug.cgi?id=24181 --- Comment #5 from Walter Bright --- Ah, thanks Dennis! This is very helpful. --
[Issue 24181] dmd compiled tinylisp.c runtime error
https://issues.dlang.org/show_bug.cgi?id=24181 Dennis changed: What|Removed |Added CC||dkor...@live.nl --- Comment #4 from Dennis --- I tried reducing it with dustmite, but it's still pretty large: ``` int printf(); int sscanf(); char *strcpy(); int strcmp(); long strlen(); unsigned hp, sp = 1024, ATOM, PRIM, CONS = 0x7ffa, NIL; double cell[1024], nil, tru, err, env; double box(unsigned t, unsigned i) { double x; *(long *) = (long)t << 48 | i; return x; } unsigned ord(double x) { return *(unsigned *) } unsigned equ(double x, double y) { return *(unsigned *) == *(long *) } double atom(char *s) { unsigned i = 0; while (i < hp && strcmp((char *)cell + i, s)) i += 1; hp += strlen(strcpy((char *)cell + i, s)) + 1; return box(ATOM, i); } double cons(double x, double y) { cell[--sp] = x; cell[--sp] = y; return box(CONS, sp); } double car(double p) { return p ? cell[ord(p) + 1] : err; } double cdr(double p) { return p ? cell[ord(p)] : err; } double pair(double v, double x, double e) { return cons(cons(v, x), e); } double assoc(double v, double e) { while (e && !equ(v, car(car(e e = cdr(e); return e ? cdr(car(e)) : err; } unsigned not(double x) { return x == NIL; } double f_add(double t) { double n; while (!not(t = cdr(t))) n += car(t); return n; } struct { char *s; double (*f)(); } prim[] = { "-", 0, "+", f_add, }; double apply(double f, double t) { return f ? prim[ord(f)].f(t) : f; } double eval(double x, double e) { return *(long *) >> 48 == ATOM ? assoc(x, e) : x ? apply(eval(car(x), e), x) : x; } char buf[40], see; char* input = "(+ 4 4)"; int inputI = 0; void look() { see = input[inputI++]; } unsigned seeing(char c) { return c ? see <= c : see; } char get() { char c = see; look(); return c; } char scan() { int i = 0; while (seeing(' ')) look(); return buf[i++] = get(); } double parse(); double list() { double x; return scan() == ')' ? nil : (x = parse(), cons(x, list())); } double atomic() { double n; int i; return sscanf(buf, "%lg%n", , ) ? n : atom(buf); } double parse() { return *buf == '(' ? list() : atomic(); } void print(double x) { // printf("%016lX\n", *(unsigned long*)); if (x == ATOM) printf("ERR"); else printf("%.10lg", x); } int main() { int i; for (i = 0; prim[i].s; ++i) env = pair(atom(prim[i].s), box(PRIM, i), env); double result = eval((scan(), parse()), env); print(result); } ``` This program prints 8 with gcc, but ERR with dmd on linux 64-bit. --
[Issue 24181] dmd compiled tinylisp.c runtime error
https://issues.dlang.org/show_bug.cgi?id=24181 Walter Bright changed: What|Removed |Added Keywords||backend --- Comment #3 from Walter Bright --- Hmm, it does work with -m32, implying a code gen problem. --
[Issue 24181] dmd compiled tinylisp.c runtime error
https://issues.dlang.org/show_bug.cgi?id=24181 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #2 from Walter Bright --- Unfortunately, it's not a very simple example. It's very dense, compressed code with no comments. So far, I haven't found where the dmd version diverges from the gcc version. I'll look at it some more tomorrow. --
[Issue 24187] dmd ImportC: cmathcalls.h(55): Error: illegal type combination
https://issues.dlang.org/show_bug.cgi?id=24187 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #2 from Walter Bright --- My Linux machine apparently has a different cmathcalls.h file than yours. If you could isolate the source code that causes this problem, that would be most helpful. --