[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 01/13] Abandon GEN_VSX_* macros
From: |
Tom Musta |
Subject: |
[Qemu-ppc] [PATCH 01/13] Abandon GEN_VSX_* macros |
Date: |
Fri, 04 Oct 2013 08:11:30 -0500 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 |
Abandon GEN_VSX_* macros
This patch eliminates the GEN_VSX_LXVNX/GEN_VSX_STXVNX macros which
did not provide significant value above the general GEN_HANDLER_E
macro.
Signed-off-by: Tom Musta <address@hidden>
---
target-ppc/translate.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/target-ppc/translate.c b/target-ppc/translate.c
index ab3fed6..1348360 100644
--- a/target-ppc/translate.c
+++ b/target-ppc/translate.c
@@ -9507,17 +9507,9 @@ GEN_VAFORM_PAIRED(vmsumshm, vmsumshs, 20),
GEN_VAFORM_PAIRED(vsel, vperm, 21),
GEN_VAFORM_PAIRED(vmaddfp, vnmsubfp, 23),
-#undef GEN_VSX_LXVNX
-#define GEN_VSX_LXVNX(name, opc2,
opc3) \
- GEN_HANDLER_E(lxv##name, 0x1F, opc2, opc3, 0x00000000, PPC_NONE,
PPC2_VSX)
+GEN_HANDLER_E(lxvd2x, 0x1F, 0x0C, 0x1A, 0, PPC_NONE, PPC2_VSX),
-GEN_VSX_LXVNX(d2x, 0x0C, 0x1A),
-
-#undef GEN_VSX_STXVNX
-#define GEN_VSX_STXVNX(name, opc2,
opc3) \
- GEN_HANDLER_E(stxv##name, 0x1F, opc2, opc3, 0x00000000, PPC_NONE,
PPC2_VSX)
-
-GEN_VSX_STXVNX(d2x, 0x0C, 0x1E),
+GEN_HANDLER_E(stxvd2x, 0x1F, 0xC, 0x1E, 0, PPC_NONE, PPC2_VSX),
#undef GEN_XX3FORM_DM
#define GEN_XX3FORM_DM(name, opc2, opc3) \
--
1.7.1
- [Qemu-ppc] [PATCH 00/13] Stage 2 VSX Support, Tom Musta, 2013/10/04
- [Qemu-ppc] [PATCH 01/13] Abandon GEN_VSX_* macros,
Tom Musta <=
- [Qemu-ppc] [PATCH 02/13] Add lxsdx, Tom Musta, 2013/10/04
- [Qemu-ppc] [PATCH 03/13] Add lxvdsx, Tom Musta, 2013/10/04
- [Qemu-ppc] [PATCH 04/13] Add lxvw4x, Tom Musta, 2013/10/04
- [Qemu-ppc] [PATCH 05/13] Add stxsdx, Tom Musta, 2013/10/04
- [Qemu-ppc] [PATCH 06/13] Add stxvw4x, Tom Musta, 2013/10/04
- [Qemu-ppc] [PATCH 07/13] Add VSX Scalar Move Instructions, Tom Musta, 2013/10/04
- [Qemu-ppc] [PATCH 08/13] Add VSX Vector Move Instructions, Tom Musta, 2013/10/04
- [Qemu-ppc] [PATCH 09/13] Add Power7 VSX Logical Instructions, Tom Musta, 2013/10/04
- [Qemu-ppc] [PATCH 10/13] Add xxmrgh/xxmrgl, Tom Musta, 2013/10/04