aboutsummaryrefslogtreecommitdiffstats
path: root/fpu
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
commit55f4e4a5ec657a017e3bf75299ad71fd1c968dd3 (patch)
tree550ce922ea0e125ac6a9738210ce2939bf2fe901 /fpu
parent413f05aaf54fa08c0ae7e997327a4f4a473c0a8d (diff)
downloadexternal_qemu-55f4e4a5ec657a017e3bf75299ad71fd1c968dd3.zip
external_qemu-55f4e4a5ec657a017e3bf75299ad71fd1c968dd3.tar.gz
external_qemu-55f4e4a5ec657a017e3bf75299ad71fd1c968dd3.tar.bz2
Initial Contribution
Diffstat (limited to 'fpu')
-rw-r--r--fpu/softfloat.c2
-rw-r--r--fpu/softfloat.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 5e84620..75511c9 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@ -4911,7 +4911,7 @@ float128 float128_rem( float128 a, float128 b STATUS_PARAM )
sub128( aSig0, aSig1, bSig0, bSig1, &aSig0, &aSig1 );
} while ( 0 <= (sbits64) aSig0 );
add128(
- aSig0, aSig1, alternateASig0, alternateASig1, &sigMean0, &sigMean1 );
+ aSig0, aSig1, alternateASig0, alternateASig1, (bits64*)&sigMean0, &sigMean1 );
if ( ( sigMean0 < 0 )
|| ( ( ( sigMean0 | sigMean1 ) == 0 ) && ( q & 1 ) ) ) {
aSig0 = alternateASig0;
diff --git a/fpu/softfloat.h b/fpu/softfloat.h
index fdc80f3..44c29f1 100644
--- a/fpu/softfloat.h
+++ b/fpu/softfloat.h
@@ -46,8 +46,8 @@ these four paragraphs for those parts of this code that are retained.
typedef char flag;
typedef uint8_t uint8;
typedef int8_t int8;
-typedef int uint16;
-typedef int int16;
+typedef uint16_t uint16;
+typedef int16_t int16;
typedef unsigned int uint32;
typedef signed int int32;
typedef uint64_t uint64;