File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -440,12 +440,8 @@ char *alloca();
440
440
#define MAX (a , b ) (((a)>(b))?(a):(b))
441
441
#define MIN (a , b ) (((a)<(b))?(a):(b))
442
442
443
- /* x86 instructions BT, SHL, SHR don't require masking */
444
- #if defined(__GNUC__ ) && (defined(__i386__ ) || defined(__x86_64__ )) || defined(ZEND_WIN32 )
445
- # define ZEND_BIT_TEST (bits , bit ) (((bits)[(bit) / (sizeof((bits)[0])*8)] >> (bit)) & 1)
446
- #else
447
- # define ZEND_BIT_TEST (bits , bit ) (((bits)[(bit) / (sizeof((bits)[0])*8)] >> ((bit) & (sizeof((bits)[0])*8-1))) & 1)
448
- #endif
443
+ #define ZEND_BIT_TEST (bits , bit ) \
444
+ (((bits)[(bit) / (sizeof((bits)[0])*8)] >> ((bit) & (sizeof((bits)[0])*8-1))) & 1)
449
445
450
446
/* We always define a function, even if there's a macro or expression we could
451
447
* alias, so that using it in contexts where we can't make function calls
You can’t perform that action at this time.
0 commit comments