Skip to content

Commit

Permalink
Always enable the SSE2 bit in cpuid
Browse files Browse the repository at this point in the history
Doing this now because I think I fixed all the regressions: GCC and libcrypto now work.
  • Loading branch information
tbodt committed Jun 13, 2020
1 parent 220745b commit 3ed7043
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions emu/cpuid.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ static inline void do_cpuid(dword_t *eax, dword_t *ebx, dword_t *ecx, dword_t *e
*edx = (1 << 0) // fpu
| (1 << 15) // cmov
| (1 << 23) // mmx
#ifdef ENABLE_UNSTABLE_SSE
// TODO: Remove ifdef guard when SSE2 is stable
| (1 << 26) // sse2
#endif
;
break;
}
Expand Down
4 changes: 0 additions & 4 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ if get_option('no_crlf')
add_project_arguments('-DNO_CRLF', language: 'c')
endif

if get_option('enable_unstable_sse')
add_project_arguments('-DENABLE_UNSTABLE_SSE=1', language: 'c')
endif

add_project_arguments('-Wno-switch', language: 'c')

includes = [include_directories('.')]
Expand Down
1 change: 0 additions & 1 deletion meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ option('engine', type: 'combo', choices: ['jit', 'interp'], value: 'jit')
option('vdso_c_args', type: 'string', value: '')

option('no_crlf', type: 'boolean', value: false)
option('enable_unstable_sse', type: 'boolean', value: false)

0 comments on commit 3ed7043

Please sign in to comment.