From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Aleksandar Markovic <aleksandar.markovic@rt-rk.com>,
qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, amarkovic@wavecomp.com
Subject: Re: [PULL 3/3] target/mips: Separate FPU-related helpers into their own file
Date: Tue, 4 Feb 2020 08:22:34 +0100 [thread overview]
Message-ID: <217483d9-14ad-25f0-e28d-791bd76ab00f@redhat.com> (raw)
In-Reply-To: <1580798552-703-4-git-send-email-aleksandar.markovic@rt-rk.com>
On 2/4/20 7:42 AM, Aleksandar Markovic wrote:
> From: Aleksandar Markovic <amarkovic@wavecomp.com>
>
> For clarity and easier maintenence, create target/mips/fpu_helper.c, and
> move all FPU-related content form target/mips/op_helper.c to that file.
>
> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
> Reviewed-by: Aleksandar Rikalo <aleksandar.rikalo@rt-rk.com>
> Message-Id: <1580745443-24650-3-git-send-email-aleksandar.markovic@rt-rk.com>
> ---
> target/mips/Makefile.objs | 2 +-
> target/mips/fpu_helper.c | 1911 +++++++++++++++++++++++++++++++++++++++++++++
> target/mips/op_helper.c | 1877 --------------------------------------------
> 3 files changed, 1912 insertions(+), 1878 deletions(-)
> create mode 100644 target/mips/fpu_helper.c
>
> diff --git a/target/mips/Makefile.objs b/target/mips/Makefile.objs
> index 3ca2bde..91eb691 100644
> --- a/target/mips/Makefile.objs
> +++ b/target/mips/Makefile.objs
> @@ -1,5 +1,5 @@
> obj-y += translate.o cpu.o gdbstub.o helper.o
> -obj-y += op_helper.o cp0_helper.o
> +obj-y += op_helper.o cp0_helper.o fpu_helper.o
> obj-y += dsp_helper.o lmi_helper.o msa_helper.o
> obj-$(CONFIG_SOFTMMU) += mips-semi.o
> obj-$(CONFIG_SOFTMMU) += machine.o cp0_timer.o
> diff --git a/target/mips/fpu_helper.c b/target/mips/fpu_helper.c
> new file mode 100644
> index 0000000..0d5769e
> --- /dev/null
> +++ b/target/mips/fpu_helper.c
> @@ -0,0 +1,1911 @@
> +/*
> + * Helpers for emulation of CP0-related MIPS instructions.
Isn't it "FPU"?
> + *
> + * Copyright (C) 2004-2005 Jocelyn Mayer
> + * Copyright (C) 2020 Wave Computing, Inc.
> + * Copyright (C) 2020 Aleksandar Markovic <amarkovic@wavecomp.com>
> + *
> + * This library is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU Lesser General Public
> + * License as published by the Free Software Foundation; either
> + * version 2 of the License, or (at your option) any later version.
> + *
> + * This library is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> + * Lesser General Public License for more details.
> + *
> + * You should have received a copy of the GNU Lesser General Public
> + * License along with this library; if not, see <http://www.gnu.org/licenses/>.
> + *
> + */
> +
> +#include "qemu/osdep.h"
> +#include "qemu/main-loop.h"
> +#include "cpu.h"
> +#include "internal.h"
> +#include "qemu/host-utils.h"
> +#include "exec/helper-proto.h"
> +#include "exec/exec-all.h"
> +#include "exec/cpu_ldst.h"
> +#include "exec/memop.h"
> +#include "sysemu/kvm.h"
> +#include "fpu/softfloat.h"
next prev parent reply other threads:[~2020-02-04 7:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-04 6:42 [PULL 0/3] MIPS queue for February 4th, 2020 Aleksandar Markovic
2020-02-04 6:42 ` [PULL 1/3] target/mips: Fix ll/sc after 7dd547e5ab6b31e7a0cfc182d3ad131dd55a948f Aleksandar Markovic
2020-02-04 6:42 ` [PULL 2/3] target/mips: Separate CP0-related helpers into their own file Aleksandar Markovic
2020-02-04 6:42 ` [PULL 3/3] target/mips: Separate FPU-related " Aleksandar Markovic
2020-02-04 7:22 ` Philippe Mathieu-Daudé [this message]
2020-02-04 8:06 ` Aleksandar Markovic
2020-02-04 8:30 ` Philippe Mathieu-Daudé
2020-02-04 6:51 ` [PULL 0/3] MIPS queue for February 4th, 2020 no-reply
2020-02-04 8:09 ` Aleksandar Markovic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=217483d9-14ad-25f0-e28d-791bd76ab00f@redhat.com \
--to=philmd@redhat.com \
--cc=aleksandar.markovic@rt-rk.com \
--cc=amarkovic@wavecomp.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).