From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6425 invoked by alias); 25 Sep 2005 02:53:04 -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 6411 invoked by uid 22791); 25 Sep 2005 02:52:55 -0000 Received: from hiauly1.hia.nrc.ca (HELO hiauly1.hia.nrc.ca) (132.246.100.193) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sun, 25 Sep 2005 02:52:55 +0000 Received: from hiauly1.hia.nrc.ca (hiauly1.hia.nrc.ca [127.0.0.1] (may be forged)) by hiauly1.hia.nrc.ca (8.12.9-20030917/8.12.9) with ESMTP id j8P2qqeT003259 for ; Sat, 24 Sep 2005 22:52:53 -0400 (EDT) Received: (from dave@localhost) by hiauly1.hia.nrc.ca (8.12.9-20030917/8.12.9/Submit) id j8P2qqeZ003258 for binutils@sources.redhat.com; Sat, 24 Sep 2005 22:52:52 -0400 (EDT) Message-Id: <200509250252.j8P2qqeZ003258@hiauly1.hia.nrc.ca> Subject: [committed] New PA 2.0 opcode entries To: binutils@sources.redhat.com Date: Mon, 26 Sep 2005 19:30:00 -0000 From: "John David Anglin" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2005-09/txt/msg00281.txt.bz2 This patch adds two new "fdc" and one new "fic" entries to the pa_opcodes table. The new "fic" entry replaces an entry that was present in earlier versions of binutils. I had noticed that it was incorrect and deleted it. This caused the linux people to complain. The old opcode generated wrong code which unfortunately sometimes flushed the wrong cache line. The following change builds and checks with no regressions. Committed to head. Dave -- J. David Anglin dave.anglin@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2005-09-24 John David Anglin * hppa.h (pa_opcodes): Add new "fdc" and "fic" opcode entries. Index: hppa.h =================================================================== RCS file: /cvs/src/src/include/opcode/hppa.h,v retrieving revision 1.59 diff -u -3 -p -r1.59 hppa.h --- hppa.h 3 Aug 2005 15:08:52 -0000 1.59 +++ hppa.h 25 Sep 2005 02:16:55 -0000 @@ -306,7 +306,7 @@ static const char *const completer_chars 3) Where implicit addressing is available for an opcode, the implicit opcode should precede the explicit opcode, and - 4) Opcodes without FLAG_STRICT should be order as follows: long + 4) Opcodes without FLAG_STRICT should be ordered as follows: long immediate opcodes, short immediate opcodes and finally register index opcodes. */ @@ -753,8 +753,11 @@ static const struct pa_opcode pa_opcodes { "iitlbp", 0x04000000, 0xfc001fff, "x,(S,b)", pa10, 0}, { "pdc", 0x04001380, 0xfc00ffdf, "cZx(b)", pa10, 0}, { "pdc", 0x04001380, 0xfc003fdf, "cZx(s,b)", pa10, 0}, +{ "fdc", 0x04003280, 0xfc00ffff, "5(b)", pa20, FLAG_STRICT}, +{ "fdc", 0x04003280, 0xfc003fff, "5(s,b)", pa20, FLAG_STRICT}, { "fdc", 0x04001280, 0xfc00ffdf, "cZx(b)", pa10, 0}, { "fdc", 0x04001280, 0xfc003fdf, "cZx(s,b)", pa10, 0}, +{ "fic", 0x040013c0, 0xfc00dfdf, "cZx(b)", pa20, FLAG_STRICT}, { "fic", 0x04000280, 0xfc001fdf, "cZx(S,b)", pa10, 0}, { "fdce", 0x040012c0, 0xfc00ffdf, "cZx(b)", pa10, 0}, { "fdce", 0x040012c0, 0xfc003fdf, "cZx(s,b)", pa10, 0},