fpu: move public header file to include/fpu

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2012-10-24 13:12:00 +02:00
parent 927d4878b0
commit 6b4c305cbd
26 changed files with 25 additions and 27 deletions

2
configure vendored
View File

@ -278,7 +278,7 @@ QEMU_CFLAGS="-fno-strict-aliasing $QEMU_CFLAGS"
QEMU_CFLAGS="-Wall -Wundef -Wwrite-strings -Wmissing-prototypes $QEMU_CFLAGS"
QEMU_CFLAGS="-Wstrict-prototypes -Wredundant-decls $QEMU_CFLAGS"
QEMU_CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $QEMU_CFLAGS"
QEMU_INCLUDES="-I. -I\$(SRC_PATH) -I\$(SRC_PATH)/include -I\$(SRC_PATH)/fpu"
QEMU_INCLUDES="-I. -I\$(SRC_PATH) -I\$(SRC_PATH)/include"
if test "$debug_info" = "yes"; then
CFLAGS="-g $CFLAGS"
LDFLAGS="-g $LDFLAGS"

View File

@ -40,7 +40,7 @@ these four paragraphs for those parts of this code that are retained.
*/
#include "config.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
/*----------------------------------------------------------------------------
| Primitive arithmetic functions, including multi-word arithmetic, and

View File

@ -4,7 +4,7 @@
#include "config-host.h"
#include <inttypes.h>
#include "softfloat.h"
#include "fpu/softfloat.h"
#ifdef CONFIG_MACHINE_BSWAP_H
#include <sys/endian.h>

View File

@ -19,7 +19,7 @@
*/
#include "fpa11.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
#include "fpopcode.h"
float64 float64_exp(float64 Fm);

View File

@ -19,7 +19,7 @@
*/
#include "fpa11.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
#include "fpopcode.h"
floatx80 floatx80_exp(floatx80 Fm);

View File

@ -43,7 +43,7 @@ extern CPUARMState *user_registers;
/* includes */
#include "fpsr.h" /* FP control and status register definitions */
#include "softfloat.h"
#include "fpu/softfloat.h"
#define typeNone 0x00
#define typeSingle 0x01

View File

@ -20,7 +20,7 @@
*/
#include "fpa11.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
#include "fpopcode.h"
//#include "fpmodule.h"
//#include "fpmodule.inl"

View File

@ -20,7 +20,7 @@
*/
#include "fpa11.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
#include "fpopcode.h"
#include "fpa11.inl"
//#include "fpmodule.h"

View File

@ -19,7 +19,7 @@
*/
#include "fpa11.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
#include "fpopcode.h"
#include "fpsr.h"
//#include "fpmodule.h"

View File

@ -19,7 +19,7 @@
*/
#include "fpa11.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
#include "fpopcode.h"
float32 float32_exp(float32 Fm);

View File

@ -29,7 +29,7 @@
#include "exec/cpu-defs.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
#define TARGET_HAS_ICE 1

View File

@ -19,7 +19,7 @@
#include "cpu.h"
#include "helper.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
#define FP_STATUS (env->fp_status)

View File

@ -22,7 +22,7 @@
#include <stdio.h>
#include "cpu.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
#include "helper.h"
uint64_t cpu_alpha_load_fpcr (CPUAlphaState *env)

View File

@ -611,7 +611,7 @@ static void gen_qual_roundmode(DisasContext *ctx, int fn11)
}
#if defined(CONFIG_SOFTFLOAT_INLINE)
/* ??? The "softfloat.h" interface is to call set_float_rounding_mode.
/* ??? The "fpu/softfloat.h" interface is to call set_float_rounding_mode.
With CONFIG_SOFTFLOAT that expands to an out-of-line call that just
sets the one field. */
tcg_gen_st8_i32(tmp, cpu_env,

View File

@ -29,7 +29,7 @@
#include "qemu-common.h"
#include "exec/cpu-defs.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
#define TARGET_HAS_ICE 1

View File

@ -46,7 +46,7 @@
#include "exec/cpu-defs.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
#define R_EAX 0
#define R_ECX 1

View File

@ -28,7 +28,7 @@
#include "qemu-common.h"
#include "exec/cpu-defs.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
#define MAX_QREGS 32

View File

@ -27,7 +27,7 @@
#define CPUArchState struct CPUMBState
#include "exec/cpu-defs.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
struct CPUMBState;
typedef struct CPUMBState CPUMBState;
#if !defined(CONFIG_USER_ONLY)

View File

@ -13,7 +13,7 @@
#include "qemu-common.h"
#include "mips-defs.h"
#include "exec/cpu-defs.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
struct CPUMIPSState;

View File

@ -31,7 +31,7 @@ struct OpenRISCCPU;
#include "config.h"
#include "qemu-common.h"
#include "exec/cpu-defs.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
#include "qom/cpu.h"
#include "qapi/error.h"

View File

@ -75,7 +75,7 @@
#include "exec/cpu-defs.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
#define TARGET_HAS_ICE 1

View File

@ -36,7 +36,7 @@
#include "exec/cpu-all.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
#define NB_MMU_MODES 3

View File

@ -41,7 +41,7 @@
#include "exec/cpu-defs.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
#define TARGET_PAGE_BITS 12 /* 4k XXXXX */
@ -230,8 +230,6 @@ static inline void cpu_set_tls(CPUSH4State *env, target_ulong newtls)
void cpu_load_tlb(CPUSH4State * env);
#include "softfloat.h"
static inline CPUSH4State *cpu_init(const char *cpu_model)
{
SuperHCPU *cpu = cpu_sh4_init(cpu_model);

View File

@ -27,7 +27,7 @@
#include "exec/cpu-defs.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
#define TARGET_HAS_ICE 1

View File

@ -24,7 +24,7 @@
#include "config.h"
#include "qemu-common.h"
#include "exec/cpu-defs.h"
#include "softfloat.h"
#include "fpu/softfloat.h"
#define NB_MMU_MODES 2