| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| From: | "Wiktor S. (wswiktorSP AT Mpoczta DOT fm) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: ANNOUNCE: Update of DJGPP port of gcc-5.3.0 |
| Date: | Tue, 16 Feb 2016 10:19:21 +0100 |
| Organization: | INTERIA.PL S.A. |
| Lines: | 25 |
| Message-ID: | <n9upim$3hk$1@usenet.news.interia.pl> |
| References: | <201601312013 DOT u0VKDC4O017569 AT delorie DOT com> <n8norb$gck$1 AT usenet DOT news DOT interia DOT pl> <56AF7CFB DOT 8010507 AT iki DOT fi> <n8obct$m4c$1 AT usenet DOT news DOT interia DOT pl> <83twlsyya8 DOT fsf AT gnu DOT org> <56B03232 DOT 8040802 AT iki DOT fi> <n8skjg$bf4$1 AT usenet DOT news DOT interia DOT pl> <n9siu0$hu6$1 AT usenet DOT news DOT interia DOT pl> <7c07fdd8-c7f5-4cba-b83d-42407a6717f7 AT googlegroups DOT com> |
| NNTP-Posting-Host: | user-164-127-228-6.play-internet.pl |
| Mime-Version: | 1.0 |
| X-Trace: | usenet.news.interia.pl 1455614360 3636 164.127.228.6 (16 Feb 2016 09:19:20 GMT) |
| X-Complaints-To: | usenet AT firma DOT interia DOT pl |
| NNTP-Posting-Date: | Tue, 16 Feb 2016 09:19:20 +0000 (UTC) |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 6.00.2900.5931 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2900.6157 |
| Bytes: | 2122 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
>> This was a one-line problem in assembly code:
>>
>> rep/movsl (%esi),(%edi)
>>
>> Newest as.exe generates wrong binary code on the above line. After
>> changing to "rep movsl" with space it worked.
>>
>> I don't know if rep/movsl syntax is correct or not, but if it is
>> not, AS should fail instead of silently generating bad code.
>
> Do you mean that GCC itself is generating [sic] "rep/movsl" or is it
> some inline or handwritten (external) assembly file?
It is in handwritten assembly.
The dissasembled (wrong) instruction is
rep add %eax,%esi
--
Wiktor S.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |