mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
kernel32/tests: Add test for FPU control words on ARM64EC.
This commit is contained in:
parent
32585b11d5
commit
5ae8bf3d93
1 changed files with 7 additions and 1 deletions
|
@ -1889,7 +1889,13 @@ struct fpu_thread_ctx
|
|||
|
||||
static inline unsigned long get_fpu_cw(void)
|
||||
{
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
#ifdef __arm64ec__
|
||||
extern NTSTATUS (*__os_arm64x_get_x64_information)(ULONG,void*,void*);
|
||||
unsigned int cw, sse;
|
||||
__os_arm64x_get_x64_information( 0, &sse, NULL );
|
||||
__os_arm64x_get_x64_information( 2, &cw, NULL );
|
||||
return MAKELONG( cw, sse );
|
||||
#elif defined(__i386__) || defined(__x86_64__)
|
||||
WORD cw = 0;
|
||||
unsigned int sse = 0;
|
||||
#ifdef _MSC_VER
|
||||
|
|
Loading…
Reference in a new issue