Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bilam committed Nov 6, 2024
1 parent bf6f66c commit e978735
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions jsrc/x15.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ return (void*)((uintptr_t)((dvc)+((align)-1)) & ~((align)-1));
}
*/

#define SY_UNIX64 (SY_64 && (SY_LINUX || SY_MAC || SY_FREEBSD || SY_OPENBSD))
#define SY_UNIX64 (SY_64 && (defined(__aarch64__) || SY_LINUX || SY_MAC || SY_FREEBSD || SY_OPENBSD))

#if SY_WINCE
#define HINSTANCE_ERROR 0
Expand Down Expand Up @@ -245,7 +245,6 @@ static void double_trick(double*v, I n){I i=0;
#define dtrick double_trick(dd,dcnt);
#elif SY_64 && SY_WIN32 && !defined(__aarch64__)
#define dtrick {D*pd=(D*)d; double_trick(pd[0],pd[1],pd[2],pd[3]);}
#error windows arm64
#elif SY_64 && SY_WIN32 && defined(__aarch64__)
#define dtrick double_trick(dd[0],dd[1],dd[2],dd[3],dd[4],dd[5],dd[6],dd[7]);
#elif SY_64 && SY_LINUX
Expand All @@ -258,8 +257,6 @@ static void double_trick(double*v, I n){I i=0;
#if SY_64
#if SY_WIN32 && !defined(__aarch64__)
#define dtrick {D*pd=(D*)d; double_trick(pd[0],pd[1],pd[2],pd[3]);}
#elif SY_WIN32 && defined(__aarch64__)
#define dtrick double_trick(dd[0],dd[1],dd[2],dd[3],dd[4],dd[5],dd[6],dd[7]);
#elif SY_UNIX64
#ifdef __PPC64__
#define dtrick double_trick(dd[0],dd[1],dd[2],dd[3],dd[4],dd[5],dd[6],dd[7],dd[8],dd[9],dd[10],dd[11],dd[12]);
Expand Down

0 comments on commit e978735

Please sign in to comment.