Patches for core motion tests

This commit is contained in:
Scott Lahteine
2018-05-24 00:04:47 -05:00
parent 5f8591528e
commit 9644d56b42
4 changed files with 20 additions and 21 deletions

View File

@ -71,7 +71,7 @@
#define TEST(n,b) !!((n)&_BV(b))
#define SBI(n,b) (n |= _BV(b))
#define CBI(n,b) (n &= ~_BV(b))
#define SET_BIT(N,B,TF) do{ if (TF) SBI(N,B); else CBI(N,B); }while(0)
#define SET_BIT_TO(N,B,TF) do{ if (TF) SBI(N,B); else CBI(N,B); }while(0)
#define _BV32(b) (1UL << (b))
#define TEST32(n,b) !!((n)&_BV32(b))