From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32284 invoked by alias); 6 May 2005 16:50:55 -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 32190 invoked from network); 6 May 2005 16:50:48 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 6 May 2005 16:50:48 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j46Gom1p017736 for ; Fri, 6 May 2005 12:50:48 -0400 Received: from post-office.corp.redhat.com (post-office.corp.redhat.com [172.16.52.227]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j46GomO31509; Fri, 6 May 2005 12:50:48 -0400 Received: from greed.delorie.com (dj.cipe.redhat.com [10.0.0.222]) by post-office.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j46Golv16722; Fri, 6 May 2005 12:50:47 -0400 Received: from greed.delorie.com (greed.delorie.com [127.0.0.1]) by greed.delorie.com (8.13.1/8.13.1) with ESMTP id j46GolDb014558; Fri, 6 May 2005 12:50:47 -0400 Received: (from dj@localhost) by greed.delorie.com (8.13.1/8.13.1/Submit) id j46Gog1n014555; Fri, 6 May 2005 12:50:42 -0400 Date: Fri, 06 May 2005 16:55:00 -0000 Message-Id: <200505061650.j46Gog1n014555@greed.delorie.com> From: DJ Delorie To: dave.korn@artimi.com CC: binutils@sources.redhat.com In-reply-to: (dave.korn@artimi.com) Subject: Re: [PATCH] x86: suppress emission of zero displacements inmemoryoperands References: X-SW-Source: 2005-05/txt/msg00286.txt.bz2 > Oh well, it seems a shame from the > future-proofing-clean-design-and-maintainability point of view Go back to the "self modifying code" part. At that point, you've already blown most of the benefits of maintainable code ;-) > to have to hard code opcode values as hex constants in your program > when you have a handy assembler right there that could do the work > for you..... There was a program to do that job, an "optimizing assembler", but Mel refused to use it. "You never know where it's going to put things", he explained, "so you'd have to use separate constants".