Turn some SimpleFIFO functions into macros