From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDiyS-00012v-Ra for qemu-devel@nongnu.org; Mon, 17 Sep 2012 17:35:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDiyR-0006wL-DK for qemu-devel@nongnu.org; Mon, 17 Sep 2012 17:35:24 -0400 Received: from mail-qa0-f52.google.com ([209.85.216.52]:43089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDiyR-0006w7-81 for qemu-devel@nongnu.org; Mon, 17 Sep 2012 17:35:23 -0400 Received: by qabg14 with SMTP id g14so1916212qab.4 for ; Mon, 17 Sep 2012 14:35:22 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Mon, 17 Sep 2012 14:35:06 -0700 Message-Id: <1347917713-23343-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH v2 0/7] target-mips improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aurelien@aurel32.net The thread that Aurelien replied to was from March. Going back to revive that patch I found I'd done some further work in April, which I may never have got around to posting. The first three patches fix compilation errors when MIPS_DEBUG_DISAS is defined. The second three patches change the mips target to use TCG registers for the FPU. While they help the quality of the generated code for LMI, they are not required. The final patch implements LMI. Except for the existance of the gen_load/store_fpr_pair functions introduced in patch 6, the final patch is independent of the transition to TCG registers. I've addressed the issues raised by Aurelien in his v1 review. r~ Richard Henderson (7): target-mips: Set opn in gen_ldst_multiple. target-mips: Fix MIPS_DEBUG. target-mips: Always evaluate debugging macro arguments target-mips: Pass DisasContext to fpr32 load/store routines target-mips: Use TCG registers for the FPU. target-mips: Add accessors for the two 32-bit halves of a 64-bit FPR target-mips: Implement Loongson Multimedia Instructions target-mips/Makefile.objs | 2 +- target-mips/helper.h | 59 +++ target-mips/lmi_helper.c | 744 +++++++++++++++++++++++++++++++++++ target-mips/translate.c | 962 +++++++++++++++++++++++++++++++++------------- 4 files changed, 1492 insertions(+), 275 deletions(-) create mode 100644 target-mips/lmi_helper.c -- 1.7.11.4