[Issue 5364] optimizer kills high dword of -1

2011-11-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5364


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


--- Comment #10 from Walter Bright bugzi...@digitalmars.com 2011-11-18 
00:57:46 PST ---
https://github.com/D-Programming-Language/dmd/commit/b1a31e2e9f35e523777467ae74eebfc99a3bb193

https://github.com/D-Programming-Language/dmd/commit/bc95288b4fb56166edc8c066eca1e17d97446f2e

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5364] optimizer kills high dword of -1

2011-11-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5364


klickverbot c...@klickverbot.at changed:

   What|Removed |Added

 CC||c...@klickverbot.at


--- Comment #11 from klickverbot c...@klickverbot.at 2011-11-18 08:32:03 PST 
---
*** Issue 6537 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5364] optimizer kills high dword of -1

2011-11-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5364


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||FIXED


--- Comment #9 from Walter Bright bugzi...@digitalmars.com 2011-11-17 
21:12:36 PST ---
I can reproduce the problem on Linux.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5364] optimizer kills high dword of -1

2011-11-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5364


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5364] optimizer kills high dword of -1

2011-10-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5364



--- Comment #8 from Don clugd...@yahoo.com.au 2011-10-15 16:03:33 PDT ---
Here's what it does on 32-bit Windows. The commented line is where the
difference is.

mov ECX,8[ESP]
mov EAX,4[ESP]
testECX,ECX
jl  Lsecond
jg  Lfirst
testEAX,EAX
jb  Lsecond
Lfirst: mov EAX,0x
mov ECX,EAX// xor ECX, ECX on failing case
Lsecond:mov EDX,ECX
ret 8

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5364] optimizer kills high dword of -1

2011-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5364



--- Comment #7 from Ellery Newcomer ellery-newco...@utulsa.edu 2011-09-26 
08:59:08 PDT ---
the compile:

~/Downloads/dmd2/linux/bin32/dmd pest -inline -O

the assembly dump:



08085344 _D4pest1bFlZl:
 8085344:   55  push   ebp
 8085345:   8b ec   movebp,esp
 8085347:   8b 4d 0cmovecx,DWORD PTR [ebp+0xc]
 808534a:   8b 44 24 08 moveax,DWORD PTR [esp+0x8]
 808534e:   85 c9   test   ecx,ecx
 8085350:   7c 0d   jl 808535f _D4pest1bFlZl+0x1b
 8085352:   7f 04   jg 8085358 _D4pest1bFlZl+0x14
 8085354:   85 c0   test   eax,eax
 8085356:   72 07   jb 808535f _D4pest1bFlZl+0x1b
 8085358:   b8 ff ff ff ff  moveax,0x
 808535d:   31 c9   xorecx,ecx
 808535f:   5d  popebp
 8085360:   8b d1   movedx,ecx
 8085362:   c2 08 00ret0x8
 8085365:   90  nop
 8085366:   90  nop
 8085367:   90  nop

08085368 _Dmain:
 8085368:   55  push   ebp
 8085369:   8b ec   movebp,esp
 808536b:   6a 00   push   0x0
 808536d:   6a 00   push   0x0
 808536f:   e8 d0 ff ff ff  call   8085344 _D4pest1bFlZl
 8085374:   52  push   edx
 8085375:   50  push   eax
 8085376:   b8 84 67 0c 08  moveax,0x80c6784
 808537b:   6a 0a   push   0xa
 808537d:   e8 22 00 00 00  call   80853a4
_D3std5stdio4File14__T5writeTlTaZ5writeMFlaZv
 8085382:   31 c0   xoreax,eax
 8085384:   5d  popebp
 8085385:   c3  ret
 8085386:   90  nop
 8085387:   90  nop

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5364] optimizer kills high dword of -1

2011-08-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5364



--- Comment #4 from Ellery Newcomer ellery-newco...@utulsa.edu 2011-08-11 
19:19:25 PDT ---
just built dmd from github, and I am seeing this behavior there, too.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5364] optimizer kills high dword of -1

2011-08-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5364



--- Comment #3 from Ellery Newcomer ellery-newco...@utulsa.edu 2011-08-03 
05:52:39 PDT ---
I am still seeing this behavior on DMD32 2.054, Fedora 14 64 bit. I don't have
internet access at home, so I can't test against DMD from git master.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5364] optimizer kills high dword of -1

2011-08-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5364



--- Comment #2 from Don clugd...@yahoo.com.au 2011-08-01 03:59:14 PDT ---
I can't reproduce this on Linux64 either, with the DMD from git master.
Unless somebody can reproduce this, it should be closed as WORKSFORME.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---