Add wasm tacle-bench targets
This commit is contained in:
22
targets/wasm-tacle/parallel/PapaBench/sw/include/std.h
Normal file
22
targets/wasm-tacle/parallel/PapaBench/sw/include/std.h
Normal file
@ -0,0 +1,22 @@
|
||||
#ifndef STD_H
|
||||
#define STD_H
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#ifndef FALSE
|
||||
#define FALSE 0
|
||||
#endif
|
||||
#ifndef TRUE
|
||||
#define TRUE (!FALSE)
|
||||
#endif
|
||||
|
||||
typedef uint8_t bool_t; // Boolean values
|
||||
|
||||
#ifndef cbi
|
||||
#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
|
||||
#endif
|
||||
#ifndef sbi
|
||||
#define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))
|
||||
#endif
|
||||
|
||||
#endif /* STD_H */
|
||||
Reference in New Issue
Block a user