Skip to content

Commit

Permalink
disable memcmpne for EMU_AVX2
Browse files Browse the repository at this point in the history
  • Loading branch information
moon-chilled committed Sep 13, 2022
1 parent 7a3945d commit 3045e22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jsrc/je.h
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ extern D xdouble(X);
extern void readlock(S*,S);
extern void writelock(S*,S);
#endif
#if C_AVX2 || EMU_AVX2
#if C_AVX2 //|| EMU_AVX2
extern I memcmpne(void*, void*, I);
#else
#define memcmpne(s,t,l) (!!memcmp((s),(t),(l)))
Expand Down
2 changes: 1 addition & 1 deletion jsrc/v1.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
static B jtmatchsub(J,A,A,B* RESTRICT,I,I,I,I,I);
static F2(jtmatchs);

#if !C_AVX2 && !EMU_AVX2
#if !C_AVX2 //&& !EMU_AVX2

#define MCS(q,af,wf) ((((q>1)+(q>0))<<2)+(af?2:0)+(wf?1:0))
// set *x++ to b1 if *u=*v, b0 otherwise
Expand Down

0 comments on commit 3045e22

Please sign in to comment.