From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCp14-0006i1-AP for qemu-devel@nongnu.org; Tue, 14 Jun 2016 10:08:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCp11-0006Ob-0O for qemu-devel@nongnu.org; Tue, 14 Jun 2016 10:08:30 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:1367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCp10-0006OX-QQ for qemu-devel@nongnu.org; Tue, 14 Jun 2016 10:08:26 -0400 Date: Tue, 14 Jun 2016 15:08:24 +0100 From: Leon Alrae Message-ID: <20160614140824.GB13260@hhmipssw201.hh.imgtec.org> References: <1465552668-30084-1-git-send-email-aleksandar.markovic@rt-rk.com> <1465552668-30084-10-git-send-email-aleksandar.markovic@rt-rk.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1465552668-30084-10-git-send-email-aleksandar.markovic@rt-rk.com> Subject: Re: [Qemu-devel] [PATCH v9 09/10] target-mips: Implement FCR31's R/W bitmask and related functionalities List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aleksandar Markovic Cc: qemu-devel@nongnu.org, aurelien@aurel32.net, petar.jovanovic@imgtec.com, miodrag.dinic@imgtec.com, aleksandar.markovic@imgtec.com On Fri, Jun 10, 2016 at 11:57:36AM +0200, Aleksandar Markovic wrote: > From: Aleksandar Markovic > > This patch implements read and write access rules for Mips floating > point control and status register (FCR31). The change can be divided > into following parts: > > - Add fields that will keep FCR31's R/W bitmask in procesor > definitions and processor float_status structure. > > - Add appropriate value for FCR31's R/W bitmask for each supported > processor. > > - Add function for setting snan_bit_is_one, and integrate it in > appropriate places. > > - Modify handling of CTC1 (case 31) instruction to use FCR31's R/W > bitmask. > > - Modify handling user mode executables for Mips, in relation to the > bit EF_MIPS_NAN2008 from ELF header, that is in turn related to > reading and writing to FCR31. > > - Modify gdb behavior in relation to FCR31. > > Signed-off-by: Thomas Schwinge > Signed-off-by: Maciej W. Rozycki > Signed-off-by: Aleksandar Markovic > --- > linux-user/main.c | 14 ++++++++++++++ > target-mips/cpu.h | 8 ++++++++ > target-mips/gdbstub.c | 8 +++----- > target-mips/op_helper.c | 14 +++----------- > target-mips/translate.c | 5 ++--- > target-mips/translate_init.c | 26 ++++++++++++++++++++++++++ > 6 files changed, 56 insertions(+), 19 deletions(-) Reviewed-by: Leon Alrae