From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUSSO-0002a1-N8 for qemu-devel@nongnu.org; Tue, 02 Aug 2016 01:41:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUSSL-000099-JV for qemu-devel@nongnu.org; Tue, 02 Aug 2016 01:41:36 -0400 Date: Tue, 2 Aug 2016 15:41:42 +1000 From: David Gibson Message-ID: <20160802054142.GY2588@voom.fritz.box> References: <1470046662-23737-1-git-send-email-benh@kernel.crashing.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bNvn4bxlrUVLu6cT" Content-Disposition: inline In-Reply-To: <1470046662-23737-1-git-send-email-benh@kernel.crashing.org> Subject: Re: [Qemu-devel] [PATCHv3 RESEND] ppc: Rename #include'd .c files to .inc.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Benjamin Herrenschmidt Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org --bNvn4bxlrUVLu6cT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 01, 2016 at 08:17:42PM +1000, Benjamin Herrenschmidt wrote: > Also while at it, group the #include statements in translate.c >=20 > Signed-off-by: Benjamin Herrenschmidt Applied, thanks. > --- > target-ppc/translate.c | 40 +++++++++++-----= ------ > .../translate/{dfp-impl.c =3D> dfp-impl.inc.c} | 0 > target-ppc/translate/{dfp-ops.c =3D> dfp-ops.inc.c} | 0 > target-ppc/translate/{fp-impl.c =3D> fp-impl.inc.c} | 0 > target-ppc/translate/{fp-ops.c =3D> fp-ops.inc.c} | 0 > .../translate/{spe-impl.c =3D> spe-impl.inc.c} | 0 > target-ppc/translate/{spe-ops.c =3D> spe-ops.inc.c} | 0 > .../translate/{vmx-impl.c =3D> vmx-impl.inc.c} | 0 > target-ppc/translate/{vmx-ops.c =3D> vmx-ops.inc.c} | 0 > .../translate/{vsx-impl.c =3D> vsx-impl.inc.c} | 0 > target-ppc/translate/{vsx-ops.c =3D> vsx-ops.inc.c} | 0 > 11 files changed, 20 insertions(+), 20 deletions(-) > rename target-ppc/translate/{dfp-impl.c =3D> dfp-impl.inc.c} (100%) > rename target-ppc/translate/{dfp-ops.c =3D> dfp-ops.inc.c} (100%) > rename target-ppc/translate/{fp-impl.c =3D> fp-impl.inc.c} (100%) > rename target-ppc/translate/{fp-ops.c =3D> fp-ops.inc.c} (100%) > rename target-ppc/translate/{spe-impl.c =3D> spe-impl.inc.c} (100%) > rename target-ppc/translate/{spe-ops.c =3D> spe-ops.inc.c} (100%) > rename target-ppc/translate/{vmx-impl.c =3D> vmx-impl.inc.c} (100%) > rename target-ppc/translate/{vmx-ops.c =3D> vmx-ops.inc.c} (100%) > rename target-ppc/translate/{vsx-impl.c =3D> vsx-impl.inc.c} (100%) > rename target-ppc/translate/{vsx-ops.c =3D> vsx-ops.inc.c} (100%) >=20 > diff --git a/target-ppc/translate.c b/target-ppc/translate.c > index fc3d371..d1837f8 100644 > --- a/target-ppc/translate.c > +++ b/target-ppc/translate.c > @@ -5315,12 +5315,6 @@ static void gen_rfsvc(DisasContext *ctx) > #endif /* defined(CONFIG_USER_ONLY) */ > } > =20 > -#include "translate/fp-impl.c" > - > -#include "translate/vmx-impl.c" > - > -#include "translate/vsx-impl.c" > - > /* svc is not implemented for now */ > =20 > /* BookE specific instructions */ > @@ -6107,10 +6101,6 @@ static void gen_maddhd_maddhdu(DisasContext *ctx) > } > #endif /* defined(TARGET_PPC64) */ > =20 > -#include "translate/dfp-impl.c" > - > -#include "translate/spe-impl.c" > - > static void gen_tbegin(DisasContext *ctx) > { > if (unlikely(!ctx->tm_enabled)) { > @@ -6190,6 +6180,16 @@ static inline void gen_##name(DisasContext *ctx) = \ > GEN_TM_PRIV_NOOP(treclaim); > GEN_TM_PRIV_NOOP(trechkpt); > =20 > +#include "translate/fp-impl.inc.c" > + > +#include "translate/vmx-impl.inc.c" > + > +#include "translate/vsx-impl.inc.c" > + > +#include "translate/dfp-impl.inc.c" > + > +#include "translate/spe-impl.inc.c" > + > static opcode_t opcodes[] =3D { > GEN_HANDLER(invalid, 0x00, 0x00, 0x00, 0xFFFFFFFF, PPC_NONE), > GEN_HANDLER(cmp, 0x1F, 0x00, 0x00, 0x00400000, PPC_INTEGER), > @@ -6714,16 +6714,6 @@ GEN_MAC_HANDLER(mulhhwu, 0x08, 0x00), > GEN_MAC_HANDLER(mullhw, 0x08, 0x0D), > GEN_MAC_HANDLER(mullhwu, 0x08, 0x0C), > =20 > -#include "translate/fp-ops.c" > - > -#include "translate/vmx-ops.c" > - > -#include "translate/vsx-ops.c" > - > -#include "translate/dfp-ops.c" > - > -#include "translate/spe-ops.c" > - > GEN_HANDLER2_E(tbegin, "tbegin", 0x1F, 0x0E, 0x14, 0x01DFF800, \ > PPC_NONE, PPC2_TM), > GEN_HANDLER2_E(tend, "tend", 0x1F, 0x0E, 0x15, 0x01FFF800, \ > @@ -6746,6 +6736,16 @@ GEN_HANDLER2_E(treclaim, "treclaim", 0x1F, 0x0E, 0= x1D, 0x03E0F800, \ > PPC_NONE, PPC2_TM), > GEN_HANDLER2_E(trechkpt, "trechkpt", 0x1F, 0x0E, 0x1F, 0x03FFF800, \ > PPC_NONE, PPC2_TM), > + > +#include "translate/fp-ops.inc.c" > + > +#include "translate/vmx-ops.inc.c" > + > +#include "translate/vsx-ops.inc.c" > + > +#include "translate/dfp-ops.inc.c" > + > +#include "translate/spe-ops.inc.c" > }; > =20 > #include "helper_regs.h" > diff --git a/target-ppc/translate/dfp-impl.c b/target-ppc/translate/dfp-i= mpl.inc.c > similarity index 100% > rename from target-ppc/translate/dfp-impl.c > rename to target-ppc/translate/dfp-impl.inc.c > diff --git a/target-ppc/translate/dfp-ops.c b/target-ppc/translate/dfp-op= s.inc.c > similarity index 100% > rename from target-ppc/translate/dfp-ops.c > rename to target-ppc/translate/dfp-ops.inc.c > diff --git a/target-ppc/translate/fp-impl.c b/target-ppc/translate/fp-imp= l.inc.c > similarity index 100% > rename from target-ppc/translate/fp-impl.c > rename to target-ppc/translate/fp-impl.inc.c > diff --git a/target-ppc/translate/fp-ops.c b/target-ppc/translate/fp-ops.= inc.c > similarity index 100% > rename from target-ppc/translate/fp-ops.c > rename to target-ppc/translate/fp-ops.inc.c > diff --git a/target-ppc/translate/spe-impl.c b/target-ppc/translate/spe-i= mpl.inc.c > similarity index 100% > rename from target-ppc/translate/spe-impl.c > rename to target-ppc/translate/spe-impl.inc.c > diff --git a/target-ppc/translate/spe-ops.c b/target-ppc/translate/spe-op= s.inc.c > similarity index 100% > rename from target-ppc/translate/spe-ops.c > rename to target-ppc/translate/spe-ops.inc.c > diff --git a/target-ppc/translate/vmx-impl.c b/target-ppc/translate/vmx-i= mpl.inc.c > similarity index 100% > rename from target-ppc/translate/vmx-impl.c > rename to target-ppc/translate/vmx-impl.inc.c > diff --git a/target-ppc/translate/vmx-ops.c b/target-ppc/translate/vmx-op= s.inc.c > similarity index 100% > rename from target-ppc/translate/vmx-ops.c > rename to target-ppc/translate/vmx-ops.inc.c > diff --git a/target-ppc/translate/vsx-impl.c b/target-ppc/translate/vsx-i= mpl.inc.c > similarity index 100% > rename from target-ppc/translate/vsx-impl.c > rename to target-ppc/translate/vsx-impl.inc.c > diff --git a/target-ppc/translate/vsx-ops.c b/target-ppc/translate/vsx-op= s.inc.c > similarity index 100% > rename from target-ppc/translate/vsx-ops.c > rename to target-ppc/translate/vsx-ops.inc.c --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --bNvn4bxlrUVLu6cT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXoDKWAAoJEGw4ysog2bOS2jEP/RgKSL1QjmfGn94iiBufCVJs LGcIiDI814jWbFPlDnxwc0Z6EOO42bDm+1hESelU0wuxO4+V3YsRuA2ucU6GMAI1 i4LPDReBagjnEcOQoQq3voinhbC/G1WfFdh6duO1wZIhaZFVPlZGkLrHNe9gG7I5 vXFUk8UNJ4s3AY8lJqF6aApBHqQzxXfWyx1PqTshnukIYVXkTOSe1HljAX/6QJCR ABofKxecyQXQLpUA06HfZfi0kIPF3DgJ1jeXcDOky0R5VsDqOMM1kKwxzngXMPmt 4aYsCO26L2URmJOKDduuCOj/kaGg4vxBBs6TVVH8+S9nUUpzCEcmmcjUMqvMb1fO oPwdPad0ECRpncx+2mk/JaVycP8qbXdraePbzUF0HBF1GbWX9d9U86Q6fawW8nYW PPgV/i+fgkury2BjyIQq0fvKUkeFKv4QLP+wTHYaNRESOg9VMR5qnQIeyD9L3mGY vF8Y6dXwa8MbLK0ZWsKMU48XcQ42/T0gz1cAcjeWgBfbAWAihEQeHXziw9CNx3BY XRekeR9DIcIBTGSwZZJn5Co37iLEqiX5MXZ593y99qtSbHNfJZdzQXzcgtyy2f2x u0/KR/XOaoKbn/RXhAplUnStFs2H4mV63Zi7gdMSv/NAAmUAugPEDGag54zIwK1d pF44PHWqb3u5Nz6Jw5M0 =j1Eu -----END PGP SIGNATURE----- --bNvn4bxlrUVLu6cT--