[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [4380] CRIS: Disable softfloat and dyngen ops.
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [4380] CRIS: Disable softfloat and dyngen ops. |
Date: |
Thu, 8 May 2008 23:28:44 +0200 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
On Wed, May 07, 2008 at 03:33:57PM +0000, Edgar E. Iglesias wrote:
> Revision: 4380
> http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4380
> Author: edgar_igl
> Date: 2008-05-07 15:33:57 +0000 (Wed, 07 May 2008)
>
> Log Message:
> -----------
> CRIS: Disable softfloat and dyngen ops.
>
I guess that's because CRIS has not FP instructions. In that case
the #include "softfloat.h" in target-cris/cpu.h can probably be removed.
I tried, but that fail. I guess the patch below should be the correct
way to do that. cpu-all.h needs this include as it uses float32, float64
and float128 are used in various parts of this file.
diff --git a/cpu-all.h b/cpu-all.h
index 2740da9..14e2a88 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -38,6 +38,7 @@
*/
#include "bswap.h"
+#include "softfloat.h"
#if defined(WORDS_BIGENDIAN) != defined(TARGET_WORDS_BIGENDIAN)
#define BSWAP_NEEDED
diff --git a/target-cris/cpu.h b/target-cris/cpu.h
index b62c537..49de830 100644
--- a/target-cris/cpu.h
+++ b/target-cris/cpu.h
@@ -25,8 +25,6 @@
#include "cpu-defs.h"
-#include "softfloat.h"
-
#define TARGET_HAS_ICE 1
#define ELF_MACHINE EM_CRIS
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' address@hidden | address@hidden
`- people.debian.org/~aurel32 | www.aurel32.net