From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id E8C7D3858D3C; Thu, 10 Nov 2022 18:39:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E8C7D3858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668105558; bh=lXHOp0WHVlHMyy52DUZZAYVdGelq5+7KsAu8YdkTNHM=; h=From:To:Subject:Date:From; b=Lszth908/zMyc+C8OJ2pDqqcb1RDpPfRKY340YD3uv4xPinY55h+aRyyAeukYGl2I svsXtLHYISNqF8pntJe7AdFl0wYSl7AQdXUbIz9uBik1PMlt1kMYslGIsVMWqRWFK5 3hck6VTmGm3YL+AXvYuElJ91j4TS/tqbUwud3c0U= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: gdb-cvs@sourceware.org Subject: [binutils-gdb] sim: ppc: rename ppc-instructions to powerpc.igen X-Act-Checkin: binutils-gdb X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: 9373f27599a82ed94d9366ad59f0235085a931af X-Git-Newrev: 689c2b4b65fb5d0ce6b6414685e1f5c6f97d7c25 Message-Id: <20221110183918.E8C7D3858D3C@sourceware.org> Date: Thu, 10 Nov 2022 18:39:17 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D689c2b4b65fb= 5d0ce6b6414685e1f5c6f97d7c25 commit 689c2b4b65fb5d0ce6b6414685e1f5c6f97d7c25 Author: Mike Frysinger Date: Thu Nov 10 15:53:25 2022 +0700 sim: ppc: rename ppc-instructions to powerpc.igen =20 To make it clear this is an input to the igen tool, rename it with an igen extension. This matches the other files in the ppc dir (altivec & e500 igen files), and the other igen ports (mips, mn10300, v850). Diff: --- sim/ppc/BUGS | 2 +- sim/ppc/INSTALL | 6 +++--- sim/ppc/Makefile.in | 4 ++-- sim/ppc/{ppc-instructions =3D> powerpc.igen} | 0 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sim/ppc/BUGS b/sim/ppc/BUGS index 362b079e90c..300c79120ce 100644 --- a/sim/ppc/BUGS +++ b/sim/ppc/BUGS @@ -15,7 +15,7 @@ VEA: =20 Missing VEA system calls. =20 -ppc-instructions: +powerpc.igen: =20 Missing or commented out instructions. =20 diff --git a/sim/ppc/INSTALL b/sim/ppc/INSTALL index 9feac7b9e61..22ead08de5f 100644 --- a/sim/ppc/INSTALL +++ b/sim/ppc/INSTALL @@ -218,7 +218,7 @@ With just --enable-sim-warnings, the following -W optio= ns are enabled: =20 =20 Specify the file containing the rules for generating the instruction -decode and execute functions from the file ppc-instructions. +decode and execute functions from the file powerpc.igen. =20 The form of the instruction decode and execute functions is controlled by an opcode table. It specifies: the combination of switch @@ -303,7 +303,7 @@ Create a duplicate copy of each instruction function ha= rdwiring instruction fields that would have otherwise have been variable. =20 As discussed above, igen outputs a C function generated from the file -ppc-instructions (using the opcode rules) for each of the +powerpc.igen (using the opcode rules) for each of the instructions. Thus multiple entries in the instruction decode tables may be pointing back at the same function. Enabling duplicate, will result in psim creating a duplicate of the instruction's function for @@ -343,7 +343,7 @@ disabled (using: --disable-sim-duplicate). Include/exclude PowerPC instructions that are specific to a particular implementation. =20 -Some of the PowerPC instructions included in the file ppc-instructions +Some of the PowerPC instructions included in the file powerpc.igen are limited to certain specific PPC implementations. For instance, the instruction: =20 diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index 05f357a31a0..54e755e5bfe 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -607,10 +607,10 @@ tmp-dgen: dgen ppc-spr-table $(srcroot)/move-if-change $(SILENCE) $(SHELL) $(srcroot)/move-if-change tmp-spreg.c spreg.c $(SILENCE) touch $@ =20 -tmp-igen: igen $(srcdir)/ppc-instructions $(srcdir)/altivec.igen $(srcdir)= /e500.igen $(IGEN_OPCODE_RULES) $(srcroot)/move-if-change +tmp-igen: igen $(srcdir)/powerpc.igen $(srcdir)/altivec.igen $(srcdir)/e50= 0.igen $(IGEN_OPCODE_RULES) $(srcroot)/move-if-change $(ECHO_GEN) $(IGEN) $(IGEN_FLAGS) \ -o $(srcdir)/$(IGEN_OPCODE_RULES) \ - -I $(srcdir) -i $(srcdir)/ppc-instructions \ + -I $(srcdir) -i $(srcdir)/powerpc.igen \ -n icache.h -hc tmp-icache.h \ -n icache.c -c tmp-icache.c \ -n semantics.h -hs tmp-semantics.h \ diff --git a/sim/ppc/ppc-instructions b/sim/ppc/powerpc.igen similarity index 100% rename from sim/ppc/ppc-instructions rename to sim/ppc/powerpc.igen