about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorAndré Zwing <nerv@dawncrow.de>2023-07-19 19:42:53 +0200
committerAndré Zwing <nerv@dawncrow.de>2023-08-02 20:44:54 +0200
commit7f3e0b8fe002d3b760de3512ce1fd03d94be873a (patch)
treeebc79a721f5dccda0a11de7038c98313b1bb48ba /src
parent937863f4aaa603e4dbc72473e06f2f6140ed35cb (diff)
downloadbox64-7f3e0b8fe002d3b760de3512ce1fd03d94be873a.tar.gz
box64-7f3e0b8fe002d3b760de3512ce1fd03d94be873a.zip
Some spelling fixes
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64emu_private.h4
-rw-r--r--src/emu/x87emu_private.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/x64emu_private.h b/src/emu/x64emu_private.h
index 8ace8abf..e3a474ca 100644
--- a/src/emu/x64emu_private.h
+++ b/src/emu/x64emu_private.h
@@ -48,7 +48,7 @@ typedef struct x64emu_s {
 	mmx87_regs_t mmx[8];
 	x87control_t cw;
 	x87flags_t  sw;
-	uint32_t    top;        // top is part of sw, but it's faster to have it separatly
+	uint32_t    top;        // top is part of sw, but it's faster to have it separately
     int         fpu_stack;
     mmxcontrol_t mxcsr;
     fpu_ld_t    fpu_ld[8]; // for long double emulation / 80bits fld fst
@@ -93,7 +93,7 @@ typedef struct x64emu_s {
     #ifdef HAVE_TRACE
     sse_regs_t  old_xmm[16];
     #endif
-    // scratch stack, used for alignement of double and 64bits ints on arm. 200 elements should be enough
+    // scratch stack, used for alignment of double and 64bits ints on arm. 200 elements should be enough
     uint64_t    scratch[200];
     // local stack, do be deleted when emu is freed
     void*       stack2free; // this is the stack to free (can be NULL)
diff --git a/src/emu/x87emu_private.h b/src/emu/x87emu_private.h
index a2287059..5721088f 100644
--- a/src/emu/x87emu_private.h
+++ b/src/emu/x87emu_private.h
@@ -129,14 +129,14 @@ static inline void fpu_fxam(x64emu_t* emu) {
         return;
     }
     if(isinf(ST0.d)) 
-    {  // TODO: Unsuported and denormal not analysed...
+    {  // TODO: Unsupported and denormal not analysed...
         emu->sw.f.F87_C3 = 0;
         emu->sw.f.F87_C2 = 1;
         emu->sw.f.F87_C0 = 1;
         return;
     }
     if(isnan(ST0.d))
-    {  // TODO: Unsuported and denormal not analysed...
+    {  // TODO: Unsupported and denormal not analysed...
         emu->sw.f.F87_C3 = 0;
         emu->sw.f.F87_C2 = 0;
         emu->sw.f.F87_C0 = 1;
@@ -159,7 +159,7 @@ static inline void fpu_fxam(x64emu_t* emu) {
 static inline void fpu_ftst(x64emu_t* emu) {
     emu->sw.f.F87_C1 = 0;
     if(isinf(ST0.d) || isnan(ST0.d)) 
-    {  // TODO: Unsuported and denormal not analysed...
+    {  // TODO: Unsupported and denormal not analysed...
         emu->sw.f.F87_C3 = 1;
         emu->sw.f.F87_C2 = 1;
         emu->sw.f.F87_C0 = 1;