From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3T5G-0007Fp-OZ for qemu-devel@nongnu.org; Mon, 30 Nov 2015 13:21:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3T5B-00065q-0F for qemu-devel@nongnu.org; Mon, 30 Nov 2015 13:21:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3T5A-00065m-Rs for qemu-devel@nongnu.org; Mon, 30 Nov 2015 13:21:48 -0500 From: Eduardo Habkost Date: Mon, 30 Nov 2015 16:21:35 -0200 Message-Id: <1448907702-24815-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 0/7] target-i386: MMReg struct cleanup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson This is an attempt to cleanup the MMXReg/XMMReg structs and make their names, fields and usage consistent. The last 2 patches use a bit of macro magic to generate the union definitions and ensure type safety when using the field helper macros, and I am sending them as RFCs. Eduardo Habkost (7): target-i386/ops_sse.h: Use MMX_Q macro target-i386: Use a _q array on MMXReg too target-i386: Rename struct XMMReg to ZMMReg target-i386: Rename XMM_[BWLSDQ] helpers to ZMM_* target-i386: Define MMXReg._d field [RFC] target-i386: Define MMREG_UNION macro [RFC] target-i386: Add suffixes to MMReg struct fields target-i386/cpu.h | 76 +++++---- target-i386/fpu_helper.c | 8 +- target-i386/gdbstub.c | 8 +- target-i386/helper.c | 8 +- target-i386/kvm.c | 40 ++--- target-i386/machine.c | 42 ++--- target-i386/ops_sse.h | 374 +++++++++++++++++++++---------------------- target-i386/ops_sse_header.h | 80 ++++----- target-i386/translate.c | 188 +++++++++++----------- 9 files changed, 410 insertions(+), 414 deletions(-) -- 2.1.0