From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27117 invoked by alias); 12 Apr 2005 20:43:35 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 27064 invoked from network); 12 Apr 2005 20:43:28 -0000 Received: from unknown (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org with SMTP; 12 Apr 2005 20:43:28 -0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id j3CKhBEq020021; Tue, 12 Apr 2005 22:43:11 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.4/8.13.3) with ESMTP id j3CKhAnA019288; Tue, 12 Apr 2005 22:43:10 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id j3CKhAwO031139; Tue, 12 Apr 2005 22:43:10 +0200 (CEST) Date: Tue, 12 Apr 2005 20:43:00 -0000 Message-Id: <200504122043.j3CKhAwO031139@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: michal@logix.cz CC: binutils@sourceware.org In-reply-to: <425C305A.6000504@logix.cz> (message from Michal Ludvig on Wed, 13 Apr 2005 08:32:26 +1200) Subject: Re: [RFC/RFA] Proper mnemonics for VIA PadLock (i386) instructions References: <200504121915.j3CJFO0P017574@elgar.sibelius.xs4all.nl> <425C305A.6000504@logix.cz> X-SW-Source: 2005-04/txt/msg00296.txt.bz2 Date: Wed, 13 Apr 2005 08:32:26 +1200 From: Michal Ludvig Mark Kettenis wrote: > This one is a bit nasty. The OpenBSD in-tree gas has had support for > the VIA PadLock instructions for a while. Unfortunately that support > was never submitted for inclusion into the FSF tree. A little over a > year ago Michal Ludvig committed support for these instructions. > Unfortunately he used mnemonics that differ from the instruction names > as used in the VIA documentation; the VIA names include a hyphen that > Michal left out. I presume Michal did this because gas doesn't accept > hyphens in mnemonics. That can be fixed though. This patch does > that, and adds back the missing hyphen. It also adds a missing > instruction that's going to be in the VIA cpu. > > This patch keeps hyphen-less aliases for the instructions. The gas > testsuite still passes with this patch applied. As long as the names without hyphen still exist I don't object. Coincidently in Linux Journal of May 05 there is an article about VIA PadLock that uses the current short names (obviously). Code using the names without the hyphen will still assemble fine. However, what is the point of having two names for one instruction? Why not to support only the one without hyphen? Because there is already code out there that uses the hyphen. The reason for preferring the hyphenated names over the unhyphenated names is that the former are used by the VIA documentation. Cheers, Mark