Commit 5f8ab000 authored by Alex Bennée's avatar Alex Bennée
Browse files

targets (various): use softfloat-helpers.h where we can



Generally the cpu and non-FP helper files just want to manipulate the
softfloat flags. For this they can just use the -helpers.h include
which brings in a minimal number of inline helpers.

Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Reviewed-by: default avatarDavid Hildenbrand <david@redhat.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
parent 135b03cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@

#include "cpu.h"
#include "exec/exec-all.h"
#include "fpu/softfloat.h"
#include "fpu/softfloat-types.h"
#include "exec/helper-proto.h"
#include "qemu/qemu-print.h"

+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@
#include "hw/qdev-properties.h"
#include "migration/vmstate.h"
#include "exec/exec-all.h"
#include "fpu/softfloat.h"
#include "fpu/softfloat-helpers.h"

static const struct {
    const char *name;
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@
#include "sysemu/sysemu.h"
#include "sysemu/tcg.h"
#endif
#include "fpu/softfloat.h"
#include "fpu/softfloat-helpers.h"

#define CR0_RESET       0xE0UL
#define CR14_RESET      0xC2000000UL;
+1 −2
Original line number Diff line number Diff line
@@ -25,8 +25,7 @@
#include "cpu.h"
#include "migration/vmstate.h"
#include "exec/exec-all.h"
#include "fpu/softfloat.h"

#include "fpu/softfloat-helpers.h"

static void superh_cpu_set_pc(CPUState *cs, vaddr value)
{
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@

#include "cpu.h"
#include "exec/exec-all.h"
#include "fpu/softfloat.h"
#include "fpu/softfloat-helpers.h"
#include "qemu/qemu-print.h"

enum {
Loading