From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAGkD-0000ip-2B for qemu-devel@nongnu.org; Wed, 21 Mar 2012 04:18:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAGk6-0006gw-Mp for qemu-devel@nongnu.org; Wed, 21 Mar 2012 04:18:08 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:46432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAGk6-0006fR-H2 for qemu-devel@nongnu.org; Wed, 21 Mar 2012 04:18:02 -0400 Message-ID: <4F698EB6.2060301@weilnetz.de> Date: Wed, 21 Mar 2012 09:17:58 +0100 From: Stefan Weil MIME-Version: 1.0 References: <1331541159-5218-1-git-send-email-proljc@gmail.com> <1331541159-5218-2-git-send-email-proljc@gmail.com> In-Reply-To: <1331541159-5218-2-git-send-email-proljc@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/4] add MIPS DSP helpers define List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jia Liu Cc: qemu-devel@nongnu.org, aurelien@aurel32.net Am 12.03.2012 09:32, schrieb Jia Liu: > > This patch is the helper define of MIPS ASE DSP. > > Signed-off-by: Jia Liu > --- > target-mips/helper.h | 152 > ++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 files changed, 152 insertions(+), 0 deletions(-) > > diff --git a/target-mips/helper.h b/target-mips/helper.h > index 442f684..1abf582 100644 > --- a/target-mips/helper.h > +++ b/target-mips/helper.h > @@ -297,4 +297,156 @@ DEF_HELPER_0(rdhwr_ccres, tl) > DEF_HELPER_1(pmon, void, int) > DEF_HELPER_0(wait, void) > > +/* MIPS32 DSP */ > +DEF_HELPER_1(absqsph, i32, i32) > +DEF_HELPER_1(absqsw, i32, i32) > +DEF_HELPER_2(addqph, i32, i32, i32) > +DEF_HELPER_2(addqsph, i32, i32, i32) [snip] Hi, I know that a lot of people love such tabulated code, but I personally would prefer to see those DEF_HELPER lines using the style which is used in the existing code (one space after comma). Regards, Stefan Weil