From owner-freebsd-hackers Sun Sep 1 14:52:15 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA21199 for hackers-outgoing; Sun, 1 Sep 1996 14:52:15 -0700 (PDT) Received: from uucp.DK.net (uucp@uucp.DK.net [193.88.44.47]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA21194 for ; Sun, 1 Sep 1996 14:52:11 -0700 (PDT) Received: from pingnet (uucp@localhost) by uucp.DK.net (8.6.12/8.6.12) with UUCP id XAA09595; Sun, 1 Sep 1996 23:51:59 +0200 Received: from kyklopen by ic1.ic.dk with UUCP id AA16640 (5.65c8/IDA-1.4.4j); Sun, 1 Sep 1996 23:50:05 +0200 Received: from localhost (staff@localhost) by kyklopen.ping.dk (8.7.5/8.7.3) with SMTP id XAA06463; Sun, 1 Sep 1996 23:49:39 +0200 (MET DST) Date: Sun, 1 Sep 1996 23:49:38 +0200 (MET DST) From: Thomas Sparrevohn X-Sender: staff@kyklopen To: Bruce Evans Cc: freebsd-hackers@freebsd.org Subject: Re: movsbw question In-Reply-To: <199609011522.BAA10132@godzilla.zeta.org.au> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Charset: ISO_8859-1 X-Char-Esc: 29 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 2 Sep 1996, Bruce Evans wrote: > Neither :-). It takes a r/m8 operand and converts it to a r16 result. > An Intel assembler book would spell the instruction movsx. > It was the movsx instruction it I was interessted in. The pgcc emits an instruction sequence that breaks our gas and i was wondering wether it was the FreeBSD gas that was wrong. > The FreeBSD version of gas doesn't really understand this instruction. > It generates a superfluous second operand size override for > > movsbw %al,%bx > > It emits bytes 0x66, 0x66, 0x0f, 0xbe, 0xd8. This is fixed in > > GNU assembler version 2.6 (i486-linux), using BFD version 2.6.0.2 > I take a look at it. Thank you. --Thomas