www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2011/06/23/01:02:06

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
X-Authenticated: #27081556
X-Provags-ID: V01U2FsdGVkX18t+98UNZ4t39oPjp0B7ItDqtWSalyOyT0Ay3+YlU
VrU1o57xcFy4tb
From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
To: djgpp-workers AT delorie DOT com
Subject: Re: Difficulties compiling libc using GCC 4.5.3
Date: Thu, 23 Jun 2011 06:56:30 +0200
User-Agent: KMail/1.9.10
References: <201106230342 DOT 56961 DOT juan DOT guerrero AT gmx DOT de> <BANLkTi=u0A+oT8T7b+3JK2STYs8Jq81awQ AT mail DOT gmail DOT com>
In-Reply-To: <BANLkTi=u0A+oT8T7b+3JK2STYs8Jq81awQ@mail.gmail.com>
MIME-Version: 1.0
Message-Id: <201106230656.30510.juan.guerrero@gmx.de>
X-Y-GMX-Trusted: 0
Reply-To: djgpp-workers AT delorie DOT com

Am Donnerstag, 23. Juni 2011 schrieb Rugxulo:

> "sil" is a AMD64 (64-bit long mode) register (isn't it?), so your GAS
> must be confused with normal "si" and AT&T syntax "l" size postfix.

si is the source index register.
AFAIK sil = 8bit, si = 16bit, esi = 32bit, rsi = 64bit.
The AT&T syntax "l" size postfix is applied to the opcode and
not to the registers AFAIK.  E.g. movl = 32bit move opcode.

It should be noted that the bug appears if compiled with -O0.
It compiles flawessly for -O1 and -O2.  The same bug appears
with GCC 4.6.0

Regards,
Juan M. Guerrero

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019