Patches for core motion tests

This commit is contained in:
Scott Lahteine committed 2018-05-24 00:49:01 -05:00
1 parent 5f8591528e
commit 9644d56b42
4 files changed
+20 -21

No files matched your search

+1 -1
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))