about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2018-07-10 13:50:09 +0200
committerAjax <commial@gmail.com>2018-07-10 14:14:35 +0200
commitb9156bcda28ca8b267f3c7319c4cf917dcab777d (patch)
treeb9cd65c91858944418536aa84050f4f0c7bf3cf9
parent11eaa5c136a8c1801d80b890d5d3855ccb440586 (diff)
downloadmiasm-b9156bcda28ca8b267f3c7319c4cf917dcab777d.tar.gz
miasm-b9156bcda28ca8b267f3c7319c4cf917dcab777d.zip
JitCore x86: use uint64_t instead of double to store float_st*
This avoid C cast when just saving and loading from the structure
-rw-r--r--miasm2/jitter/arch/JitCore_x86.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/miasm2/jitter/arch/JitCore_x86.h b/miasm2/jitter/arch/JitCore_x86.h
index 221ba5db..a5fc4bd4 100644
--- a/miasm2/jitter/arch/JitCore_x86.h
+++ b/miasm2/jitter/arch/JitCore_x86.h
@@ -49,14 +49,14 @@ typedef struct {
 
 	uint64_t cond;
 
-	double float_st0;
-	double float_st1;
-	double float_st2;
-	double float_st3;
-	double float_st4;
-	double float_st5;
-	double float_st6;
-	double float_st7;
+	uint64_t float_st0;
+	uint64_t float_st1;
+	uint64_t float_st2;
+	uint64_t float_st3;
+	uint64_t float_st4;
+	uint64_t float_st5;
+	uint64_t float_st6;
+	uint64_t float_st7;
 
 	unsigned int float_c0;
 	unsigned int float_c1;